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
When to Insert transactions in QTP?
 Question Submitted By :: Saratqa
I also faced this Question!!     Rank Answer Posted By  
 
  Re: When to Insert transactions in QTP?
Answer
# 1
we use the transaction point in QTP to find out execution 
time of the script(vb script)by using the start transaction 
and end transaction points
 note:Transactions can be defined only for tests. 
Components cannot include transactions. 
Example:
        Services.StartTransaction "ReserveSeat" 

Browser("Welcome: Mercury Tours").Page("Find a Flight: 
Mercury").WebList("fromPort").Select "London" 

Browser("Welcome: Mercury Tours").Page("Find a Flight: 
Mercury").WebList("toPort").Select "Frankfurt" 

Browser("Welcome: Mercury Tours").Page("Find a Flight: 
Mercury").WebList("toDay").Select "12" 

Browser("Welcome: Mercury Tours").Page("Find a Flight: 
Mercury").WebRadioGroup("servClass").Select "Business" 

Browser("Welcome: Mercury Tours").Page("Find a Flight: 
Mercury").WebList("airline").Select "Blue Skies Airlines" 

Browser("Welcome: Mercury Tours").Page("Find a Flight: 
Mercury").Image("findFlights").Click 65,12 

Browser("Welcome: Mercury Tours").Page("Select a Flight: 
Mercury").WebRadioGroup("outFlight").Select "Blue Skies 
Airlines" 

Browser("Welcome: Mercury Tours").Page("Select a Flight: 
Mercury").WebRadioGroup("inFlight").Select "Blue Skies 
Airlines" 

Browser("Welcome: Mercury Tours").Page("Select a Flight: 
Mercury").Image("reserveFlights").Click 46,8 

Services.EndTransaction "ReserveSeat" 

plz menction if any wrong is there in the answer
 
Is This Answer Correct ?    3 Yes 1 No
Sridhar Reddy
 
  Re: When to Insert transactions in QTP?
Answer
# 2
By using transctions we can find how much time taken for 
the script exection.
 if we are start the script we can add start transction
 ; services .start transections
 if end exection for the script
 you can add services.end transctions
 
Is This Answer Correct ?    3 Yes 0 No
Ramarao
 
 
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What is the use of Testing framework in Automated testing..what are different kinds of Testing frameworks available in Automated testing... IBM1
Is QTP a compiler or interpreter..? can you we execute a QTP Script file in a another system which does not have QTP installed..?? Virtusa4
how to invoke the web application through script in qtp Synechron5
can we install qtp on server machine and do automation of application which is installed on client machine.If yes then how? If no then is there any other automation tool for this (client-server) senario.  4
How to use Environment parameterization in QTP? Explain with an example.  1
What is the Limitations of Testing ? TCS3
Tell me few important difference Between QTP and WinRunner? TCS8
I had created the new virtual objects for web application buttons. how to add those virtual objects into object repository. Previously i had used Gui map in winrunner for capturing virtual objects for web application. Please help me regarding this. need your answer quickly  1
How will u test content of an web application with out using chechpoints in QTP 9.2? CTS3
what is the difference between an Action and a function in real time  3
This is the script generated by qtp plz can anyone write the same script using descriptive programming plzzzz guys do answer. Browser("orkut - login").Page("orkut - login").WebEdit ("Email").Set "rgovard" Browser("orkut - login").Page("orkut - login").WebEdit ("Passwd").SetSecure "47525d8be4926ea2f6e96b9a3f7472b6ae38" Browser("orkut - login").Page("orkut - login").WebButton ("Sign in").Click Browser("orkut - login").Page("orkut - home").Link ("Logout").Click Browser("orkut - login").Page("orkut - login").Sync Browser("orkut - login").Close  5
How to get all the objects count and objects names in webpage using QTP ?  3
can we install qtp in windows vista  1
Hello! i am having two comboboxes.Each having 10 items in it.when i select first item in first combobox,it is not similar in the second combobox.for ex in first combo if it is Hyderabad,in second it should be some chenai or some other item .Write a VBSCRIPT for that? Tech-Mahindra2
hw to create a frame work in qtp..what are the basic steps Infosys1
Will QTP gets installed on virtual PC.What is the maintenance number to be given  1
What is source control?  1
How do we run the scripts in QTP ?? what are the three options.... HCL3
Can we do Load Testing with QTP?  4
After the execution of a script how do u upload the results to Quality Center. Pls anyone explain in detail. It is very urgent._______Thanks a lot!! ABC2
 
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