Returns a string representing the number of this Test in the Program.
[ sNumber = ] Object.Number
The Number property syntax has the following parts:
Name |
Type |
Description |
Object |
ATest |
ATest object |
sNumber |
BString |
A string representing the number, delimited by dots. |
The format of the string indicates the position of the Test in the Program. For example, 1.2 is under the first Task below Tests and is the second Test below that. This property is read-only at run time only.
The following statement returns the Test Number:
print "Current Test Number: "; Test.Number