HI guys, I m trying to run one of my test instrumentation from my MonkeyRunner script. Unfortunately I can t get it to work. I ve tried calling MonkeyDevice.instrument with different variations of the parameters but had no luck.
I ve tried
device = MonkeyRunner.waitForConnection() device.instrument("android.test.InstrumentationTestRunner") device.instrument("com.myTestPackage.myTestClass") device.instrument("com.myTestPackage/.myTestClass") device.instrument("myTestClass")
None of these throw and error but they don t run the test either. I can run my instrumentation via Dev Tools or though Android Junit Test so I know it works.
So can someone tell me the correct to use this method? Thanks.