Pause Launch Activity


#1

I’m testing an app where the launch activity is quickly transitioned (~3 seconds) to another activity depending on some server calls and responses. Ideally, I would want Appium to do the following:

  1. Launch the app.
  2. Pause the app activity
  3. Verify the launch activity page.
  4. Resume the app activity
  5. Verify the next page the app goes to.

I haven’t found a way to do this and would like some help/guidance on this.


#2

Nothing can force your app stop on some activity. It is pure behavior of your app.


#3

Yes i would completely agree with @Aleksei, it is not possible to launch the activity, if your app is making an API call or something to launch the homepage i do not think you can pause the activity at all.