|
|
Rank: Newbie Groups: Member
Joined: 2/8/2010 Posts: 2 Points: 6 Location: india
|
hi Everyone.
i have a query regarding the Response times the tool reports.
I observed the tool reporting two numbers in the 'Run-log', one shows up under the page and another for the task or button being clicked. What do these times signify? Are these page load times ?
Do i need to append the command 'Wait untill the page is loaded' to actual click command, for getting the page load time ?
Thanks in advance.
Regards, Dileep
|
|
Rank: Advanced Member Groups: Member
Joined: 2/14/2008 Posts: 56 Points: 168 Location: San Francisco
|
Hi Dileep,
The number that is displayed in the Run Log 'Duration' column signifies the time it took to execute that element. For example for a web page it is the page load time and for page elements like a HTML button it is the duration it took to execute the click handler. For page elements the duration is usually very short but on pages that use for example Ajax calls or extensive client side scripting this duration can give you valuable performace information. Please let us know if you have any further questions!
|
|
Rank: Newbie Groups: Member
Joined: 2/8/2010 Posts: 2 Points: 6 Location: india
|
Hello,
Thanks for the information provided.
May i know what would be the difference between a normal page load time number and when a 'wait untill page is loaded' command is added to the script?
Thanks, Dileep
|
|
Rank: Advanced Member Groups: Member
Joined: 2/14/2008 Posts: 56 Points: 168 Location: San Francisco
|
Hi Dileep, The command: Browser(1).Tools.WaitUntilPageLoaded will cause WebReplay to wait with the execution until the browser sends a 'document-complete' event and the web page is done loading. Most commonly the recorded web page element has the Page Property 'Wait For Page Load' = True, which does exactly the same thing as the WaitUntilPageLoaded command, it waits for the web page to load before continuing execution. In most cases you don't need to add a WaitUntilPageLoaded command but in some cases when using custom scripting the WaitUntilPageLoaded command comes in handy.
|
|
|
Guest |