I have an application that launches an activity right after a call ends. I would like to write an automatic test that makes sure that:
- it actually launches
- if some other activity pops up after my activity got activated (e.g. yet another call or sms), as soon as this new activity is finished by user, my activity will be shown again (unless the user clicks "home" button or something.
I had a look on Robotium and Roboelectric frameworks but couldn't really find an answer if it is at all doable.