Number Property (ATest)

Returns a string representing the number of this Test in the Program.

Syntax

[ 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.

Comments

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.

Example

The following statement returns the Test Number:

print "Current Test Number: "; Test.Number

Applies to

ATest

See Also

ATask.Number, Description, ID, Index, Name