Ad Home

Theme images by kelvinjay. Powered by Blogger.

Travel

Header Ads

Java

Selenium

UFT

Framework

General QA Concept

BDD

» » how we can meausre the time required for each component to execute in QTP

Recently i got a question on how we can meausre the time required for each component to execute...



In the head of the script...

Dim StartTime, EndTime
StartTime = Timer

....your code

EndTime = Timer


In the last line of the script component...

TimeIt = EndTime - StartTime

This "TimeIt" will give you the time required to execute the particular component.This is applicable to any script not only to component.

«
Next
Newer Post
»
Previous
Older Post

No comments:

Leave a Reply