GetReadyTime Function

Class

GetReadyTime is declared for the Browser window.

Action

Returns the number of seconds it took the application to become ready.

Availability

This functionality is supported only if you are using the Classic Agent. For additional information, refer to the Silk Test Classic Classic Agent Help.

Syntax

rSeconds = object.GetReadyTime ( )
Variable Description
rSeconds The number of seconds. REAL.

Notes

For this function to have any effect, the Agent must be able to determine when your application is ready. With Web applications, the Agent considers the application ready when the current page has completed loading, which the Agent can determine.

Example

REAL rSec
Browser.LoadPage ("http://www.borland.com")
rSec = Browser.GetReadyTime ()
Print ("Ready time: {rSec} seconds")

// Result:
// Ready time: 2.002000 seconds