Suspend app - operation

  • Android

This operation suspends the application on the device.

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

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

Suspending the application

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

await suitest.suspendApp();