Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loop for Drop Down menu
#1
Solved: 10 Years, 9 Months ago
I need to record a script for Drop Down box in QTP 8.2. There are number of options in Drop Down menu and I want to use some kind of loop to avoid manual record and playback for each option. Can someone please suggest me what can I do and what is the best way to achieve it.
PS: I am not good in descriptive programming.
Reply
#2
Solved: 10 Years, 9 Months ago
Hey Gupta,

You can use getitemcount() and getitemslist() functions to point to the i'th item in the drop down..give the position as argument..

Regards,
Manu
Reply
#3
Solved: 10 Years, 9 Months ago
Please be clear as to what you want to do ?? what do you mean by "Some kind of loop" ??

IF you want answers you have to supply detailed information. Else...you will have guyz pointing you to a different direction... A mistake not their's but urz...
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
  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,361 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)