from com.android.monkeyrunner import MonkeyRunner,MonkeyDevice, MonkeyImage
package = 'com.ds365.order.test'
activity = 'com.ds365.order.boot_page.activity.SplashActivity'
runComponent = package + '/' + activity
#class test:
# countoftest = 0
# _run = []
#def def __init__(action,run):
# action._run = run
device = MonkeyRunner.waitForConnection()
device.startActivity(component=runComponent