I’ve been agonizing over this for about a week now; please help.
My eggPlant script performs various automation steps to automate testing on Android. Many of the steps needed can be accomplished through adb shell commands, such as
installing APKs (I need to interact with multiple APKs)
pushing files to device
pulling files from device
performing various checks on specific files within device (such as file size etc)
I used the adb shell commands as explained in http://docs.testplant.com/?q=content/adb-command-support
I tried the examples in the above link (customized of course) but they did not work.
In fact even basic shell commands such as the following don’t work:
set the shellCommand to ShellExecute put shell("dir")
The above failed with exit code 2.
What is going wrong? Please help!