Close app - operation

  • Android
  • Apple iPhone / iPad (iOS)
  • Apple iOS Simulator
  • Apple TV (tvOS)
  • Apple tvOS Simulator
  • Browsers
  • LG webOS
  • PlayStation 4/5
  • Roku
  • Samsung Tizen
  • Vizio SmartCast
  • Xbox (One, Series X/S)
  • Xfinity (Comcast)

Not supported on

  • HbbTV / Freeview Play

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();