Close app - operation

  • Android

This operation closes the application on the device.


Please, be careful not to mix this operation up with the Suspend app operation. Close app operation force-closes the application (the application process is no longer running) while the Suspend app operation only soft-closes it (sends it to the background). This means that when the application is opened again, it will not start from the same state as it was before the closure.

To perform this operation in the Suitest Test editor use the Close App line:

Closing the application

To perform this operation in the Suitest JavaScript API use the closeApp command:

await suitest.closeApp();