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.
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.
Supported Objects and Methods
-
Assert object
-
RunUIcheckpoints object
-
Report method
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");