facebook Skype Linkedin
Skip to content
Home » How to install and setup Appium on Windows

How to install and setup Appium on Windows

Python 3.6.3, PyTest 3.2.4, Selenium 3.7, PyCharm, Appium 1.2.6

Install Python 3.6.3
Download python:
 
Install Python:
  1. Set checkbox add Python version to PATH
  2. Click Install Now
  1. You will see successful installation message like below
  2. Click Close
 
 
Verify Python Installation:
  1. Press Windows+R to open “Run” box.
  1. Type “cmd” and then click “OK” to open a Command Prompt.
    python –version
  2. You will see python version like below
Результат пошуку зображень за запитом "python 3 check version command line"
 
 
Install Selenium 7.3
Install Selenium:
  1. Press Windows+R to open “Run” box.
  2. Type “cmd” and then click “OK” to open a Command Prompt.
pip install -U selenium
 
Install PyTest 3.2.4
Install PyTest:
  1. Press Windows+R to open “Run” box.
  2. Type “cmd” and then click “OK” to open a Command Prompt.
pip install -U pytest
 
Verify PyTest Installation:
  1. Press Windows+R to open “Run” box.
  2. Type “cmd” and then click “OK” to open a Command Prompt.
    pytest –version
Install JSON Reporter :
pip install pytest-json
 
Download Framework:
https://github.com/theScimus/pyTest_framework
  1. Open command line
  2. Go to repository with framework
py.test --json=report.json
 
  1. Check whether a json file has been created in the repository
 
Install PyCharm
Download and install PyCharm:
 
Configuring PyCharm:
  1. Open PyCharm with ‘Pytest Web Framework’
  2. Press Ctrl+Alt+S > Project
  3. Click ‘Project Interpreter’
  4. Select Python 3.6
  5. Click ‘OK’
  6. Go to write over 100500 automated tests!!!
 
NOTE: read and study this:
 
Install Appium
Download Appium:
 
Install Appium:
  1. Node.js Installed
  2. JDK Installed
  3. Set JAVA_HOME and Path Environment Variables
  4. Android SDK Installed
  5. Set ANDROID_HOME and Path Environment Variables
  6. Apache Ant Installed
  7. Set Apache variables
  8. Apache Maven Installed
  9. Set M2HOME and M2 and Path Environment Variables
  10. Install Appium client
 
Configure Appium:
  1. Open Appium
  2. Click ‘Start Server’
  3. Click ‘Appium inspector’
  4. set  Desired Capabilities(Example):
{

  "platformName": "Android",

  "platformVersion": "6.0.1",

  "deviceName": "Galaxy J5 (2016)",

  "appWaitActivity": "*",

  "app": "E:\\PATH_TO_YOUR_APP.apk"

}
 
  1. Click ‘Start Session’

Leave a Reply

Your email address will not be published. Required fields are marked *

Follow our Blog via Email
Enter your email address to follow this blog and receive notifications of new posts by email.