Android compatibility test

Source: Internet
Author: User

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)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.