Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vb scripting
#4
Not Solved
First get the values available in "Tickets" and "Price" fields

and Multiply both the values and keep in one Variable and Use that value where ever you want

Code:
Dim No_of_Tickets,Price_of_Tickets

No_of_Tickets=Object.getroproperty("value")
Price_of_Tickets=Object.getroproperty("Value")

Result=No_of_Tickets*Price_of_Tickets

msgbox "Price of Tickets"&Result

'You can use this variable as a parameter and pass to your desired place
Reply


Messages In This Thread
Vb scripting - by rahul1234 - 12-31-2009, 12:46 PM
RE: Vb scripting - by upadhyay40 - 12-31-2009, 03:25 PM
RE: Vb scripting - by sreekanth chilam - 12-31-2009, 07:04 PM
RE: Vb scripting - by bfakruddin - 01-04-2010, 12:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Objectless Scripting Sruthe 1 1,455 04-06-2018, 05:09 PM
Last Post: Ankur
  need to check Alert messages in scripting setukaran 2 3,593 11-21-2014, 01:16 AM
Last Post: prs2014
  Vb Scripting Tutorial Payal Sharma 3 8,126 05-16-2012, 05:58 PM
Last Post: Ankesh
  QTP Scripting Unleash Rajesh 7 7,977 06-09-2011, 03:53 PM
Last Post: Unleash Rajesh
  Scripting Angel 2 3,400 11-03-2010, 08:17 PM
Last Post: rajeshwar

Forum Jump:


Users browsing this thread: 2 Guest(s)