Returns the parent task of this test.
[ pTask = ] Object.Task
The Task property syntax has the following parts:
Name |
Type |
Description |
Object |
ATest |
ATest object |
pTask |
ATask |
The parent Task of this Test or Nothing if the Test does not have a parent task |
The following shows how to restart the parent task of this test, for example, after a major problem in the subsytem under test has been fixed:
print "Restarting task "; Test.Task.Id
! reset all tests in the parent task
Test.Task.Reset()
! restart execution at the beginning of the parent task
Task Test.Task