ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
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.
 Question Submitted By :: Srini
I also faced this Question!!     Rank Answer Posted By  
 
  Re: 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
# 1
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 ?    2 Yes 1 No
A.thirumalareddy@gmail.com
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
there is 3 flash player buttons does QTP identify them or not else we have to do install anything related that software if we have to install what is that software and how we install it into QTP8.2 GIVE ME EXCAT ANSWER IF U KNOW.  1
give me descriptive programing code sample flight application in qtp? CA4
How to capture data from images in QTP and produce them in Excel sheet ? please ans... Sapient2
Error handling Wipro2
In a webpage how to check the dynamic links that re changing regularly?( without using regular expressions.) Misys3
will QTP accepts javascript? AppLabs14
Are u place all QTP Framework folders in VSS? TCS4
if you run one test script in internetexplorer the same test you run in mozilla ffirefox is it possible or not how is it. Satyam1
Iam doing automation in Oracle App's using QTP? In App's because of some functional setup, keep on changing my script flow. for this how can i use the recovery sceanrio?? Please help me?  1
how do you done Data-driven test using MS-Word Instead of DataTable IBM3
how to load all resource files(function libraries,object repositories etc) into tests without associating them?  1
General Ques : At What State u start Automating ? means at what stage we start writing QTP scripts ?  2
how to get the object property Covansys4
Hello Everyone, I have a problem. QTP is capturing no action on a particular page in the application that I am trying to automate. But on the same side its working fine on other pages of the same application. Can someone please help me understand the reason behind this inconsistency.  1
Using Object Repository is a advantage or disadvantage? Wipro5
in how many ways we can write the user defined functions one way i know that i.e storing it in .vbs another way i does not know my friend said that .qtf or something but start with q letter can any buddy knows about this DigiTech3
What are the problems / difficulties faced when you used Smart Identification ? Keane-India-Ltd1
suppose our project is developed using java technologies.after complition of the coding developer relesed a build to the testing team.so, what is the process means how we open that documents?what are that documents?plz give reply its urgent  2
Per-Action Vs Shared repository?  5
what are SetToProperty, SetROProperty,GetToproperty scripting?  2
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com