Forum Discussion
5 Replies
Sort By
- AlexKarasChampion Level 3Hi Siddhardha,
Could you define more precisely what do you mean as "stop the execution of the program"?
You may use Runner.Stop (see the relevant TC help topic for more details) if you would like to stop the script execution.
If you like to close the tested application, you may write something like Sys.<YourTestedAppProcess>.Close - siddhuContributorHi
Runner.stop is working.
Thanks for your Support - mazhar555ContributorHI, i'm calling a User Form through script extension, on pressing Cancel button i want to stop test script execution but it looks like Runner.Stop does not work in Script Extensions. Any other solution?
Thanks
Hi Muhammad,
To stop the execution of a test, call Runner.Stop from within the event handler for the form's OnHide event. See Handling Events in User Forms for more information.- mazhar555ContributorThanks! its working now.
Related Content
- 7 months agopaarmann-ara
- 9 years agoteak
Recent Discussions
- 2 days agoGane195