TestProject Forum
Powered by leading experts in the test automation community

How can i keep switching between two different apps in my test

i am doing a test where by i have to keep switching between two apps, for a couple of times for example,

Send a request(from my primary testing app) <–> Accept request(Secondary app) --> Primary app and check elements and state

Hi @allan

To switch between two Android apps, you can use the action “Start Activity”. You can also store the current activity before switching to another application and that way, you will be able to return to the same activity where you left off.

Here’s the “Start Activity” action: