New to QTP: In a qtp flight booking application, I tried to
parameterize the to and from drop down lists using data
table, depending on ur drop down selection it will pop up a
list of flights. Here I am not finding a way to select
flight randomly from given list... Thanks in advance guys.
Answer / a.thirumalareddy@gmail.com
Browser("Find a Flight: Mercury").Page("Find a Flight: Mercury").WebList("fromPort").Select randomnumber.Value(0,9)
Browser("Find a Flight: Mercury").Page("Find a Flight: Mercury").WebList("toPort").Select Randomnumber.Value(0,9)
just use these two steps
randomnumber is used for selecting the values randomly within the given range (here 0,9 because total items are 10)
| Is This Answer Correct ? | 4 Yes | 1 No |
why was automation used in the project?
is it possible to check the text displayed in the tool tip using QTP? if so, how?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
Is it possible to map an image as standard Object or u've to treat as virtual? how to map an Dynamic image into standard object?
can any one tell me how to select some text.i need the script for that
To which environments does a QTP support?
Is it possible to merge two object repository files in qtp?
How to Start recording using QTP?
By using QTP, How do you test a frame in a web page?
suppose i give valid user id and password to open an web base application on qtp.how qtp will know itis a valid user id and password
If requirments changed then how we can teach the QTP this is the new requirment