Android Stress Test Procedure

Source: Internet
Author: User

From: http://blog.csdn.net/freash/article/details/6646724

An instance tested by monkey

 

Through this example, we can understand the monkey test steps and how to know which applications can be tested with monkey.

In Windows (Note: Step 2-4 is to check which application packages can be tested, which can be omitted ):

1. Start an android emulator through eclipse

2. Enter ADB devices in the command line to view the device connection status.

 

C: \ Documents ents and Settings \ Administrator> ADB devices // operation

List of devices attached

Emulator-5554 Device

 

3. If a device is connected, enter ADB shell in the command line to enter the Shell Interface.

C: \ Documents ents and Settings \ Administrator> ADB shell // action

#

4. view the application packages in the data/data folder. Note: All the application packages we can test are in this directory.

C: \ Documents ents and Settings \ Administrator> ADB Shell

# Ls data/Data // operation

 

Ls data/Data

Com. Google. Android. btrouter

Com. Android. providers. Telephony

Com. Android. MMS

Com. Android. providers. downloads

Com. Android. Alibaba clock

Com. Android. Email

Com. Android. providers. Media

Com. Android. Settings

JP. co. omronsoft. openwnn

Com. Android. providers. userdictionary

Com. Android. quicksearchbox

Com. Android. protips

Com. Android. Browser

Com. Android. Launcher

Com. Android. Term

Com. Android. speechrecorder

Com. Android. server. VPN

Com. Android. defcontainer

Com. svox. Pico

Com. Android. customlocale

Com. Android. Development

Com. Android. soundrecorder

Com. Android. providers. DRM

Com. Android. spare_parts

Com. Android. providers. Downloads. UI

Com. Android. Fallback

Com. Android. providers. Applications

Com. Android. netspeed

Com. Android. wallpaper. livepicker

Android. TTS

Com.android.html Viewer

Com. Android. Music

Com. Android. certinstaller

Com. Android. inputmethod. Pinyin

Com. Android. providers. subscribedfeeds

Com. Android. inputmethod. Latin

Com. Android. Gallery

Com. Android. systemui

Com. Android. Contacts

Com. Android. Phone

Com. Android. sdksetup

Com. Android. calculator2

Com. Android. packageinstaller

Com. Android. Camera

Com. Android. providers. Settings

Com. thestore. Main

Com. Android. providers. Contacts

Monkeytest with COM. Android. calculator2 as the object

# Monkey-P com. Android. calculator2-V 500 // operation

-P indicates the object package-V indicates the number of events.

During the running process, the applications in the emulator are constantly switching the screen.

Based on the selected feedback information of different levels, you can also see the execution process report and generated events in the monkey.

Note: For specific parameter settings, refer to the android help documentation:

Http://developer.android.com/guide/developing/tools/monkey.html

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.