I’m creating a test script for an Android app using Java and I am stuck in automating the scenario below which involves redirection from 1 app to another.
- Press a button in App1 which will redirect the user to App2
- Validate fields in App2 and press a button that will return user to App1
- Perform some more tests in App1
My script is failing in Step 2 since the android driver does not recognize the UI elements in App2. Can someone help me in how to handle this?
Thanks a lot!