Wednesday, March 27, 2013

Robotium - Run robotium by command line

You can run robotium by command line.
Step 1: Go to path of android sdk ("sdk\platform-tools").  You will see adb. We will run project test with adb.
Step 2: Type command line: adb shell am instrument -w -e class com.example.waitforwebelement.test.MainActivityTest com.example.waitforwebelement.test/android.test.InstrumentationTestRunner

Good luck to you!

No comments:

Post a Comment