Official documentation Introduction to Appium Appium Introduction
Appium is a mobile-based automation framework that can be used to test native applications, mobile Web applications and hybrid applications, and is cross-platform. Available for iOS and Android as well as for Firefox operating systems. Native apps are ap
With the popularization of mobile terminals, more and more mobile phone applications, but also more and more important. And as a test we also have to keep up with the times, to learn about the mobile phone app related testing, some time ago we introduced the Robotium mobile phone automation testing framework, starting from this chapter, we introduce another mobile phone automation test framework
reuse on iOS and Android platforms.For Appium cross-platform support and test automation modularity, please refer to platform supported Doc.Appium PhilosophyAppium is based on the following four concepts designed to meet the requirements of mobile platform test automation:
You should not have to recompile or modify your app in any way because you need t
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 origin
After the installation, find Appium in the application, click its icon, if everything is OK, then there will be a appium after the start of the interface window, as shown in.1.1 IOS SettingsClick on the top of the Apple icon to eject the iOS Settings window as shown in.In this window you can set up the iOS app that will be tested, because next we write the script to run the test, so we can leave it all with
As the first two articles are mainly translated from the Appium official website, because I am not very good English, so please forgive the reader, but also thank you for your love and support.OK, let's start installing Appium in Windows, Appium in the article after the specific installation in OS X.In addition, the official network said first to install node. js
1. Documents:/applications/appium.app/contents/resources/node_modules/appium/node_modules/appium-android-driver/lib/ Driver.js, comment The following lines of codeawaitthis.adb.uninstallApk(this.opts.appPackage); awaithelpers.installApkRemotely(this.adb,this.opts); awaithelpers.resetApp(this.adb,this.opts.app,this.opts.appPackage,this.opts.fastReset); awaitthis.checkPackagePresent();2. Documents:/applicatio
The first article has successfully installed the Appium, and because the previous use of Monkeyrunne has been configured with a basic Android test development environment (JDK, SDK) and set the environment variables, but not enough.
This is mainly the configuration of environment variables: Android, Appium, and update Sdkmanager.
1. Add an Android environment variable
"My Computer" right-click menu---> Prop
With the rise of mobile App testing automation, more and more middle and large companies are beginning to test mobile automation for better control of product quality. Appium Automated testing technology is also a technology I wanted to learn early on, but there has been no more spare time to learn (perhaps it is not too lazy for the sake of it ^_^), since today
Appium IntroductionAppium is a mobile-side automation framework that can do H5, Web testing, functional testing (Android, IOS), cross-process testing, and cross-platform. There are many languages supported by Appium when testing, including Java, Python, Ruby, PHP, C #, and so on. Since I am familiar with Java, the following demos and blog posts are all Java-based
Appium is a mobile-side automation framework that can do H5, Web testing, functional testing (Android, IOS), cross-process testing, and cross-platform. There are many languages supported by Appium when testing, including Java, Python, Ruby, PHP, C #, and so on. Since I am familiar with Java, the following demos and blog posts are all Java-based. In fact,
Brief introductionAppium is an open source automated testing tool that supports native applications, Web applications, and hybrid applications on IOS and Android platforms."Mobile native apps" refers to apps written using IOS or the Android SDK."Mobile web Apps" refers to apps that are accessed using a mobile browser (Appium supports both Safari on IOS and Chrome on Android)."Hybrid apps" refers to native code encapsulating Web page views-native code
Appium installation Process
node. JS was installed first. Download the exe installation file on node's official website.
Execute in node command line npm install -g appium to install Appium, error, invalid.
Go to appium.io official website, download the Appium compression pack. In fact, this package already con
Appium tests Android Launcher to obtain the target application by sliding the form. appium android
The so-called Launcher refers to the android Desktop Management Program. All application icons are placed on the launcher. In fact, this is a very simple example, just to verify some ideas.1. Tutorial Purpose
The purpose of this test is:
Try using the form slide function swipe
Wondering whether the android
Viewing the log is an important part of the code that we can debug directly when we test it on the editor, but the program runs automatically when it is continuously integrated, and if a bug occurs, the code location can only be located by logging. Appium logs are mainly divided into three parts.1. The preparation phase includes the Appium launch and the pre-launch of the app.2. The control stage includes t
UI Automation related Tools1. Appium Platform2, Apple's uiautomation3, Google's uiautomationA brief introduction to these tools:1, Appium IntroductionAppium uses Webdriver's JSON wire protocol to drive the UIAutomation Library of the Apple system and the Uiautomator framework of the Android system.Appium uses standard automat
ObjectiveSince many Android phones have recently been upgraded to the 7.0 system, some of the appium versions of the small partners are still in the 1.4 version, and have encountered an inability to boot when running android7.0 app Automation: webdriverexception:message:a New session could not being createdMy Computer environment:
Python 3.6
Android 7.0
Transferred from: http://www.cnblogs.com/nbkhic/p/3803883.htmlOriginal addressThank Testerhome for his hard translation.The copyright of this article is owned by ethanol, welcome reprint, but please specify the author and source, strictly prohibited for any commercial useLimitIf you install Appium on Windows, you won't be able to use pre-compiled. app files dedicated to OS X, and you will also be unable to test iOS apps because
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.