Application - test subject

The Application test subject represents the application under test.


Usage

Currently the application subject has a single purpose - to check if the application has exited.

In Test Editor:

Assert that the application has been closed
Assert that the application has been closed

In the Suitest JavaScript API use the application subject:

await suitest.assert.application().hasExited();

Xbox One, Tizen & Orsay do not offer any native means to check if a particular application is running. Therefore Suitest will check if the connection from the instrumentation library has been permanently closed and if yes assume that the application has been closed. In this case it may take up to 90 seconds to process this command.