Http://www.51testing.com /? Uid-489243-action-viewspace-itemid-810534
During this time, I saw some related topics with my friends.Mobile phoneTestThe automation methodFunction TestingCompared with mobile phone testing in recent years, the demand for mobile phone testing is getting higher and higher, and the technical requirements are getting higher and higher. We can expect mobile phone automation in the near future,Performance TestingWill become the focus.
FirstAndroidSystem hardware compatibility testing tool CTS (compatibility
TestSuite) leaves some memory.
First, we need to obtain CTS and the corresponding Android SDK. You can download it here.
Set the environment variable sdk_root. Then run the APK required for installation on the terminal, $ ADB install-r/home/HELEN/Android-CTS/Repository/testcases/ctsdelegatingaccessibilityservice.apk, (depending on the CTS placement path .) You need to select the corresponding options in setting compatibility.
Then we started the test. Input start-plan cts. We mainly use the test plan that comes with CTS. We can also use the following common commands:
Cts_host> ls-P --- view the currently available use case package
Cts_host> ls-plan --- view the currently available test plan
Cts_host> Start-plan Android-P Android. app --- only run a test case package, saving time
Cts_host> Start-plan Android-P Android. app-T Android. App. CTS. alertdialogtest # testalertdialog --- only run a specific use case in a use case package
The final test result report is generated in the Android-CTS/Repository/results/<start time> file (<start
Time> is the test start time ).
In the CTS test, hardware connection and hardware loss are the most common problems. If you are interested, you can develop the test case (mainly for Android derivative systems)