Mike -
The three subproperties under Step.Result.Error are set by TestStand only if an error occurs when it fails to call a code module, fails to evaluate expressions for parameter passing, or trying to execute the substeps of a step type. Otherwise, TestStand ignores Step.Result.Error unless a code module sets the Step.Result.Error.Occurred boolean property. When set, TestStand sets Step.Result.Status to "Error" and assumes that who ever set the boolean flag, also set the Msg and Code subproperties.
Scott Richardson (NI)
Scott Richardson
https://testeract.com