Discussion:
obtaining step number in the report of teststand
(too old to reply)
kpraveen
2008-08-13 05:10:11 UTC
Permalink
when we make  a sequence which has more than hundred steps for testing. After execution it becomes some what difficult to know in the report where we are i.e, at which step we are and which step condition we are checking.What i wanted to know is that is there any way that step numbers are obatined along with the steps in the report when ever we run the sequence.
KristenC
2008-08-14 17:10:13 UTC
Permalink
Hello,&nbsp;You can get the step number from the Step.StepIndex property. (Link to help: <a href="http://zone.ni.com/reference/en-XX/help/370052G-01/tsapiref/reftopics/step_stepindex_p/" target="_blank">http://zone.ni.com/reference/en-XX/help/370052G-01/tsapiref/reftopics/step_stepindex_p/)</a> &nbsp;If you are using TestStand 4.1 you can use the new Additional Results tab to add this value to your report. (More information in the TestStand help: <a href="http://zone.ni.com/reference/en-XX/help/370052G-01/tsref/infotopics/pane_additional_results/" target="_blank">http://zone.ni.com/reference/en-XX/help/370052G-01/tsref/infotopics/pane_additional_results/ </a> &nbsp;If you are using a previous version of TestStand it is a little more complicated to add to the Report, but we have an article that explains the process and has an example.Understanding and Modifying Result Collection<a href="http://zone.ni.com/devzone/cda/tut/p/id/4428" target="_blank">http://zone.ni.com/devzone/cda/tut/p/id/4428 </a> Modifying Result Collection<a href="http://zone.ni.com/devzone/cda/epd/p/id/4621" target="_blank">http://zone.ni.com/devzone/cda/epd/p/id/4621 </a> &nbsp;Let me know if you have any questions.
Loading...