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 |
how we can do web browser using parametarisation in QTP ?
How can get count of list box?
why we are using environment variables instead of global variables?
How will you handle the situation when object is not captured during record?
In qtp, explain what is qrs file?
Hi All, I have QTP installed on my machine but the application under test (AUT) is on remote desktop.My scenarios is like that,it should contain following steps. 1)Automatically it should click on start and then on remote desktop connection. 2)it should enter the IP address and then connect to remote desktop. 3)and then it should be able to record the application in remote machine and then run it also. Can somebody tell me how to record the application which is in remote machine.
what is a file system object in QTP
How to use Environment parameterization in QTP? Explain with an example.
hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com
How to create an Action Template?
What is the difference between functions and actions in QTP?