How to set up Automation Tools


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
Pythonhttp://python.org/download/

Download Version 2.7.x (e.g. Python 2.7.10 Windows Installer)

Note: Install Windows x86 32-bit.

Setuptoolshttps://pypi.python.org/pypi/setuptoolsDownload the latest version.
Seleniumhttps://pypi.python.org/pypi/seleniumDownload the latest version.
Robot Frameworkhttps://pypi.python.org/pypi/robotframeworkDownload the latest version.
MultipartPostHandlerhttps://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

SQLAlchemyhttps://pypi.python.org/pypi/SQLAlchemyDownload the latest version.
PyCharmhttps://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.

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值