11-08-2010 05:06 PM
Hello All,
I am having a problem with RunState.PreviousStep.Result.PassFail variable. It is continue to read as fail when the previous step was shown as pass on the screen. I also get the same problem when accessing the Result.PassFail using the step ID instead of previous step.
Why is the variable wrong? What can I do to fix it? Thanks.
Solved! Go to Solution.
11-09-2010 09:04 AM - edited 11-09-2010 09:04 AM
I suspect the problem is that your pass/fail step is looping and the final status is not directly reflected by the property you are checking. You should use the precondition builder (the buttons near the precondition expression) for the precondition expression instead. It has predefined preconditions for things like a particular step passing or failing. It checks the Result.Status of the step rather than the property you are currently looking at.
-Doug