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.



New to QTP: In a qtp flight booking application, I tried to parameterize the to and from drop down..

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

Post New Answer

More QTP Interview Questions

What is the meaning Work bench?

0 Answers  


What is the difference between a Test and a Business Component? Is it necessary to use Business Component while testing an application in the real time?

2 Answers  


HI I want to know the detials of QTP certifications such as syllabus, study Materil etc. Can any provide me all these details?? my mail ID is krishnuvk@yahoo.com

0 Answers  


How to identify flash application when the qtp is not identifying the flash application objects.

2 Answers  


write progamming connecting QTP to database sql? this is question asked by interview? pls any answer this?

4 Answers   IBM,






What is the script for database check point, bitmapchek point, regular expression ?

0 Answers  


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

0 Answers   TCS,


What is exact difference between “while” and “do while” in QTP ?

1 Answers  


What are the advantages of a Hybrid framework?

0 Answers  


Could you please explain me about QTP framework.

2 Answers   Oracle,


How did you use regular expressions in QTP and also in WR?

0 Answers  


How to retrieve alpha bate from the alphanumeric string with special character.

7 Answers   ADP, Cap Gemini,


Categories