Requirements Property (Read Only)

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

PropertyObjectFile.Requirements

Data Type

PropertyObject

Purpose

Returns the Requirements property for the file. The Links subproperty of the Requirements property is an array of string values that represents the product and unit requirements that the file covers.

Remarks

This property is valid for sequence files, project files, and workspace files. This property returns an error for all other file types.

You can use the following pseudocode to add a new element to the list of requirements:


PropertyObject links = propertyObjectFile.Requirements.GetPropertyObject("Links", 0);
int nextAvailableIndex = links.GetNumElements();
links.SetValStringByOffset(nextAvailableIndex, PropertyOptions.PropOption_InsertElement, "REQ_ABC");


See Also

PropertyObject

Sequence.Requirements

Step.Requirements

WAS THIS ARTICLE HELPFUL?

Not Helpful