Heaven Zhuhai Branch Rudder note : Originally this series is to prepare a book, details please see the earlier blog "to seek partners to write the deep understanding of Monkeyrunner" books. But for many reasons, there is no wish. So the draft is shared here, so mistakes are unavoidable. If necessary, please refer to the following, the forwarding of the word also keep the end of each article source and other information.
In the framework of Monkeyrunner,
This article was reproduced from: http://www.jb51.net/article/48557.htmFont: [Increase decrease] Type: Reprint time: 2014-03-29 I want to commentThis article mainly describes the Android Monkey command in detail, Monkey is a tool included in the SDK, the tool is mainly used for stress testing, the need for friends can refer to the followingWhat is Monkey?
(basically Android itself provided, such as monkey) is allowed permission issues. Instrumentation m_instrumentation = new Instrumentation (); M_instrumentation.sendkeydownupsync (KeyEvent.KEYCODE_B);For touch Events-can use:The following is a touch event instance:Pozx goes from 0 to screens WIDTH, Pozy goes from 0 to screens Heightm_instrumentation.sendpointersync (motionevent.obtain (Systemclock.uptimemillis (), Systemclock.uptimemillis (), MOTIONEV
) drag (tuple start, tuple end, float Duration, integer steps) startactivity (string URI, string action, string data, String mimetype, iterable categories Dict Ionary Extras, component component, flags), please refer to the API for details.6. Uiautomator-Official (black box test, functional test)-Rating:7Sdk:http://developer.android.com/tools/testing/testing_ui.htmlPro:
You can test situations where you need to switch between different apps.
Official
Preface:
Recently, I started to study Android automated testing methods, and made some simple arrangements for some of the tools, methods, and frameworks, this includes the android testing framework, CTS, Monkey, Monkeyrunner, benchmark, and other test tools. Due to the short contact time and shortcomings in many places, I hope to have more exchanges with you.
1. What is Monkey?
Small monkey Fall time limit:MS | Memory limit:65535 KB Difficulty:3
Describe
There is a binary tree with a maximum depth of D, and all leaves have the same depth. All nodes are numbered 1,2,3,,2 from left to right from top to bottom minus 1 for D-Times. Put a little monkey at the junction 1 and it will run down. Each inner node has a switch, the initial all closed, when a small
This article mainly describes the Android Monkey command in detail, Monkey is a tool included in the SDK, the tool is mainly used for stress testing, the need for friends can refer to the following What is Monkey?Monkey is a tool that comes with the SDK. Second, the purpose of Mon
Here is a monkey test method: Single Module Monkey testThe following is an example of the monkey Directive:[Plain]View Plaincopy
Monkey-s--throttle 450-p com.android.cameraswitch--kill-process-after-error--ignore-timeouts-- IGNORE-SECURITY-EXCEPTIONS-V 10000
This monk
The main description of the Android Monkey command in detail, Monkey is a tool included in the SDK, the tool is mainly used for stress testing:What is Monkey?Monkey is a tool that comes with the SDK.Second, the purpose of Monkey testing?This tool is used for stress testing.
Heaven Zhuhai Branch Rudder note : Originally this series is to prepare a book, details please see the earlier blog "to seek partners to write the deep understanding of Monkeyrunner" books. But for many reasons, there is no wish. So the draft is shared here, so mistakes are unavoidable. If necessary, please refer to the following, the forwarding of the word also keep the end of each article source and other information.
In the framework of Monkeyrunner,
Objective:Android Automated test tools, methodologies, and frameworks, including Android OID test Framework, CTS, Monkey, Monkeyrunner, benchmark, test tool, etc. First, what is MonkeyMonkey is a command-line tool in Android that can be run in the emulator or in the actual device. It sends a pseudo-random user thing flow (such as key input, touch screen input, gesture input, etc.) to the system for stress testing of the application under development.
Practice
Have fun with the little monkey.http://mozhua.aerfaying.com/MProject?id=69369
Reference: Scratch website Create a Virtual Pet
scene
Go to the zoo and play with the little monkey. Not only can be written diary, but also can be made into works oh.
NBSP;
Operation:Click Bananas: Little monkeys come over to eat bananas;Click on the bamboo bed: The little
What is Monkey?Monkey is a command-line tool provided by Google for stability and stress testing.Monkey path:Path:/system/framework/monkey.jarStartup script path:/system/bin/monkey1. First we open the Android simulator first2. Open the local cmd command window3. Enter the command to see if the emulator has a connectionADB devices, which appears as indicated in the connected4. You can then enter the ADB shel
Monkey ToolsObjective:Recently began to study the Android automated test method, some of the tools, methods and frameworks to do some simple collation, including Android test framework, CTS, Monkey, Monkeyrunner, benchmark, other test tool and so on. Because the contact time is very short, many places have the insufficiency, hoped can communicate with everybody.First, what is MonkeyMonkey is a command-line
After the device serial number is obtained, the findattacheddevice is compared to the supplied serial number, and if the match is returned to the caller "code 8-6-3 adbbackend-waitforconnection". The Adbbackend Waitforconnection, after acquiring the device instance, will pass it to the Adbchimpdevice constructor to construct the Adbchimpdevice instance object. Let's see how its constructor is done: adbchimpdevice Public (IDevice device) 69 {This.device = device; This.manager = Createmanager ("12
Label: recursive
Monkey peach
Time Limit: 1000 ms memory limit: 65536 k any questions? Click Here ^_^
The old monkey suffered a long time and left a huge fortune for the group of monkeys-a lot of peaches. The old monkey decided to give the peaches to the little monkey.
When the first
What is Monkey?Monkey is a tool that comes with the SDK.Second, the purpose of Monkey testing?: This tool is used for stress testing. The developer then combines the monkey print logs with the system print logs, and the problems that arise in the outcome test.Three, the characteristics of
What is Monkey?Monkey is a tool that comes with the SDK.Second, the purpose of Monkey testing?: This tool is used for stress testing. The developer then combines the monkey print logs with the system print logs, and the problems that arise in the outcome test.Three, the characteristics of
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.