12-11-2014 01:47 PM
Hi,
hello to eveone as this is my first question in forum and new to TestStand 2013. I am trying to modify existing teststand program and want to reduce number of iteration from 3 to 1 . But currently status expression box in step setting-> properties - expression is grayed out and looks I can't modified previously written expression there. what should I do? Current expression is
(Step.Result.Status == "Done" && (Step.TS.SData.ThreadOpt == 0 || Step.TS.SData.ThreadOpt == 3)) ? "Passed" : Step.Result.Status and I want to change 3 to 1(only one iteration).
Regards,
Amitabh Bhachhan
12-11-2014 02:49 PM
What kind of a step is this?
The default status expression is defined in the step definition in the type palette. If this is a native step then you don't want to change it. You want to create your own step type and re-define the status.
If a step type is written well, you should be able to change those values through the edit substep.
If you are absolutely, postively sure you want to change it without creating a new step type then you can use the API to do so.
Can you give us more detail? We will be able to better help you.
Thanks,
12-17-2014 10:02 AM
@Amitabh_Bachhan wrote:
Hi,
hello to eveone as this is my first question in forum and new to TestStand 2013. I am trying to modify existing teststand program and want to reduce number of iteration from 3 to 1 . But currently status expression box in step setting-> properties - expression is grayed out and looks I can't modified previously written expression there. what should I do? Current expression is
(Step.Result.Status == "Done" && (Step.TS.SData.ThreadOpt == 0 || Step.TS.SData.ThreadOpt == 3)) ? "Passed" : Step.Result.Status and I want to change 3 to 1(only one iteration).
Regards,
Amitabh Bhachhan
How does editing the status expression help you change the number of iterations? I think you are misunderstanding the purpose and implementation of this expression. The 3 in the above expression has nothing to do with number of iterations.
-Doug