| || |
ExitRun() not functioning?
I need to exit a script after failure, but exitrun is not being recognized in my script (not bolded by QTP when typed in, not doing anything when run). What am I doing wrong? Seems like I cannot use any of the exit commands or wscript.quit and have them do anything in my test! Frustrating!!
Re: ExitRun() not functioning?
ExitRun does works. You will not see it in bold.
Put this code in your script and see the results:
</font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">MsgBox "Test1"
MsgBox "Test2"</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">You will see only message box as "Test1"