Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Weblist selection
#7
Solved: 11 Years, 5 Months, 1 Week ago
Try the below one,

Code:
Browser("").Page("").Weblist("customertype").Select Randomnumber(0,1)      'If you are having 2 dropdown value,QTP will select random one from that two value

wait 1

r=browser("").Page("").Weblist("customertype").GetROProperty("value")
if r="wholesaler" Then

steps

elseIf r="retailer"

steps

end if
Reply


Messages In This Thread
Weblist selection - by diya - 11-20-2012, 09:48 PM
RE: Weblist selection - by ManualTester - 11-20-2012, 11:00 PM
RE: Weblist selection - by ManualTester - 11-21-2012, 12:16 AM
RE: Weblist selection - by diya - 11-21-2012, 01:48 AM
RE: Weblist selection - by ManualTester - 11-21-2012, 06:38 PM
RE: Weblist selection - by diya - 11-21-2012, 09:11 PM
RE: Weblist selection - by diya - 11-21-2012, 12:02 AM
RE: Weblist selection - by kalaivanan123 - 11-21-2012, 07:04 PM
RE: Weblist selection - by ManualTester - 11-21-2012, 09:35 PM
RE: Weblist selection - by imzeeshan - 11-22-2012, 03:07 AM
RE: Weblist selection - by ManualTester - 11-22-2012, 10:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  WEBLIST shayk1985 3 5,705 05-17-2018, 11:49 AM
Last Post: Ankur
  Issue related to dropdown selection(Please help urgent) excellentpawan123 2 4,344 05-31-2014, 12:00 PM
Last Post: excellentpawan123
  Comparing webtable data with weblist and webelements in other webpage arnav 1 5,900 04-18-2014, 10:01 PM
Last Post: Parke
  Selection of sub menu in Windows Desktop application Shilpa859 0 2,474 10-17-2013, 06:39 PM
Last Post: Shilpa859
  Combo Box selection issue Shkumari 11 12,983 09-26-2013, 03:56 PM
Last Post: learnQtptips

Forum Jump:


Users browsing this thread: 1 Guest(s)