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
How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?
write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script
Through array we can execute the testcase how ? give me example
How you can write contexts to text file in qtp?
Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji
What is expert view and keyword view?
hi nani my doubt is how does qtp process metrix related to software process.
Is QTP supports Unix. If yes, then how the test automation is done?
Have you used xml check point in your project?
What is the recovery scenario in qtp?
What are the steps involved in recovery scenario wizard?
What is checking bitmaps?
What test you perform mostly? Regression or retesting in your testing process?
explain how to write vb script in qtp?when will you write own script?
Hi, can explain the draw back of manual testing.plz send me the answer to my mail id deepthip1985@gmail.com