Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How To Find Dropdown Object based on Values from the dropdown list
#9
Solved: 10 Years, 9 Months ago
Other simple way is to provide the xpath till the option and then click.

Code:
Browser("Browser").Page("Page1").WebElement("xpath:=//selct[@id="your list box id"]/option[contains(.,'list item')]").click
Hope this is helpful.
Thanks,
SUpputuri
Reply


Messages In This Thread
RE: How To Find Dropdown Object based on Values from the dropdown list - by supputuri - 10-29-2016, 09:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how to select value from google search box dropdown +QTP prajyot 0 2,673 06-28-2017, 06:30 PM
Last Post: prajyot
  Trying to create List box in excel sheet at Run time with values yes No JACKSPARROW 0 1,594 01-17-2017, 11:05 AM
Last Post: JACKSPARROW
  General Object Error(Find Object Error) akhandesh 1 3,416 02-24-2016, 01:05 PM
Last Post: sindhus
  Compare second web list value according to the first web list value roselin6 1 2,652 10-07-2015, 09:14 PM
Last Post: supputuri
  Problem selecting in a dropdown menu during playback. qemls29 9 12,458 07-28-2015, 05:44 PM
Last Post: Sharan

Forum Jump:


Users browsing this thread: 1 Guest(s)