Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can we parameterize drop down list values?
#1
Solved: 11 Years, 4 Months ago
can we parameterize drop down list values?
Reply
#2
Solved: 11 Years, 4 Months ago
Yes you definitely can.
Reply
#3
Solved: 11 Years, 4 Months ago
how to use all the values from the drop down list
Reply
#4
Solved: 11 Years, 4 Months ago
'For Combo Box

Code:
co=window("Flight Reservation").WinComboBox("Fly From:").GetItemsCount
msgbox co

For i=0 to co-1

    val=window("Flight Reservation").WinComboBox("Fly From:").GetItem(i)
    print val
    
Next

' For WinList/Dropdown List
Code:
itco=dialog("Flights Table").WinList("From").GetItemsCount
msgbox itco

For i=0 to itco-1

    val=dialog("Flights Table").WinList("From").GetItem(i)
    msgbox val

Next
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to verify the drop down values based on condition santhoshmscsoftware 1 2,906 05-04-2016, 11:28 PM
Last Post: supputuri
  Drag and drop issue excellentpawan123 0 2,744 01-13-2015, 05:04 PM
Last Post: excellentpawan123
  Drop down list class is a link thotamurali 2 4,171 08-22-2014, 05:48 PM
Last Post: thotamurali
  parameterize Excel Sheet Name in SQL bjitsidhu 0 2,909 07-20-2014, 08:34 AM
Last Post: bjitsidhu
  Selecting values from drop down using QTP. prempujaripati 2 46,753 06-26-2014, 06:06 PM
Last Post: rasmirani

Forum Jump:


Users browsing this thread: 1 Guest(s)