Integrating Monkeyrunner with UI Automator

2019-08-05 07:38发布

问题:

Is it possible to integrate monkey runner with UI Automator. I have imported the Monkeyrunner jar in UI Automator project.But when I run

ant build

Build Fails as it does not recognise any of the Classes. Is their any other method to recognise Monkeyrunner classes in UI Automator Java Project

Thanks in Advance

回答1:

AndroidViewClient supports UiAutomator if present in the device.

The details can be seen on this post: http://dtmilano.blogspot.ca/2012/11/androidviewclient-uiautomator-support.html