Robot Framework is an open-source generic test automation framework, developed by the Robot Framework Foundation (www.robotframework.org). RIDE is an integrated development environment developed for creating and managing Robot Framework test scripts. This guide shows how to install Robot Framework and RIDE and some of the most popular libraries, such as SeleniumLibrary and Chrome Webdriver tool for programmatic control of the Chrome browser.
This guide uses Windows Powershell, which can be found when using Windows search 'powershell'. This guide was made with Python 3.7.0. on Windows 10.
1. Robot Framework
# If you want to use a virtual environment for the installation, activate it first:
(devenv) PS C:\Users\tvirtane\Documents\devenv> .\Scripts\activate
# Install Robot Framework with pip:
pip install robotframework
# Verify the correct version of the installation:
(devenv) PS C:\Users\tvirtane\Documents\devenv> robot --version
Robot Framework 3.0.4 (Python 3.7.0 on win32)
2. RIDE
# Download Python 3 compatible version of RIDE from GitHub:
https://github.com/HelioGuilherme66
# Unzip .zip file to your /devenv/ folder
# Install wxPython (a requirement for RIDE):
pip install -U wxPython
# Install RIDE;
python3 setup.py install
# Click the created icon or start it from folder 'devenv' with command:
(devenv) PS C:\Users\tvirtane\Documents\devenv> ./Scripts/ride.py
3. SeleniumLibrary
# Install SeleniumLibrary for Robot Framework:
pip install robotframework-seleniumlibrary
4. Chrome WebDriver
# Download the newest Chrome WebDriver 2.42 from:
http://chromedriver.chromium.org/downloads
# Unzip the chromedriver_win32.zip and move the 'chromedriver.exe' file to a folder:
C:\Python3\Scripts\
# Add this Chromedriver filepath to your PATH environment variable:
C:\Python3\Scripts\chromedriver.exe
# Guide for changing environment variables can be found here:
https://testaataiitke.blogspot.com/2018/10/python-3-installation-guide.html
Last updated 10.10.2018
Robot Framework and RIDE installation guide
keskiviikko 10. lokakuuta 2018
Tilaa:
Lähetä kommentteja (Atom)
Ei kommentteja:
Lähetä kommentti