Currently I use UIAutomator to perform Android UI testing. Basically, I write Java code, compile it, install the jar, and run.
Suppose the UI test app (read UI operations from xml file) is called AppTester.jar, which is used to test the developed app, called myApp.apk. Then I have to run:
adb shell uiautomator runtest AppTester.jar -c com.uia.example.my.AppTester
Therefore, all tests are done on device, not from terminal, after running adb command.
Now I want to use AndroidViewClient for view comparison somewhere in my existing tests. In order to integrate AndroidViewClient into the existing testing framework, it would be ideal if I could run the script (generated by culebra) even the culebra tool that generates the script in my AppTester.jar program.
Is it possible to do that?