The current ATest object result.
Variant Public
The TestResult variable contains the measurement result of the current Test as set by the test code. This value is used to determine the status of the test after the test code is executed.
ATEasy initializes the TestResult at the beginning of each test before calling the OnInitTest to vtEmpty. At the end of the test and before OnEndTest is called, ATEasy uses the TestResult to determine and set the test status. If the TestResult is empty (vtEmpty), then the TestStatus is left as is (as None, if the test did not set it directly). In all other cases, the value is compared against the requirements as set by the test type.
When running multiple UUTs the TestResult variable holds the current UUT log. Each execution thread have its own TestResult variable.
The following example uses the TestResult to set the test result:
DMM Measure (TestResult)
AProgram.Status, ATest, ATest.Result, Log, TestRefResult, TestStatus