Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loop for Drop Down menu
#1
Solved: 11 Years, 4 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: 11 Years, 4 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: 11 Years, 4 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,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
  Selecting values from drop down using QTP. prempujaripati 2 46,746 06-26-2014, 06:06 PM
Last Post: rasmirani
  issue in drag and drop excellentpawan123 0 2,322 05-15-2014, 04:36 PM
Last Post: excellentpawan123
  Drop Down menu loses value ATestani 2 2,561 01-28-2014, 10:04 PM
Last Post: ATestani

Forum Jump:


Users browsing this thread: 1 Guest(s)