TestProject Forum
Powered by leading experts in the test automation community

Remove app from memory

Is there an option to remove an app from memory?
Close or CloseApp commands put it in the background, but I need it not even to be in the background.

Hello @carmelo.gascon
You can use the ADB action, and give it the value pm clear com.my.app.package
Where the com.my.app.package is the package of the application.
Note: This is for android only.

Also adding here: if you want to get the package on the go you can you the ‘Get Package action’ and save it as a parameter.

For Example:

Thank you!!!
Is there a similar option for iOS?

Not at the moment sadly.

Thank you for the info!

Always welcome.

Best Regards, Ran.