GetReadyTime is declared for the Browser window.
Returns the number of seconds it took the application to become ready.
This functionality is supported only if you are using the Classic Agent. For additional information, refer to the Silk Test Classic Classic Agent Help.
rSeconds = object.GetReadyTime ( )
Variable | Description |
---|---|
rSeconds | The number of seconds. REAL. |
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.
REAL rSec Browser.LoadPage ("http://www.borland.com") rSec = Browser.GetReadyTime () Print ("Ready time: {rSec} seconds") // Result: // Ready time: 2.002000 seconds