We use a combination of Python, Selenium and Robot Framework for test automation.
You can find stable version installers from \\cns-etnexus\RPS or you can get latest version from the links below.
Name
|
Download URL
|
Comments
|
---|---|---|
Python | http://python.org/download/ | Download Version 2.7.x (e.g. Python 2.7.10 Windows Installer) Note: Install Windows x86 32-bit. |
Setuptools | https://pypi.python.org/pypi/setuptools | Download the latest version. |
Selenium | https://pypi.python.org/pypi/selenium | Download the latest version. |
Robot Framework | https://pypi.python.org/pypi/robotframework | Download the latest version. |
MultipartPostHandler | https://pypi.python.org/pypi/MultipartPostHandler/ | Download the latest version. |
Web Driver Servers | \\cns-etnexus\RPS\SeleniumDrivers\chromedriver.exe \\cns-etnexus\RPS\SeleniumDrivers\IEDriverServer.exe \\cns-etnexus\RPS\SeleniumDrivers\phantomjs.exe | Download from \\cns-etnexus\RPS\SeleniumDrivers Copy to C:\Python27 |
SQLAlchemy | https://pypi.python.org/pypi/SQLAlchemy | Download the latest version. |
PyCharm | https://www.jetbrains.com/pycharm/download/ | Download the latest Community edition. |
Steps:
1. Install Python
a. Double click "python-2.7.10.msi". Make sure it is 32-bit version. Follow default install options. Python will be installed in C:\Python27.
b. Add environment variables for Python. Append PATH system variable with "C:\Python27;C:\Python27\Scripts"
c. Open Windows command console and type command "python". If you get the version information of Python, you have installed successfully.
2. Install SetupTools
a. Uncompress setuptools-0.8.tar.gz
b. Open Windows command console, go to the setuptools-0.8 folder
c. Type command "python setup.py install". You can check whether "setuptools-0.6c3-py2.5.egg" folder exists under C:\Python27\Lib\site-packages
3. Install Selenium
a. Uncompress selenium-2.33.0
b. Open Windows command console, go to the selenium-2.33.0 folder
c. Type command "python setup.py install". You can check whether "selenium" folder exists under C:\Python27\Lib\site-packages
4. Install Robot Framework
a. Uncompress Robot Framework
b. Open Windows command console, go to the Robot Framework folder
c. Type command "python setup.py install". You can check whether "robot" folder exists under C:\Python27\Lib\site-packages
5. Install MultipartPostHandler
a. Uncompress MultipartPostHandler-0.1.0.tar.gz
b. Open Windows command console, go to the MultipartPostHandler-0.1.0 folder
c. Type command "python setup.py install". You can check whether "MultipartPostHandler-0.1.0-py2.7.egg" exists under C:\Python27\Lib\site-packages
6. Install Web Driver Servers
a. Download chromedriver.exe, IEDriverServer.exe and phantomjs.exe
b. Copy them into C:\Python27
7. Install other Python packages
a. Install SQLAlchemy, etc following the same process as the other Python packages above.
8. Install PyCharm
a. Install PyCharm using the link above.