Search code examples
androidmonkeyrunner

How to set the startactivity of tapping the application using monkeyrunner?


I am having .apk file which is having n no. of screen..

When i tap the app, screen 1 will display.

So, Here my startActivity is package\.screen1 or is there any way to configure the tapping application in the startActivity


Solution

  • This is the way I have done to open the app using startActivity

    device.startActivity(component='package/.StartPage ')