Abort Command (Run Menu)

Use this command to abort program execution. Aborting a program processes any OnAbort events. If you are in ATEasy code or an ATEasy form, the Abort command will stop the application by calling on the OnAbort events.

The Abort command is enabled only when the test program is being executed.

If you are outside of ATEasy in unresponsive code, for example, a modal Windows dialog box such as a message box or a common Windows dialog box or DLL code which is taking too long to complete, then the Abort command works differently. When you click on Abort the first time, Abort does not appear to respond. You must click Abort a second time. A dialog box displays notifying you that "The application was already Aborted by the user. Do you want to Terminate it." Click Yes. When the next dialog box displays, click OK to terminate (not abort) the application.

Terminating an application is final as opposed to aborting, which is used mainly to ensure that Units Under Tests (UUTs), instruments, and programs are shut down in an orderly manner.

To release the active project DLLs and handles after running, use the Set Active Project Command (File Menu).

For more information, see Abort Events, Reset Command (Run Menu).

Shortcut: Alt+F5