Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Selecting a value from a Dropdown
#11
Not Solved
No, There is a click on the weblist i had added. Did you try or you were still waiting for my answer?
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
#12
Not Solved
Hi,

I tried to it but no luck.


Hi,

Yes i tried your code but still no luck.
Reply
#13
Not Solved
Interesting. Let me know if the msgbox returns the count at any point of time?
Code:
Do
    browser().page().weblist().Click  
    wait 1
    oItems = browser().page().weblist().GetROProperty("items count")
      msgbox oItems
    If oItems <> 0 then
       browser().page().weblist().click
       browser().page().weblist().select(4)
      Exit Do
    End If
    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


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

Forum Jump:


Users browsing this thread: 1 Guest(s)