Used to find out whether an automatic test is currently run or not.
Remark: The automatic tests can be run on the windows, classes or procedures only.
IF InAutomaticTestMode() = True THEN
Trace("CustomerNum variable: " + CustomerNum)
<Result> = InAutomaticTestMode()
- True if an automatic test is currently run,
- False otherwise.
Availability of the function
InAutomaticTestMode can be used in all IDEs to allow for cross-platform code. Functions or procedures that use InAutomaticTestMode can be shared between several products without generating any compilation error.
Business / UI classification: Neutral code