Property Paths

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

A property path is a chain of period-delimited subproperties that selects a particular subproperty of an object. A property path typically specifies the location of a property or variable in the active sequence context. For example, the active sequence context contains the Station Globals object, which contains a TS property that holds the current User object. To refer to the current User object, use the StationGlobals.TS.CurrentUser property path.

You can use the sequence context and property paths to access variables and step properties in expressions and through calls to the TestStand API from code modules.

You can specify a complete path, regardless of the length or complexity of the path, when all of the elements in the path are dynamic properties. For example, to specify the error code in the third step of the Main step group of the currently executing sequence, use the following path:

"RunState.Sequence.Main[2].Result.Error.Code"


See Also

Sequence Context

WAS THIS ARTICLE HELPFUL?

Not Helpful