12-10-2010, 12:45 PM
Hi All ,
I need to stop my execution as soon as conditions is fullfilled. Tried this way:
but whenever I write down Exit Run or even Exit Test there comes a syntax error saying invalid Exit statement. I tried to put this code in all the function files of my framework and even in actions but the result is same.
Can anyone help me out in this?
I need to stop my execution as soon as conditions is fullfilled. Tried this way:
Code:
If Condition = True then
Msgbox "Execution will stop after this."
Exit Run
End if
but whenever I write down Exit Run or even Exit Test there comes a syntax error saying invalid Exit statement. I tried to put this code in all the function files of my framework and even in actions but the result is same.
Can anyone help me out in this?