Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selecting a value from a Dropdown
#8
Not Solved
Ok, Try this,

Code:
i=0
Do
    browser().page().weblist().Click  
    oItems = browser().page().weblist().GetROProperty("items count")
    If oItems <> 0 then
       browser().page().weblist().click
       browser().page().weblist().select(4)
      Exit Do
    End If
wait 1
i=i+1
Loop Until oItems <> 0 or i>20
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: Selecting a value from a Dropdown - by basanth27 - 06-07-2013, 07:22 AM
RE: Selecting a value from a Dropdown - by ssvali - 06-07-2013, 11:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Different Type of Dropdown Selector zunebuggy 6 3,429 05-01-2018, 06:46 PM
Last Post: zunebuggy
  QTP not selecting appropriate webelement from the webtable..Need Solution satishkumarm 11 21,640 03-23-2016, 12:47 PM
Last Post: Swetha_Bayya
  Not able to click text inside the grid dropdown szkapoo 6 4,655 12-20-2014, 09:43 PM
Last Post: supputuri
  Selecting values from drop down using QTP. prempujaripati 2 46,768 06-26-2014, 06:06 PM
Last Post: rasmirani
  Issue related to dropdown selection(Please help urgent) excellentpawan123 2 4,293 05-31-2014, 12:00 PM
Last Post: excellentpawan123

Forum Jump:


Users browsing this thread: 2 Guest(s)