Checkpoint Object

Relevant for: API testing only

Description

Accesses the current activity's checkpoint properties.

Note: This object is only accessible when using the OnCodeCheckpointEvent event.

Back to top

Syntax

args.Checkpoint.<supported object/method>

Note: You must use the args object before the Checkpoint object to access the selected activity's checkpoint properties.

Back to top

Supported Objects and Methods

  • Assert object

  • RunUIcheckpoints object

  • Report method

Back to top

Examples

args.Checkpoint.RunUICheckpoints = true;
if (args.Checkpoint.Assert.Equals(this.ConcatenateStringsActivity4.Result))
    this.ConcatenateStringsActivity4.Report(ConcatenateStringsActivity4.Result, "Passed");
else
    this.ConcatenateStringsActivity4.Report(ConcatenateStringsActivity4.Result, "Failed");

Back to top