I am using Xamarin UI Test for my Android test project, I would like to know the possibility of removing the application once my tests are completed? ( In a Tear down method )
are you talking about locally or in TestCloud?
I don't know about the magic that happens in TestCloud, but locally you can run a cmd.
> adb uninstall my.app.name
If you want to set the application to an initial state, for Xamarin Test Cloud only you can use the following:
For iOS to uninstall the app locally in the emulator between each test I use:
var uninstallProcess = System.Diagnostics.Process.Start("xcrun", "simctl uninstall booted com.bcycle.mobileapp");
For Android, it must be something similar, running the adb process as Chase suggested.
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies