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?
|
ExitAction
|
|
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.
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
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
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? |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
|
|
Why my ExitAction is not run | rk_11 | 10 | 7,102 |
03-12-2010, 04:09 PM Last Post: rk_11 |
Users browsing this thread: 1 Guest(s)

