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
iam have done mba(finance)in 2008. in 2008 one reputed consultancy came off campus interview our institution. i got job as "manual test engineer". now iam working as "manual testing engineer". now my problem is when iam going interview the interviewer asking like " ur mba gradute how can u get job in test engineer." this question i have faced every interview. iam explaining how iam getting job. but they are not trust me". pls tell me answer how i am giving relavent ans.. this is my mail id y.ramana84@gmail.com
Hybrid framework supports Descriptive programming. Is it true?
Key word driven framework
Explain the difference between call to action and copy action?
What is the difference in testing a client-server application and a web application?
I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?
what r the main attributes of test automation?
How to use descriptive programming?
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
What are the different recording modes and how do they work?
how to convert 100 into hundred repees only and viceversa
How do you do batch testing in wr & is it possible to do in qtp, if so explain?
Hi,All How to create a link in excel sheet using qtp
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question