For many years, always want to learn Appium automation, now finally have a chance. Today, the first is to build a test environment.
1. Go to appium website to download:
http://appium.io/
Appium Official website: http://appium.io/
Easy setup process, run a test now.
> Brew Install Node # get node. js
> NPM install-g appium # get Appium
> NPM Install WD # get Appium Client
> Appium & # Start Appium
> Node Your-appium-test.js
The official homepage gives the installation steps of the Appium.
So, we need to install node. JS first. node. JS Official website: https://nodejs.org/
Because I'm win7.64-bit system directly to select the 6.11.5LTS version directly downloaded, of course, if it is not through the system can go to all versions download the relevant version.
2. Once the download is complete, double-click to open it and follow the next step. Verify that you have followed the successful direct use of CMD to enter "NPM" to view
3. Now this step is to download, the official website recommended the use of "C:\USERS\FNNGJ>NPM install-g Appium", limited by the company network I am all stuck here can not download.
I use the Worm Normal University to provide Baidu network disk into the download select the appropriate version
Http://pan.baidu.com/s/1jGvAISu
Let's take windows as an example and unzip the downloaded Appiumforwindows_1_4_0_0.zip as follows:
Double-click "Appium-installer.exe" to install. According to the prompt, step by step installation, here no longer verbose. Eventually generate the Appium icon on the desktop
When I click OK, I prompt an error. Tip I don't have the ". NET Framework 4.5" and look for a mom here.
Official address: "https://www.microsoft.com/en-us/download/details.aspx?id=42643"
You will need to restart your computer when the download is complete.
Appium Building Environment