01-10-2006 04:33 PM
01-11-2006 10:04 AM
10Things,
Every step will automatically include every subproperty inside of the Step.Result property, a subset of the properties in the Step.TS property, and occasionally other step specific properties such as limits.
For your case I would recommend to add the subproperty under the Step.Result property.
This is the recommended method to use when creating custom step types. While editing the type, you cand add the step property directly.
The advantage of this is that all step instances will automatically have this property created very easily.
Be sure to select the IncludeInReport flag to ensure the property is copied to the ResultList.
If you do not want to put the step properties under the Step.Result property object you can use the 'Execution.AddExtraResult' API method to automatically copy the property to the ResultList based on its name.
This methos usually is called as an ActiveX step inside of the process model or added in a Model callback in a sequence file. By placing this step in the process model all the sequences that use this model will automatically have the marked properties added to the ResultList. The default TestStand process mdels call this method to automatically add Step.Limits and Step.ComparisonType to the report.
Hope this helps.
Antonio Lie.