Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue for capturing dropdown list value
#3
Solved: 10 Years, 9 Months, 4 Weeks ago
Code:
'To Get Only One Value In WebList We Can Use "GetItem"
Browser(..).Page(...).WebList(...).GetItem(1)

'To Get All Values
'To Print  WebList Elements
set B_P_Obj= Browser(" ").Page(" ").WebList(" ")
rc=B_P_Obj.GetROProperty("items count")
For i=1 to rc
    it=B_P_Obj.GetItem(i)
    print(it)

Next
Reply


Messages In This Thread
RE: Issue for capturing dropdown list value - by AnkammaRao - 01-31-2013, 01:17 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Different Type of Dropdown Selector zunebuggy 6 2,897 05-01-2018, 06:46 PM
Last Post: zunebuggy
  Capturing a value in a webtable EK21 4 4,187 08-21-2015, 01:08 AM
Last Post: EK21
  Need help in capturing the Calculator result using QTP 11 vishruth143 0 2,027 01-20-2015, 11:08 AM
Last Post: vishruth143
  Not able to click text inside the grid dropdown szkapoo 6 4,305 12-20-2014, 09:43 PM
Last Post: supputuri
  Issue related to dropdown selection(Please help urgent) excellentpawan123 2 4,068 05-31-2014, 12:00 PM
Last Post: excellentpawan123

Forum Jump:


Users browsing this thread: 1 Guest(s)