Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ExitAction
#1
Not Solved
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?
Reply
#2
Not Solved
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.
Reply
#3
Not Solved
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
Reply
#4
Not Solved Wink 
HI,

We can use any of the below in the conditional statements. It totally depends on the requirements.

1. Exit Action
2. Exit Action Iteration
3. Exit Test
4. Exit Test Iteration

Smile
Reply
#5
Not Solved
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?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Why my ExitAction is not run rk_11 10 6,095 03-12-2010, 04:09 PM
Last Post: rk_11

Forum Jump:


Users browsing this thread: 2 Guest(s)