03-24-2006 09:58 AM
03-24-2006 10:59 AM
Hi,
You can get the Number of Steps by getting the size of the array of RunState.Sequence.Main. eg GetNumElements(RunState.Sequence.Main) if you were using the expression browser.
The number of steps executed can be obtained by look at RunState.NumStepsExecuted,
There are other properties you can find in the Help of TestStand under Sequence Context.
Hope this helps
Ray Farmer
03-24-2006 11:02 AM
In the OI code, you can call
ExecutionViewMgr.GetCaptionText(..)
The caption constants that would probably be of the most interest to you are:
CaptionSource_CurrentStepIndex_ZeroBased
CaptionSource_CurrentTestIndex_OneBased
CaptionSource_NumberOfSteps
CaptionSource_NumberOfTests
CaptionSource_SelectedSteps_ZeroBased
CaptionSource_SelectedTests_OneBased