Posts: 281
Threads: 116
Joined: Oct 2010
Reputation:
0
04-21-2011, 11:22 PM
I have an If...Then... ElseIf...Else statement. When my ElseIf statemebnt is executed, I do not want my script to end. To end the If...Them statement, can I use ExitAction? I have been reading on the blog that it does. But my ExitAction exits the script like the ExitTest call. Or is ExitAction only for certain calls like the Do loop?
Posts: 350
Threads: 2
Joined: Mar 2008
Reputation:
0
04-21-2011, 11:55 PM
HI,
ExitAction: Exits the current action.
ExitActionIteration: Exits the current iteration of the action.
ExitTest: Exits the entire test.
ExitTestIteration: Exits the current iteration of the test.
Posts: 281
Threads: 116
Joined: Oct 2010
Reputation:
0
04-22-2011, 12:03 AM
I have read and seen this here in a blog. thx
I figured that in my If..Then thast I did not need the ExitAction. When I did use the ExitAction, it kicked me completly out of the test. I thought it would only kick me out of the If statement.
I guess the ExitAction is for exiting functions or Do loops. Not If statements.
thx
Posts: 107
Threads: 9
Joined: Apr 2011
Reputation:
0
04-26-2011, 10:07 PM
Hi..ur IF Else is within a loop?
if not..do you really need to perform elseif check when you want to actually exit?
Can u plz post that full code?