Hi Octavio,
We are trying to use monkeyrunner to automate testing of our Android mobi deployments.
However, we are unable to determine what is the activity name (marked with yellow) and package name (marked with blue) to use when invoking the application 🙁
Any idea?
We used the package name which appear in the Android deployment wizard. Is this the relevant package?
monkeyrunner link:
http://developer.android.com/tools/help/monkeyrunner_concepts.html
# Installs the Android package. Notice that this method returns a boolean, so you can test
# to see if the installation worked.
device.installPackage(‘myproject/bin/MyApplication.apk’)
# sets a variable with the package’s internal name
package = ‘com.example.android.myapplication’
# sets a variable with the name of an Activity in the package
activity = ‘com.example.android.myapplication.MainActivity’
# sets the name of the component to start
runComponent = package + ‘/’ + activity
# Runs the component
device.startActivity(component=runComponent)