Not able to Restart/relaunch Android/iOS app in my test

Hi All,

My requirement is to Restart or relaunch app after every test case so that app launches in fresh state for every test case.

In Selenium this can be done by passing below driver Command for both iOS and Android:

 driver.terminateApp("packageName"); *//this terminates the active app*
 driver.activateApp("packageName"); *// this relaunch the app in fresh state*

how to do this in UiPath, please let me know if any one has done this.

@phaserescu Could you please help me on this.

You can use Activities - Manage Current App and/or Activities - Manage Other App

1 Like

Thanks for the solution.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.