Posts: 6
Threads: 2
Joined: Nov 2009
Reputation:
0
03-12-2010, 02:54 PM
Hi Friends,
I see ExitAction statement in my code is not working. I see during my debugging the flow is going through this "ExitAction" statement. but its not doing anything there. why does it happen.
I observed it working 1 or 2 times earlier. there is no change in the code for this. plzzzzzz help me.
Posts: 189
Threads: 0
Joined: Jul 2009
Reputation:
1
03-12-2010, 03:01 PM
Whats the error you are getting?
Posts: 6
Threads: 2
Joined: Nov 2009
Reputation:
0
03-12-2010, 03:04 PM
i'm not getting any error. But its just running through the statement. didn't understand how can it pass through not executing it.
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
03-12-2010, 03:05 PM
I think you are trying in the test, if so use 'ExitTest'.
Posts: 6
Threads: 2
Joined: Nov 2009
Reputation:
0
03-12-2010, 03:10 PM
Hi Saket,
Thanks for the reply. Exittest would exit out of the entire test. I want to only exit from action ( this is a call to exit from a re-usable action )
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
03-12-2010, 03:11 PM
Can you paste your lines of codes?
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
03-12-2010, 03:24 PM
does only 'ExitAction' without argument( return value) work?
Posts: 1,199
Threads: 5
Joined: Nov 2008
Reputation:
0
03-12-2010, 04:02 PM
No this is critical. I am not able to understand why it is not working here.
it should work if you are calling this in an action.
have you tried this in a fresh action? I mean create an action put the exitAction statement there and call the action in a Test.
let me know if that works.