Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


When to Insert transactions in QTP?

Answers were Sorted based on User's Feedback



When to Insert transactions in QTP?..

Answer / sridhar reddy

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 ?    15 Yes 4 No

When to Insert transactions in QTP?..

Answer / ramarao

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 ?    11 Yes 4 No

When to Insert transactions in QTP?..

Answer / kiran pakki

Hi All,

Can i use the start and end transitions for scripted component? I using BTP for SAP application testing. I want to use these transactions for to test the performance of my events. If not what is alternative.

Could any please answer ASAP.

Thanks in advance..
Regards
Kiran Pakki

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

How can i get QTP 9.2 software or any webside where i can download ? can anyone help me out , i want to be expert in QTP ,but i don't have the software

3 Answers  


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

0 Answers  


how to test power point using QTP 8.2 ? What are different methods to retrieve value from Application during runtime ?

3 Answers   HCL,


How would you export a script from one pc to another in qtp?

0 Answers  


Can we record an application running on a remote machine using qtp?

0 Answers  


What is the Difference between copy to action and call to action?

0 Answers  


DIFFERENCE BETWEEN WR 8.2 & QTP 8.2? HOW TO INTEGRATE WITH SOME OTHER TOOLS?

1 Answers   CTS, Maveric,


whai is meant by automation testing?

6 Answers  


What is the need and applications of learning VB script for a automation(QTP) engineer ain Realtime ?

2 Answers  


I open login gmail page after that QTP is not able to identify the object present in it then what u will do

3 Answers   Accenture,


how to generate numbers in between to numbers suppose numbers in between 500 to 1000 in sequencies using vbscript

1 Answers  


How to Close all browsers in reverse order.

3 Answers   Marlabs,


Categories