setStartedAt method

Class: BatchInfo Platform: Puppeteer Language: JavaScript SDK:

Use this method to set the date and time that will be displayed in the Test Manager as the start time of the batch.

Syntax

let value = batchInfo.setStartedAt(startedAt_date);

let value = batchInfo.setStartedAt(startedAt_str);
batchInfo.startedAt = value;
value = batchInfo.startedAt;

Note that this feature is available as both a method and a property.

Parameters

startedAt_date
Type: Date

The date and time that will be displayed in the Test Manager as the batch start time.

startedAt_str
Type: string

The date and time that will be displayed in the Test Manager as the batch start time.

batchinfo.startedat.pdescr_string

Return value

Type: BatchInfo