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