Gets the elapsed time of the current active timing.
Namespace: Facilita.Fc.RuntimeAssembly: fc_clr (in fc_clr.dll) Version: 9.5.7.98
Syntax
public int GetTimingElapsedTime( VirtualUserScript script = null )
Parameters
- script (Optional)
- Type: Facilita.Fc.Runtime VirtualUserScript
The currently executing VirtualUserScript.
Return Value
The elapsed time of the timing, in milliseconds.Remarks
Examples
StartTiming("Timing1"); // do activity if (GetTimingElapsedTime() > 5000) { SetProgressPoint("Activity > 5 Seconds"); } // do more activity EndTiming("Timing1");
See Also