Action is executed regardless????
I am calling an Action2 from Action 1
Here is the code i have on Action 1
<font class="small">Code:</font><hr /><pre>
If Q = "abc" Then
Done = RunAction ("Action 2", oneIteration, inputdata)
Reporter.ReportEvent micDone, "Verification completed", "specified field validation is complete"
seems like regardless if Q=abc or not .. the action2 does get executed. Currently action2 is listed as a reusable action.
Seems like there is something i am missing here, how can i restrict the action to only execute when the condition is true ..
Re: Action is executed regardless????
You're either calling it from someplace else or Q does indeed equal "abc".
Have you tried running it step by step with a watch on Q?