Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How To Find Dropdown Object based on Values from the dropdown list
#7
Solved: 10 Years, 9 Months, 1 Week ago
Hi Neetha,

Here is code for your Question
Code:
allitems = split(browser().page().WebList().getRoProperty("all items"), ";")

for each x in allitems
if instr(x, "100") > 0 Then
browser().page().WebList().select x
strFound = True
Exit For
next

if strFound = True Then
msgbox "I tem is listed in the list box and selected"
Else
msgbox "Item is not listed in the list box"
end if
Reply


Messages In This Thread
RE: How To Find Dropdown Object based on Values from the dropdown list - by kotaramamohana - 08-11-2015, 08:31 PM

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,597 01-17-2017, 11:05 AM
Last Post: JACKSPARROW
  General Object Error(Find Object Error) akhandesh 1 3,420 02-24-2016, 01:05 PM
Last Post: sindhus
  Compare second web list value according to the first web list value roselin6 1 2,655 10-07-2015, 09:14 PM
Last Post: supputuri
  Problem selecting in a dropdown menu during playback. qemls29 9 12,477 07-28-2015, 05:44 PM
Last Post: Sharan

Forum Jump:


Users browsing this thread: 1 Guest(s)