Is there any simplified way for the below scenario?

I have 50 test cases, for eg- Login, sign up, forgot password…etc, etc for a mobile application. I have created a test suite by including above all. On running the test suite, for each test case my application installation happens. It is very time consuming when it happens repetitively for each test case. Is there any alternative way to keep the app logged in and running each test case without installing the app again and again?

1 Like

You can run an existing app. See documentation below. Obviously you’ll then need to think about the state of the app (eg log out at end of test if required etc)

@archana0393 Have you tried using startExistingApplication() instead of startApplication()?
Or use startApplication(‘app path’, false) to disable uninstall after every test case