IsPartialRun Statement
Supported on UFT One versions 2021 R1 and later.
Description
Returns a value to indicate whether UFT One started a run or debug session from a specified step in the script or from the beginning of the script.
Syntax
IsPartialRun
Return Value
A Boolean.
True: Indicates that UFT One started a run or debug session from a specified step.
False: Indicates that UFT One started a run or debug session from the beginning of the script.
In the following example, UFT One captures a screenshot if it ran your test from a specified step in the script.
If IsPartialRun Then
Desktop.CaptureBitmap "D:\image.png", true
End If
See also:
- CallServiceTest Statement
- CreateObject64 Statement
- DescribeResult Statement
- ExecuteFile Statement
- ExitAction Statement
- ExitActionIteration Statement
- ExitComponent Statement
- ExitComponentIteration Statement
- ExitTest Statement
- ExitTestIteration Statement
- GetLastError Statement
- InvokeApplication Statement
- IsPartialRun Statement
- LoadAndRunAction Statement
- LoadFunctionLibrary Statement
- ManualStep Statement
- Print Statement
- RegisterUserFunc Statement
- RunAPITest Statement
- SetLastError Statement
- UnregisterUserFunc Statement
- Wait Statement