beautypg.com

Cycle, Testrun, Date and time functions – MTS Multipurpose Elite User Manual

Page 222: Testcreationdate

background image

Syntax

Block[blockName, Index].variable

Parameters

blockName

Cycle

Returns

Accesses the variable in cycles.

Syntax

Cycle[Index].variable

TestRun

Returns

Accesses the variable across test runs.

Syntax

TestRun[Index].variable

Date and Time Functions

This section provides reference information for date and time functions.

The DatePattern and TimePattern depend upon your Windows settings in the Format tab for your region.

TestCreationDate

Returns

Returns the creation date of the test.

Syntax

TestCreationDate([ datePattern])

Parameters

datePattern—Formats the date according to the specified pattern. For example, “d” is a short date pattern
(MM/dd/yyyy); “D” is a long date pattern (dddd, MMMM dd, yyyy).

Detailed date and time pattern format specifier information is available from the MSDN resources Web
site.

222 | MTS TestSuite

Working with Variables