Sunday 24 November 2013

What is the use of start transaction in QTP?

In QTP you will find one option called start/end transaction.

Transactions in qtp  are used to calculate the time required to perform the given operation
You can start the transaction using below syntax

Example on Transactions in QTP

Services.StartTransaction "transfer"
a = 2
b = a+2
'do some more opertions

Services.EndTransaction "transfer"

Once the transaction is complete, total time required to execute the transaction is logged in the QTP results automatically.




Please give your inputs, suggestions, feedback to Us about above QTP topic. We value your thoughts.

No comments:

Post a Comment

Please Leave your reply. We value your feedback and inputs

Best QTP Books

Everything About QTP

Hello Friends,
You can find QTP study material, Multiple choice questions (mcq), QTP question bank, QTP question papers, QTP notes, QTP questionnaire, scenario based QTP interview questions, QTP tutorial and QTP training on this site.

If you are a fresher or experienced QTP professional with (1/2/3/4) years of experience, this blog is just for you.