Parent Object

Relevant for: API testing only

Description

Accesses the parent activity for a selected activity.

Syntax

this.<activity>.Parent.<supported method>
this.<activity>.Context.Parent.<supported method>

Note: Using the Context object here enables you to access the run-time context of the selected activity and parent activity.

Supported Methods

  • Activities object

  • Comment object

  • Context object

  • EnableReporting object

  • GetParentLoop

  • GetRootLoop

  • Name object

  • Report method

  • StepEndedAt object

  • StepId object

Example

string ParentName = this.ConcatenateStringsActivity5.Parent.Name