Test_Attributes_All
- Updated2025-07-21
- 2 minute(s) read
Test_Attributes_All
Syntax
int Test_Attributes_All (CAObjHandle UUTHandle, CAObjHandle stationInfo, CAObjHandle context, CAObjHandle optionsHandle, CAObjHandle stepResult, BSTR *bstrStr)
Return Value
Indicates whether an error occurred in the exported function. A value of 0 indicates that no error occurred. Any negative value indicates that an error has occurred.
Purpose
Modifies and returns the XML attributes for the <TestResults>/<ResultSet>/<Test> element.
Remarks
If the extension mechanism DLL implements and exports this function, the report generator adds to the report the content the bstrStr parameter specifies as a result of calling this function. If the extension mechanism DLL does not implement and export this function, the report generator generates report text for the attributes of the <Test> element depending on the data in TestStand variables when sequence file execution completes.
Parameters
- UUTHandle —References a TestStand PropertyObject of type UUT .
- stationInfo —References a TestStand PropertyObject of type NI_StationInfo .
- context —References a TestStand PropertyObject of type Sequence Context .
- optionsHandle —References a TestStand PropertyObject of type ReportOptions .
- stepResult —References a TestStand PropertyObject of type Result . This reference refers to a result that a step in the executed sequence file returns.
- bstrStr —An [In] value specifies a string that specifies the report text, depending on the data in TestStand variables when sequence file execution completes, that contains all the attribute-value pairs concatenated for the <Test> element. An [Out] value specifies a string that the function returns upon execution and that specifies the modified report text that contains all the attribute-value pairs concatenated for the <Test> element.