Hi,
How to give drop down values as input [Variable] from data
table in QTP?
If u know share with me.
Answer Posted / xyz
Firstly go to the first row
r = datatable.getsheet(1).rowcount
for i=0 to r-1
datatable.getsheet(1).setcurrentrow(i)
Browser().page().weblist().select(datatable.Value("Name",1))
This is for single select
If you want to enable multiselect property then
Browser().page().weblist().multiselect= 2
datatable.getsheet(1).setcurrentrow(i+1)
Browser().page().weblist().extendselect(datatable.Value("Name",1))
datatable.getsheet(1).setcurrentrow(i+2)
Browser().page().weblist().extendselect(datatable.Value("Name",1))
next
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What kind of performance is expected on the client side (e.g., how fast should pages appear, how fast should animations, applets, etc. load and run)?
after initiating one project for testing, when exacltly QTP tester role starts?
hou can we use vb script in qtp could u tell me breafly
How you can replace string in qtp?
What is the Difference between test object and run time object?
What should we say if interviewer asks "What is ur project architecture?".......Can any one help me with clear information.?????????
how interviews will be on QTP?
Is qtp supports uni-code?
Pls can anyone give me the entire code for the Keyword driven framework with respect to he Flight Reservation Window in detail with explanation. Pls explain in detail stepwise. Thanks a lot. Pls very urgent?.
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
Hi All, I need code for how to execute qtp scripts from excell sheet
what is the hierarchy to use properties in descriptive programming
Can launch two instances of qtp on the same machine?
How to creating an output value using quicktest professional?
how can i pass a "cript"as a parameter in to a function