Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to select dynamic checkbox from web dropdown
#3
Solved: 10 Years, 4 Months ago
Here is what i did.
Code:
Function xx()
Dim yy
yy=Array("1","2","3"...., "19")
Randomize
SelectedProperty=yy(Int(Rnd*19))
Print("selected:"&SelectedProperty)
xx=SelectedProperty
End Function

I call this function in my script. Everytime the script is run it chooses the random property from the list.
Reply


Messages In This Thread
RE: How to select dynamic checkbox from web dropdown - by QA_Newbie - 07-20-2014, 09:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Help with Select checkbox from data table value jayraocourts 0 1,244 11-01-2019, 10:25 PM
Last Post: jayraocourts
Sad How To Find Dropdown Object based on Values from the dropdown list mesg2anil 12 34,043 12-19-2017, 10:25 PM
Last Post: sandy2404
  how to select value from google search box dropdown +QTP prajyot 0 2,897 06-28-2017, 06:30 PM
Last Post: prajyot
Sad Click checkbox using its label name. venkatesh9032 1 3,182 08-10-2015, 10:33 PM
Last Post: kotaramamohana
  Problem selecting in a dropdown menu during playback. qemls29 9 13,029 07-28-2015, 05:44 PM
Last Post: Sharan

Forum Jump:


Users browsing this thread: 3 Guest(s)