The environment I installed is windows. On-line installation, relatively simple, interdependent packages will be automatically installed, but it is likely that the network is not good, installation failed! The installation process is described below!
1> installation Python2.7, all the basics, environment variables to configure C:\PYTHON27 and C:\Python27\Scripts, now is not supported version 3 or more;
2> installation Wxpython,ride need its support, Python graphics,: https://www.python.org/downloads/;
3> install PIP, a tool to install the management Python package, is the Easy_install alternative, the network is better classmate directly:Pip-install, otherwise: https://github.com/pypa/pip/releases;
4> Online installation command: Pip install robotframework, installed robotframework itself. : Https://github.com/robotframework/robotframework;
5> Online installation command: Pip install Robotframework-ride, a small robot icon visualization to write a program to manage the force. : https://pypi.python.org/pypi/robotframework-ride/1.3;
6> Online installation command: Pip install Robotframework-selenium2library, this is the selenium2 Test Library, based on Webdriver driver, the default is Firefox browser;
If this is an offline installation, the order of installation is:
(1) Install Selenium,selenium native python library, download to the official website: https://pypi.python.org/pypi/selenium;
(2) Install decorator,s2l Library's dependent library ,: https://pypi.python.org/pypi/decorator;
(3) Install Docutils,s2l Library's dependent library ,: https://pypi.python.org/pypi/docutils;
(4) installation of robotframework-selenium2library,:https://github.com/robotframework/selenium2library/releases;
To this environment basic installation is complete, the following record the installation process may encounter problems:
1) PIP command:
Pip install XXX: direct online installation;
Pip Uninstall XXX: Uninstall the already installed program;
2) Python source installation: cmd command into the source setup.py sibling directory, execute command: python setup.py install;
3)Selenium2library depends on the package may be more, and sometimes after successful installation may not be available, I am updating the installation of other versions and then just fine;
4) After the successful installation of the environment is the default Firefox browser, if you want to use IE, Google, you need to install browser driver:chromedriver.exe, IEDriverServer.exe;
6) Installation method has a lot, can be source code installation, EXE installation files can be directly click execution;
Below is an offline installation that requires the basic installation files:
Installing the RSF automation environment