Appium encounters pitfalls
Last week, I started to try to use appium. First, I went to the official website and downloaded the appium client. After downloading and installing the app, I started to install the android sdk. After downloading the app on the official website, I downloaded the app, download updatesSDK Manag
Appium IntroductionOfficial website1. FeaturesAppium is an automated testing open source 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 (application abbreviation app).
"Mobile web Apps" refers to apps that are accessed using a mobile browser (Appium supports
WebdriverBecause it is a Python version, so go to selenium website to download Python webdriver (selenium-2.39.0.tar.gz)Https://pypi.python.org/pypi/seleniumExtract:#gzip-DC selenium-2.39.0.tar.gz | Tar xvf-Installation:#cd selenium-2.39.0#sudo python setup.py install//sudo is still a problem to solve permission-----------In this way, the Webdriver is installed successfully.Third, the app to testThe test is the TestApp provided by Appium.First, we ne
Better article:http://www.15yan.com/story/4GbuTwXQKDU/ Official information:http://appium.io/slate/cn/v1.2.0/?python#appium Official Document Chinese version:https://github.com/appium/appium/tree/master/docs/cn Appium Interface installation package, client:https://testerhome.com/topics/680 1.
1, download appium before the command line check$ Java-versionjava Version "1.8.0_71" Java (tm) SE Runtime Environment (build 1.8.0_71-b15) Java HotSpot (tm) 64-bit Server V M (build 25.71-b15, Mixed mode)$ brew-vhomebrew 0.9.9 (git revision 1158; last commit 2016-07-20) Homebrew/homebrew-core (git revision 666b; last commit 2016-07-20) $ node-vv6.3.0If brew and node are not installed:A. Install the brew co
Nodejs installation process:1. Download Windows Installer (. msi), http://nodejs.org/download/, double-click Install2, the command line input node-v display version number node-v0.10.35, indicating the successful installationNote: Node NPM is an integratedAppium Online Installation(1) Enter cmd command line(2) Input command: NPM install-g appium orNPM--registry h
genymotion simulator start times wrong:Unable to start the virtual device. The virtual device got no IP address. The VirtualBox DHCP server has not assigned a IP address to the virtual device. To find a solution,please start Virualbox.Workaround:1, run genymotion as Administrator; I follow the internet to set the VM VirtualBox network, NIC, DHCP, etc. no effect, so that they try to start the virtual machine to view the error content, found that the computer is not set to cause the virtualization
Appium Environment set up, online indeed a lot of but are older version of the installation, at present I do is to use the command to download the latest installation, pre-installation preparation work, first you have a mac~ haha good not wordy into the topic;System Environment Computer system version: 10.13.4;xcoke version 9.3.1; (only for a xcoke version of the computer)Installing homebrewIt is highly rec
The Appium is an open source mobile automation testing framework that supports both Android and iOS.Appium executes the test script based on the Webdriver protocol.Today, such as fried leftovers, Introduction to build Appium Android environmentNeed:
Appium Windows Edition, current version is 1.4 https://bitbucket.org/
/index.php/sdk/After you open the SDK manage, you may not be able to start up. This may be because your JDK and JRE are not configured properly.After the JDK has been configured: Reboot is OK:Configure environment variables after installation: needs to be configured according to its own pathAndroid_home:d:\installs\android-sdk_r24.4.1-windows\android-sdk-windows;Path:%android_home%/tools;%android_home%/platform-tools;Once configured, you can successfully run the ADB command again under DOS. adb
prerequisite to installing the Java environment first.1, download the Android SDK, click Install, direct default path can!: http://developer.android.com/sdk/index.html2. After the default path is installed, the installation is complete and the environment variable is started.3. Turn on the computer properties--Advanced system settings--environment variables4. Create a new environment variable, variable name: android_home, Variable Value: D:\ADT-BUNDL
The environment for a clean windows appium test needs to be as follows (for python):
Android SDK
Java (JDK)
adb
Emulator
node. js
Appium(one of the latest 1.0.2 versions, one 1.4.16 version, which you install randomly)
Install the appium-python-client plugin on Python
1, We first downlo
first, the environment preparation :See me in another article: http://www.cnblogs.com/sunny-sl/p/6519604.htmlII. Create a case project directly with Eclipse 1. Open Eclipse, "File"--"New"--"Project"2. Select "Java Project"--"Next"3, enter the project name Appium_demo, click "Finish"4, right click on the project New-folder, new two folders: Apps and Libs, directory structure as follows:Third, the class library of the import test 1, Import Selenum class library: http://docs.seleniumhq.org/
Appium installation of the environment and the pit along the journeyinstallation of the first step environmentL JAVAJDK Installation and configuration of environment variables I'm not going to tell you this. Online tutorials are all, search for a install itL ANDROIDSDK Installation is also the case I am the direct installation of studio, directly installed the SDKL node. js installation Download, URL: http:
)"(因为网址会经常变化,多关注官网 http://brew.sh)安装完以后 ,输入 brew -v 查看版本:Homebrew 1.1.0Homebrew/homebrew-core (git revision 1a39; last commit 2016-11-07Description successUse it to install pytho3.5Direct input to brew install python3.5Enter Python3 after successful installationThe ability to enter the Python edit page is a successful installation5. Install pip into the python3.5 directory download pip brew install pipAfter the do
Appium Environment Construction
Installation of the SDK:
1. Download, install the SDK, adt configure the Android environment variable: http://developer.android.com
2. Find Windows:installer.exe in the inside
3. Install the default selectable disk
To configure the SDK system variables:
1. Right-click My Computer--Properties--advanced--environment variables2. New Android_home variable name in the System Var
A Installation
Install DMG, you can download appium-1.4.0.dmg or to find rtx I want, file too large can not add attachments.
Appium provides a doctor that runs Appium-doctor
If there is a problem, Fix it when you enter Y, you can automatically guide the installation.
If you test only io
1. Installing the JDK(1) JDK will be installed two times, once is the JDK, the second time is the JRE.(2) environment variable configuration:Add Java_home variable, value:JDK installation pathAdd Classpath variable, value: .; %java_home%\lib\tools.jar;%java_home%\lib\dt.jarModify the path variable, plus this sentence %java_home%\bin;(3) command line Input Java command to detect if installation is successful2. Installing ADT(1) Website: http://tools.android-studio.org/index.php(2) environment var
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.