Note: Moneykey to app button pseudo-random click, only test app stability and robustness, unable to conduct regular testing
1. Installation
A, JDK (not described in detail)
B, install the configuration Android Configuration environment: Android Studio
This environment comes with the SDK, which makes it easy to configure ADB next.
Download the reference stamp for Android studio here
See the SDK path in Android studio in the following ways:
To configure the ADB environment variable:
Vim. Bash_profile Add
android_home=/users/xxx/library/android/sdk (path to SDK)
Export path= $PATH: $ANDROID _home/tools
Export path= $PATH: $ANDROID _home/platform-tools
Enter ' source. Bash_profile ' to save the changes to the environment variable;
Input ' adb ', the adb command parameter explanation, the configuration is successful.
2. Randomly test the relevant app:
A,USB connection to the real machine, ADB devices to see if the link is successful, the following interface is successful:
B. Find the package name of the app installed on your phone:
>> adb shell pm List packages-3//Get the package name of our own installation app;
>>ADB shell pm List Packages | findstr XXX//Get the package name containing XXX information;
>> Q Development;
C. Test the specified app according to the package name
>>adb Shell monkey-p Package name-V number
More commands to reference online information ...
Use Moneykey to test your app for robustness