How can I call uiautomator api directly in Android project? -


i directly call uiautomator api in android application achieve automated testing.

to able uidevice reference (which guess want) need

// initialize uidevice instance mdevice = uidevice.getinstance(getinstrumentation()); 

and instrumentation have running tests adb won't able activity.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

java - How to resolve The method toString() in the type Object is not applicable for the arguments (InputStream) -