Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Drop down box issue
#1
Solved: 10 Years, 9 Months ago
Hi All

How to set a loop to get all the drop down box values of my drop down box while running the test ?

(i am recorded for select one value)

Thanks
Reply
#2
Solved: 10 Years, 9 Months ago
if you can paste your lines of code then we can help with your code itself

Reply
#3
Solved: 10 Years, 9 Months ago
Thank for reply

This is some part of my code , second row select value from drop down box ,there are some more values in that drop down box , what i want is to select and test all the other drop down values in same running iteration.

Code:
With .Frame("loginTopFrame_3")
  ==>        .WebList("accSelect").Select "060101"
        .WebList("SDay").Select "10"
        .WebList("SMonth").Select "03"

Thank in advance
Reply
#4
Solved: 10 Years, 9 Months ago
Try this
Code:
With .Frame("loginTopFrame_3")
       'Get the number of items in the weblist
       nCnt = .WebList("accSelect").GetROProperty("items count")
       For i = 1 to ncnt
           'Get Item
    sItem = Browser("Yardi Systems, Inc. -").Page("Yardi Systems, Inc. -").Frame("filter").WebList("chooseApp").GetItem(i)
    .WebList("accSelect").Select sItem
      Next

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Drag and drop issue excellentpawan123 0 2,595 01-13-2015, 05:04 PM
Last Post: excellentpawan123
  Drop down list class is a link thotamurali 2 3,962 08-22-2014, 05:48 PM
Last Post: thotamurali
  Selecting values from drop down using QTP. prempujaripati 2 46,362 06-26-2014, 06:06 PM
Last Post: rasmirani
  issue in drag and drop excellentpawan123 0 2,201 05-15-2014, 04:36 PM
Last Post: excellentpawan123
  Drop Down menu loses value ATestani 2 2,391 01-28-2014, 10:04 PM
Last Post: ATestani

Forum Jump:


Users browsing this thread: 1 Guest(s)