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 Posted / 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 |
Post New Answer View All Answers
What are the advantages of qtp?
What is quicktest professional window?
Explain advantages and disadvantages of ddf?
your coming from electrical backgroung..but y ur coming to software side?
what is the latest version of QTP? Main difference between 9.2 and 10 version
Why do we use breakpoints in QTP?
If I change the property value at runtime is it effect is object repository?
Explain calling sub procedure.
Can you brief the hurdles you faced during Automation testing?
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
What is the standard timing delay for web based application in qtp?
Why we load add-ins in qtp?
How do we analyze the checkpoint results?
Hi All, How to Compare two strings character by character in QTP
I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?