Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Flight Selection in Mercury Windows Appln
#8
Solved: 10 Years, 9 Months, 4 Weeks ago
Msgbox varname should help. Arent you able to see it ?

Try this,
Code:
itemCount = Window("Flight Reservation").Dialog("Flights Table").WinList("From").GetROProperty("items count")
msgbox itemCount

a = RandomNumber(0, itemCount)
msgbox a
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Messages In This Thread
RE: Flight Selection in Mercury Windows Appln - by basanth27 - 08-14-2009, 07:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT 12.53 trial version not recognizing its sample flight application login/password NehaRB 2 3,653 10-07-2016, 06:49 PM
Last Post: pradeep537
  Path of Flight reservation Window is not recorded in HP UFT 12.52 version mailtokopalverma@gmail.com 1 2,414 04-01-2016, 05:34 PM
Last Post: vinod123
  Weblist selection diya 11 20,585 06-16-2015, 08:27 PM
Last Post: rajpradeep32
  Issue related to dropdown selection(Please help urgent) excellentpawan123 2 4,064 05-31-2014, 12:00 PM
Last Post: excellentpawan123
  Selection of sub menu in Windows Desktop application Shilpa859 0 2,290 10-17-2013, 06:39 PM
Last Post: Shilpa859

Forum Jump:


Users browsing this thread: 1 Guest(s)