- http://code.google.com/p/robotium/
- http://stackoverflow.com/search?q=robotium
- http://bbs.51testing.com/thread-283893-1-1.html
- How to resign the Android APK
- 白箱黑箱測試
- RobotiumForPreInstalledApps
- How do I run Robotium tests from the command line
2011年3月17日 星期四
Robotium資源
在文字的世界裡尋找心靈的共鳴,遠山藍以溫柔的筆觸分享書籍的力量與生活的智慧。無論是細膩的書評、深刻的人生感悟,還是技術與創新的新奇發現,每篇文章都是一次內心的療癒旅程。希望透過閱讀,帶領讀者在忙碌的生活中找到一片寧靜與啟發。讓我們一起,在書香中遇見更好的自己!
How do I run Robotium tests from the command line
By using this command:
adb shell am instrument -w com.android.foo/android.test.InstrumentationTestRunner
Reference:
http://code.google.com/p/robotium/wiki/QuestionsAndAnswers
adb shell am instrument -w com.android.foo/android.test.InstrumentationTestRunner
Reference:
http://code.google.com/p/robotium/wiki/QuestionsAndAnswers
在文字的世界裡尋找心靈的共鳴,遠山藍以溫柔的筆觸分享書籍的力量與生活的智慧。無論是細膩的書評、深刻的人生感悟,還是技術與創新的新奇發現,每篇文章都是一次內心的療癒旅程。希望透過閱讀,帶領讀者在忙碌的生活中找到一片寧靜與啟發。讓我們一起,在書香中遇見更好的自己!
RobotiumForPreInstalledApps
- Log in as root: adb root
- Remount: adb remount
- adb pull /system/app/X.apk (Replace X with the name of the application)
- Resign X.apk so that it has the same certificate signing as the test project (測試APK的sign需與被測試APK的sign一致。)
- adb pull /data/system/packages.xml
- Open packages.xml and remove:
..... - Push packages.xml back to device: adb push packages.xml /data/system
- Restart your device
- Push the resigned X.apk back to the device: adb push X.apk /system/app
Reference:
http://code.google.com/p/robotium/wiki/RobotiumForPreInstalledApps
在文字的世界裡尋找心靈的共鳴,遠山藍以溫柔的筆觸分享書籍的力量與生活的智慧。無論是細膩的書評、深刻的人生感悟,還是技術與創新的新奇發現,每篇文章都是一次內心的療癒旅程。希望透過閱讀,帶領讀者在忙碌的生活中找到一片寧靜與啟發。讓我們一起,在書香中遇見更好的自己!
訂閱:
文章 (Atom)