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                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
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
Login to flight app, in window flight reservation set the 
date field and select flyfrom as Frankfurt and verify 
whether flyto list box has the item FrankFurt, log the 
results.
 Question Submitted By :: Bharat Kumar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: Login to flight app, in window flight reservation set the date field and select flyfrom as Frankfurt and verify whether flyto list box has the item FrankFurt, log the results.
Answer
# 1
Hi,

  If u select "FrankFurt" in FlyFrom, u don't find it again 
in FlyTo drop down.

 If u want to verify that ...

First generate the script statemnt to select FrankFurt in 
FlyFrom fileld.

FlyFromcount= Dialog("Login").window("Flight 
Reservation").wincombobox("FlyFrom").getitemscount()

For example if count returns 8, after selecting Frankfurt 
from FlyFrom dropdown, now find the items count from FlyTo 
dropdown, it will be (count-1), it will be 7 now.

Dialog("Login").window("Flight Reservation").wincombobox
("FlyFrom").select "FrankFurt"

FlyTocount= Dialog("Login").window("Flight 
Reservation").wincombobox("FlyTo").getitemscount()

now if u want to verify if FrankFurt is still there or not

for i=o to FlyTocount-1
  
  value = Dialog("Login").window("Flight 
Reservation").wincombobox("FlyTo").getitem(i)

If value = "FrankFurt"

  msgbox "FrankFurt exists in FlyTo dropdown"
  
  else

  msgbox "FrankFurt doesn't exist in FlyTo dropdown"

End If
 
Is This Answer Correct ?    0 Yes 0 No
Raju
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
Explain about the Test Fusion Report of QTP ? Ordain-Solutions1
What are the details steps to connect a remote mysql database in QTP Verizon1
Thanks Rag... One more question, How we test the dynamic images which frequently changed?Using the bitmap checkpoint r any other options available.... Can u give the steps pls... Thanks  1
When I start recording any web application (either Mozilla or IE) QTP recognizes window instead of browser and also it does not show all the hierarchy tree of that particular web page. 1. Window("Mozilla Firefox").Check CheckPoint("Mozilla Firefox") 2. As everybody knows it should be browser("Mozilla Firefox").Check CheckPoint("Mozilla Firefox") I am using the windows vista, do you think it may be a problem of my settings in QTP or problem of my installation. Your kind responses will be appreciated. Thanks in advance. Satya  7
Hi .. i want to write the script for the combo nox list . For example if any combo box having a multipul itme. So how can i retrive each item for each iteration ? help me out .  2
In our application (Web based application)we will get a pdf file and we have check a particular text in that pdf. Can any one tell how to check text in a pdf file. In the same pdf file it generating some links and I have to click that links. QTP unable recognizing that links, even id did record and playback qtp does not generating any script. Can any one help me….?  5
How will u test content of an web application with out using chechpoints in QTP 9.2? CTS3
dar Sir I am Facing th eProblem in QTP thet ,when I start thrcording inthe QTP for the ASP front end and C# the Coding Language I fing that recording is Done well for the Login screen but at the Time Running the script the QTP is Unable to Identify the Objects On the Objec Onht eLigin screen .Please answer the Question in Description and the Propables reason I might be facing alsp the Popable solution I have to Take thanks and ragards  1
How to test login page by using QTP  5
what type automation is fofollowed in the project? Satyam1
What is Object Spy in QTP? vsworx10
what is smart identification in qtp? pls any give details? thanks in advance IBM3
hi. I Am working in Small IT company as Test Engineer. But am looking for change. I have 2+yrs experience, but my problem is MCA 72%, remaining all are Second Division. plz give solution for my problem.am elgible for MNC's or not. if not plz give suggestion............ already i forwarded my resume to lot of MNC's but. I didn,t get CAL............ plz give any suggestion.  3
Can any body tell me what is the method to connect the remote desk top throw QTP 9.2 version?  1
setroproperty and getroproperty difference Ordain-Solutions3
what is the difference between action and function BirlaSoft8
what is vmodel?advantages and disadvantages of vmodel? AZTEC3
QTP is used better in which type of application Web based application or desktop application  2
what testing activities u may want to automate?  2
-->IF two TextBOxes are there in a "Form". -->A table contains some records which contains usernames & password.. -->What is the script we need to write using Descriptive programming concept...in QTP (simply DATA DRIVEN TEST SCRIPT OF QTP)? CTS3
 
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