virtual machine. You can set it up in eclipse by selecting the following:The configured virtual machine settings are as follows:Sixth step: Start configuring the relevant development environment in Eclipse, primarily the jar package associated with jdk,selenium,appium-client (the package is downloaded on the Web by Appium's client package called Java-client.jar). Then you can start writing the test code, and here's a brief demonstration of the code if you write the initialization section:Well,
Appium-python Mobile Terminal Automation environment constructionAppium IntroductionAppium 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 th
.
Swipe
Analog phone slide, swipe from one point to another, the keyword receives 5 parameters [start_x | start_y | end_x | end_y | duration=1000], when sliding, the position of the point is in the form of coordinates.
Tap
This keyword simulates clicking on a screen element and receiving a parameter [locator]
Zoom
This keyword is used to magnify an element and receive three parameters [Locator | percent=200% | steps=1], the first parameter
The route of web Automation testing is this: The Programming language Foundation---> Test framework--->webdriver API---> Development Automation Test Project.
The route of the mobile automation test is longer: The Programming language Foundation---> Test framework--->android/ios development test base---->appium API----
Summary
As we all know, automated testing can reduce the burden of testers to a certain extent, improve test efficiency, and achieve reliability testing and performance testing through Automation. For mobile client testing, it would be cool if we could get the phone to run the application automatically to help us detect the correctness of the function. Youdao Test Group on a number of popular
Brief introductionUI Automation testing for mobile apps has long been a difficult problem, with the "change" of the UI changing, resulting in extensive maintenance of automated use cases. From the perspective of layered testing, automated testing should be done on a level-by-layer basis. The largest number of automated tests should be unit testing, the easiest to implement and the easiest to detect problems
Of
The Android SDK provides the following tools to support our UI Automation testing:
Uiautomatorviewer: A tool used to scan and analyze the UI controls for an Android application.
Uiautomator: A Java library that includes creating tests and executing automated test APIs.
Google Uiautomator Documentation: http://android.toolib.net/tools/help/uiautomator/index.html
To use these tools, you must install the following version of the Android developme
There are two main categories of automation testing, interface automation and UI Automation, UI Automation and mobile and web-side, and of course, the C/S architecture, the application of desktop applications Automation, using QTP
Poptest is the only training institute for developing Test and development engineers in China, aiming at the ability of the trainees to be competent in automated testing, performance testing and testing tools development. If you are interested in the course, please consult qq:908821478. Appium IntroductionAppium is a mobile-based automation framework that can be used to test native applications,
you can use selenium to test the Web app on your phone.Previously studied a little bit of appium, it supports cloud computing services, can provide customers with a number of virtual phones to test, this is only paid. The more you want, the more money you'll have to pay.Iv. MonkeyrunnerThis tool is now a more popular test tool. It supports scripting language Python because it does not work with source code like Robotium, which can record test scripts using the record feature. But the downside o
. Install Appium,cmd under Administrator Rights Command installation: NPM install-g [email protected]; Note the latest version of the installation Appium will be reported to install failed at the [email protected] error;-can omit this step, directly install appiumforwindows_1.4.16.1 try;4, install the appiumforwindows_1.4.16.1, after the installation of the configuration appium environment variable pathExample: D:\Program files\appium\node_modules\.bin5. Install appium-doctor,cmd under command:R
Operating system: Android, iOS, FirefoxosAutomated testing Infrastructure: Appium, SelendroidAndroid emulator: Bluestacks (blue stack), Genymotion, Avdmanage (Android SDK comes with),Debug Tool: ADB (Android debug Bridge)Positioning element Tool: Appium's own inspector, Android Sdk->tools->uiautomatorviewOverall:
iOS automated testing requires a Mac OS operating system
Mac OS X 10.7 or later, recommended version 10.8.4
Android automati
Mobile phone automation Framework is also more, for ios,android two different platforms, finally I picked the appium, it is the use of webdriver to drive testing, this framework I am more familiar with, and it supports two platforms. So I have for these two different platforms to build and test, the environment of the iOS platform is not a problem, concrete construction methods see:Http://blog.sina.com.cn/s
the SDK's own tool AAPT appactivity: Also available through the tools above. One thing to note is that the value can be packagename or not attached. In other words, the following two types of filling methods are all right. Noteslist "and" Com.example.android.notepad.NotesList " General configuration: Android only: IOS only Configuration text See: http://blog.sina.com.cn/s/blog_700be1c00102vgha.htmlJava Demo sample For more information, see my other blog postElement positioning
Native
BackgroundThe company's products business has developed to the mobile side, the development of the selection has ended, decided to use PHONEGAP Mobile Web application development platform. Considering the complexity and diversity of the business, mobile-side testing also needs to be automated. Read a lot on the net, finally locked up 3
Poptest is the only training institute for developing Test and development engineers in China, aiming at the ability of the trainees to be competent in automated testing, performance testing and testing tools development. Poptest launches the mobile phone automation Test course, explains the Appuim practical application, the training entire use commercial project, we may add QQ group to Exchange: 195983133L
Poptest is the only training institute for developing Test and development engineers in China, aiming at the ability of the trainees to be competent in automated testing, performance testing and testing tools development. Poptest Test Development Engineer Employment Training please consult qq:908821478) Mobile automation testing is the technical requirements of future Test engineers, we need to lay a good f
design, simply do not for mobile automation testing and the development of a set of API interface, so Appium is also based on selenium Webdriver has been extended to expand some of the operational Mobile API interface, After we learned the API interface of selenium, we learned that the Appium only need to learn to expand the API interface of those operations
apps. Appium has a better philosophy of design, simply do not for mobile automation testing and the development of a set of API interface, so Appium is also based on selenium Webdriver has been extended to expand some of the operational Mobile API interface, After we learned the API interface of selenium, we learned that the Appium only need to learn to expand t
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.