Posts: 1
Threads: 1
Joined: Sep 2008
Reputation:
0
05-12-2009, 07:49 AM
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.
Posts: 2
Threads: 0
Joined: Jul 2009
Reputation:
0
07-04-2009, 07:07 AM
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
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
07-05-2009, 05:35 PM
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.