https://www.python.org/downloads/
Note:
- For Windows, you have to remember Python installation path to use in the next step
- Press "Windows + Pause"
- Click "Advance System Settings"
- Click "Environment Variables"
- Edit value of
Pathvariable, append Python installation path at the end
- Open terminal
- Run
python --version
python --version
Python 3.5.1You should see the version of installed Python on your machine
wget https://bootstrap.pypa.io/get-pip.py && sudo python get-pip.py-
Save this as "get-pip.py" at "c:"
-
Open terminal and run
python get-pip.py- Open terminal
- Run
pip --version
pip --version
pip 8.1.2 from /env/lib/python3.5/site-packages (python 3.5)You should see the version of installed PIP on your machine
pip install virtualenv-
Create directoty at "/home/my-robot" or "c:\my-robot" for Windows
-
Goto project directory and init Git repository
-
Create our development environment
virtualenv envActivate env (Mac/Linux)
. env/bin/activate
Activate env (Windows)
env\scripts\activate
Create "requirements.txt" and add the following lines
robotframework
robotframework-selenium2library
Run pip install -r requirements.txt
- Run
pip install robotframework - Run
pip install robotframework-selenium2library
Run robot --version
robot --version
Robot Framework 3.0 (Python 3.5.1 on darwin)You should see the version of installed Robot Framework on your machine