uiautomator

Learn about uiautomator, we have the largest and most updated uiautomator information on alibabacloud.com

Android Automation Framework

then found within the current view, and the coordinates of the control's center point are computed based on the control's property information, and an Android input event is constructed to enable automated testing of the application. The main features are: The test code and the application are running in their respective processes, independent of each other. Its representative has uiautomator. The other is based on the instrumentation, by putting the

A letter to the netizen Wonderfei (for details about how to choose an automation framework). For details about wonderfei, see

learn the frameworks to determine which one or more of them are suitable for our projects, maybe I will write a formal summary ).According to your requirements, MonkeyRunner and Robotium should not be considered, but I still want to tell you that Robotium is actually quite good, if you do not consider cross-process calls to other apps. As for MonkeyRunner, I don't recommend much, you can refer to a comment I gave to instructor Jin sunshine, replying to MonkenRunner's methods and suggestions for

Baidu Mobile application Quality Management and data analysis (mobile testing framework)

is the new feature and interface. The entire MTC2.0 version provides seven large test resolution capabilities in automated testing, including script functional testing, compatibility testing, security testing, performance testing, network testing, traversal testing, and script recording. Each test function corresponds to a different function and test, but it is indispensable. script function test: refers to the custom script in the cloud real-machine playback, support Robotium, Appium and

Appium Start Run log analysis

5977b8a3 Install "C:\Program Files (x86) \appium\node_ modules\appium\build\settings_apk\settings_apk-debug.apk "Install unlock.apk to test equipment > Info: [debug] pushing unlock helper app to device...> info: [Debug] Executing Cmd:d:\software\ad T-bundle-windows-x86_64-20140321\sdk\platform-tools\adb.exe-s 5977b8a3 Install "C:\Program Files (x86) \appium\node_ modules\appium\build\unlock_apk\unlock_apk-debug.apk "> info:starting app> info: [Debug] attempting to kill all '

Appium Android Bootstrap source code analysis

Appium Android Bootstrap source code analysis This article will assume the role of introduction in the series and will not analyze any code. It will only give you a Basic impression, it is convenient for you to analyze it with yourself on the basis of your impression.1. Bootstrap definition and role in Appium. Let's take a look at a high-level architecture diagram I prepared when I first came into contact with appium about a month ago. The following section shows the location of bootstrap in b

Appium Android Bootstrap Source Analysis control androidelement

Through the previous article "Appium Android Bootstrap Source Analysis " We have a preliminary understanding of the definition of bootstrap and its location in Appium and Uiautomator, So according to the normal way of writing the book, the next chapter should be to see how bootstrap set up the socket to get the data and how to deal with it. But I don't think this is going to be very good, because the whole article is going to be very lengthy, because

Uiautomatorviewer for App Control

OfThe Android SDK provides the following tools to support our UI Automation testing: Uiautomatorviewer: A GUI tool for scanning and analyzing UI controls for Android applications. Uiautomator: A Java library that includes creating tests and executing automated test APIs. Google Uiautomator docs: http://android.toolib.net/tools/help/uiautomator/index.html To use t

Robotium cross-process operations based on ADB framework

object through the class Name, Id, Contentdesc and other properties. The underlying is the XML file that is used by Uiautomator to dump the current UI XML file, which can be obtained to all object nodes.Xuxu.autotest.utils This package mainly provides the operation of the date datetime, imageutil the operation of the picture and the operation of the regular expression and shell statements, convenient for everyone to use. In general, the overall frame

The bootstrap of Appium frame

(Idle to have nothing to do, do the test.) Recently got to get appium, feel very interesting, in-depth study of the next.Look at the younger brother before this article, first understand the architecture of appium, for your understanding is good, recommend this article: TesterhomeAppium is open source project, can obtain source code: Appium-masterImporting with Maven in Eclipse will find 2 items: Bootstrap and Sauce_appium_junit.Sauce_appium_junit is a collection of test cases that help you lear

The simplest practice of cross-process operations in Robotium in history -- Based on the ADB framework, robotiumadb

, disable the application, and click an object. The other class is XuImage. as its name implies, it encapsulates some common image operations, such as obtaining images with the specified boundary, comparing images with the same image, and capturing images. Xuxu. autotest. the element package is mainly used to obtain the object to be tested. It encapsulates a Position object and is used to obtain a tested object through attributes such as Class Name, Id, and Contentdesc, at the underlying layer,

Appuim Source Analysis (Bootstrap)

connection and then execute commands on the mobile device. The result of the command execution is collected at the end of the HTTP response.The following is my Appuim Android platform under the architectural schematic diagram, iOS is similar, but the bootstrap part is replaced by instruments, Uiautomator replaced by UIAutomation.The following two figures refer to the testerhome ppt of the Appuim Android and iOS platform under the Data flow chart.Amon

2014 easy-to-use open-source Android testing Tools

2014 easy-to-use open source Android test tools-open source China community There is a big trend to move to mobile application platform, Android is the most widely used mobile operating system, more than 2014 years accounted for more than 80% of the market. When developing Android apps for testing, there are a lot of testing tools on the market now. This article is mainly to show a series of open-source Android testing tools. Each tool will have a brief description and some related resourc

Teach you how to _android your own initiative selection of practical scheme

")); OkEl.click (); Would have been good, and constantly switching between the real machine and simulator, hierarchyviewer this broken thing and slow to die, In the middle to start Appium.exe, and to refer to the object and tagname, but also the list inside to find the first few, is very annoying, waiting for the strategy has not been found to let people cool a little. And that sendkey in this machine every time is the state of convulsions, hair a 123, he can output a 321, the navel c

Android Automation Business Layer test interface

Android Automation Business Layer test interfaceBasic knowledge Before you read:1. The execution of the Uiautomator script is performed by a shell command, and passing parameters to the executing method is also through the shell command2 the class to which the execution method is to be adjusted must inherit the Uiatestcasel class3. Within the method, the function obtains externally passed parameters through the bundle, rather than passing them through

Analyzing the process of a case execution by Appium Server Log

" command4. Use the tool "AAPT dump badging notepad.apk" to obtain NotePad PackageName and launchable activityname, note that the example code does not specify this two capabilities5. Android phone Shell invoke command to get the machine's API level has exceeded: "Adb.exe-s ht21atd05099 shell Getprop ro.build.version.sdk"6. Execute the appropriate shell command via ADB to check if the target app already exists: "PM List packages-3 Com.example.android.notepad"7. Clean the target application runni

Android Automated test framework

1, Monkeyrunner: The advantages: The simplest operation, can record the test script, visual operation; Disadvantages: the main generating coordinates of the automated operation, the transplant is not strong, the most limited function;2, Rubotium: Mainly for an apk for automated testing, APK can have the source code, also can not source code, powerful, the disadvantage is for the apk operation, and need to re-sign the APK (with tools), so the operation is relatively complex;3,

Porting MonkeyRunner's image comparison and acquisition of subgraphs

Tags: appium monkeyrunnerIf your target test app has a lot of imageviews, the comparison function of monkeyrunner is displayed. Several other popular frameworks, such as robotium, uiautomator, and appium, provide two fewer functions: Obtain subgraphs Image Comparison Since the monkeyrunner developed by Google has been prevalent for so long and the result verification function of its body function is only compared with screenshots, it must have its

Mobile App Automation Testing Framework

tests.Advantages: Easy to write test scripts in the shortest time, high ease of use. Automatically follows the current activity. Because the runtime is bound to GUI components, its test execution is faster and more powerful than appium. You can also work without accessing the code or not knowing the app implementation. Supports activities, Dialogs, Toasts, Menus, Context Menus, and other Android SDK controls.Disadvantage: You cannot handle flash and Web Components. It can become very slow on ol

Appium's Past Life

Appium's past life one, what is AppiumAppium is an open-source, cross-platform testing framework that can be used to test native and hybrid mobile applications. Appium supports iOS, Android, and Firefoxos platforms. Appium uses Webdriver's JSON wire protocol to drive the UIAutomation Library of the Apple system and the Uiautomator framework of the Android system. Appium support for iOS systems thanks to Dan Cuellar's research on iOS automation. Appium

"Android Test" "14th section" appium--Brief

ObjectiveSimilarly, this article I want to introduce is also a UI Automation tool, Address: http://appium.io/Third-party (not Google) research and development of open-source testing tools, said here may be someone will ask, "Why has introduced the Uiautomator also want to introduce it?" "Let's talk about what's different about Appium:1, Appium can test the original, mixed, or mobile Web projects;2. Appium not only supports testing Android application,

Total Pages: 13 1 .... 5 6 7 8 9 .... 13 Go to: Go

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.