Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Oct 17, 2017

Appium installation with command line on Windows by using node.js

Appium is a server written in Node.js. It can be built and installed directly from NPM. You can able to start and stop the server without GUI help and able to see the logs in the same command prompt for every action what you perform.

To install it, First install the node.js then install the appium server from npm.

Follow the below steps to install appium on your Winodws.


1. Download latest node.js MSI from node.js website and install it. This will also installs node’s npm tool (node package manager) which we will use to install Appium Server. Once install, it will automatically set the path in environment variables.















2. After node.js installation, run the below commands step by step in command prompt to install the appium on back end in your system
    • npm install -g appium
    • npm install wd

Check appium is installed in your machine by following the below step


    • Open command prompt
    • Type 'appium' and press enter
    • You can see the below one if appium is installed successfully on your machine













Java Installation on Windows

JDK Installation :

1. Open browser
2. Go to Java download page
3. Check the 'Accept Licence Agreement' button
4. Click on respective JDK download link w.r.t sytem type (x64 or x86)



















5. Choose the folder location and save .exe
6. Run .exe file and install java
7. Go to installed location and check java folder

Set JAVA PATH in environment variables


  • Go to system properties
  • Select Advanced tab
  • Click on "Environment Variables" button


























  • Set JAVA_HOME in system environment variables

























  • Enter the variable name as JAVA_HOME and the value upto your jdk path


























  • Edit the path in system variables and add java bin path in the value like %JAVA_HOME%/bin


























Check JAVA is installed in your machine by following the below steps :


  • Go to command prompt
  • Type "java -version" (make sure java path set in environment variables, if not follow above steps)
  • You can see the below one if java successfully installed on your machine



Mobile App Automation with Appium on Android Emulator/Device

Overview :- Appium  is an open source test automation tool for mobile applications. It allows you to test all the three types of mobile...