Skip to main content

SeeTestAutomation - CloseAllApplications

info

Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .

info

This is supported on iOS and Andoird 5.0+.

Description

This command kills all the background processes, closing all the applications that are currently running on the device.

Foreground application will close and you will be returned to the home screen. Background running applications will close. 

Note that this command does not clear the Recent Apps view.

Code Examples

Java Example

 client.closeAllApplications();

C# Example Expand source

 client.CloseAllApplications();

VBScript Example Expand source

 client.CloseAllApplications 

Python Example Expand source

 self.client.closeAllApplications()

Perl Example Expand source

 $client->closeAllApplications();