Directions for Web Automation testing:
Programming language Fundamentals-Test framework--webdriverapi--Development Automation test Project
Directions for Mobile Automation testing:
The foundation of programming language--testing framework--Mobile Development Test Foundation--appium api--Mobile Development Automation Project
Introduction to installation and configuration of Appium:
The first step:
Install node. js
: http://appium.io/
Install after download, all the way next, after the installation is complete, then enter NODE-V in the command prompt, if the node. JS version appears, the installation is successful.
Step Two: Install Appium
Appium There are two ways to install, one is command, enter npm install-g appiumon the command line, then click Enter to install automatically, the other way is to download the corresponding version of the operating system from the official website to install.
The second way to make this choice simpler is to introduce:
Appium Official website: https://bitbucket.org/appium/appium.app/downloads/
can choose the corresponding version to download, and then all the way next can be installed, after installation, click Open, if not open, according to the prompts to install the missing components of the computer, if successfully opened, the installation is successful.
Configure the environment to add the Appium installation path to the PATH variable
Step Three:
Installing the Android Development environment
Let's start by figuring out two concepts: JDK and JRE. The JDK is the core component of Java development and is the core component used to compile and interpret Java programs, including Java compile(javac)
developers for Java. The JRE is the Java Runtime environment. Java is a cross-platform language, one-time compilation, multiple computers run, this mechanism mainly relies on the JVM implementation. Java program compiled by the intermediate byte code, the intermediate bytecode is no longer directly on the machine to run, it must go through the JVM to convert the intermediate bytecode to machine language, in fact, the JRE is mainly contained in the JVM. The JRE is intended for Java program users.
After figuring out the JDK and JRE, be careful about installing Java-related programs. When installing the Java package, you will encounter two path selection, the first time to select the path of the JDK, the second is to select the path of the JRE, if the path of the selected JDK is the same as the path of the JRE, then the contents of the JRE package will overwrite the contents of the JDK, so after your installation is complete, Will find that Tools.jar and Dt.jar packages are not found. Therefore, during the installation process, the JDK and JRE are installed under different files, such as my JDK installed D:\java\jdk
below, the JRE is installed D:\java\jre
below. After installation, path and CLASSPATH are configured for the JDK and can be configured as:
Path="D:\java\jdk\bin;"classpath="D:\java\jdk\lib\dt.jar;D:\java\jdk\lib\tools.jar;"
当然还有一个JAVA_HOME,要写为jdk的安装路径
Then enter in CMD and javac
see the Java command help indicating that the Java-related software has been successfully installed.
Java:http://www.java.com/zh_cn/download/manual.jsp,
Note that the JDK and JRE two are installed, and be aware of the two paths
Install Android ADT&SDK
: http://developer.android.com/sdk/index.html
Because the download is slow, additional addresses are available:
Adt-bundle Download Link:
Http://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
Https://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
Http://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
Http://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
Http://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip
ANDROID-SDK:
Http://dl.google.com/android/android-sdk_r23.0.2-windows.zip
Http://dl.google.com/android/installer_r23.0.2-windows.exe
Http://dl.google.com/android/android-sdk_r23.0.2-macosx.zip
Http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz
After the download is complete, configure the environment with two items:
A. Create a new android_home variable with the value of the extracted address
B. Find the PATH variable name, the value of the variable is:;%android_home%\platform-tools;%android_home%\tools;
Run cmd, enter Appium-doctor, hit enter, allChecks were successful, the environment to build success.
The rest of the installation simulator is introduced in later learning
"Appium the Environment on WINDOW10 system"