How to handle an Android app that invokes an another app (ola)


I’m new to appium testing (Android). Here is scenario where we can link an app.


  1. Launch an App A.
  2. Up on clicking on Link an account, App B (OLA app) will be launched.
  3. After successful login, linking will be successful and control will be navigated to back to app B.

Once clicking on the link, Ola app is launching. But from here after I am unable to proceed.
Control is not on OLA app to enter email, password and click on Login.

Please help me how handle this situation. An app invoking an another app and handling it.

Thanks in Advance…

You can watch this video. It shows how to switch between two applications. :