StartTime Property (ATest) |
Version 7 |
Returns the time that this test started.
[ dateStart = ] Object.StartTime
The StartTime property syntax has the following parts:
Name |
Type |
Description |
Object |
ATest |
ATest object |
dateStart |
DateTime |
A floating number (Double) specifying the time that this test started. |
The following code fragment from the OnInitTest event of the program aborts the application if this test is starting after a hard deadline:
if Test.StartTime > m_dtmDeadline
print "*** Test "; Test.Name; " failed to start before deadline ***"
Abort
endif
EndTime, DataTime data type, SDate, STime, FormatDateTime, ParseDateTime, VarChangeType