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 get the particular property value?
Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
I want to capture data(using keyword) from msdos application using QTP?... Below is little work i could do on it... /* Set app=CreateObject("Wscript.shell") SystemUtil.run ("C:\Users\Agent\Desktop\pumpsim\PUMPSIM.EXE") Window(“PUMPSIM.EXE”).Activate wait(3) app.sendkeys "N" */ Thanks in advance...!!!
How to use parameterization in qtp?
Who uses qtp tool?
How to handle dynamic objects in quicktest professional (qtp)?
when a test case is written how u test using qtp
How many ways we can parameterize data in quicktest professional (qtp)?
Where you are storing your script?
images are dynamically changes how to compare two images with out using the bitmap
Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.
Why we load add-ins in qtp?
I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.
what are the critical test cases in crm? tell me atleast 5 critical test cases? what are the critical bug u find out while testing crm domain?