I'm a little hungry today, so I'm a little lazy, send some of my notes before.
The 1.ADB Android Debug Bridge tool connects PC devices and Android devices to enable PC-to-Android operation
Common commands:
ADB install package name. APK Installation
ADB Shell enters ADB
Su
Grant root privileges in blue fingers
ADB Kill-service end ADB service
ADB start-service open ADB service
ADB Uninstall com.xs.cn Uninstall
* * adb logcat grasping Android system log
Filtering method: adb logcat *:e Error level Log
: adb logcat *:w warning level above log (both warning and error)
ADB logcat *:w >> c:\log.txt redirect logs above the warning level to the Log.txt document under C drive
2.monkey tool simulates random user event flow
**MONKEY-P Package Name-V 1000 shows the log of the execution process (Monkey tool command can be added three-v depending on verbosity)
1000 times on this bag.
MONKEY-P Package Name-V emulation number-s seed
Parameter-S seed Example: Monkey-p package name-V 1000-s 200 take the first 200 hits as a seed, the next execution can be the same as the 200 times to keep the same click
Add: 1, adb shell | grep Cn.xs
2, adb shell dumpsys meminfo Check Memory usage
3. Phone ANR Application Not responding
The event is unresponsive for more than 5 seconds, and the ANR event
/adta/data under
4.app Test points:
Install load: Power off restart uninstall after reload memory insufficient power
Compatibility and adaptation: Anti-virus software Cloud test system version phone models and so on
Network usage, environment, Stability: Carrier network and WiFi switching
Upgrade test: Power off restart Uninstall and reload memory low
Cross-interference: After the call information, the application of the operation of the switch charge button, etc.
Transfer of program Data
Stability
Safety
Special: Stability Monkey Tool (performance)
Safety
Security: Release version to verify that the installation package is not signed
Command: Jarsigner-verify-verbose-certs apk name
Account security: Password must be ciphertext transmission ciphertext display ciphertext storage.
Whether anti-compilation contains sensitive information
Financial classes with their own input method
If the application supports multi-party login, be prompted
5. Interface Testing
HTTP interface Test: Validation of an originating request
JMeter: Test Plan Add Thread Group Add HTTP request Add view result tree (can add response assertion)
Using JMeter for HTTP interface testing this post contains pictures (2016-03-18 20:51:51) reprinted