Difference between revisions of "Robotframework"
Line 28: | Line 28: | ||
pip install robotframework-ftplibrary | pip install robotframework-ftplibrary | ||
pip install robotframework-sshlibrary | pip install robotframework-sshlibrary | ||
+ | |||
+ | Note that selenium needs a browser to drive, so you'll need to install a graphical GUI, you can do this by: | ||
+ | |||
==Demos== | ==Demos== |
Revision as of 15:49, 5 March 2014
Robotframework
Page documenting the setup and possible The use of robotframework for regression testing of SMEServer.
Page Initial creation by Brian J Read - 3rd March 2014
Installation
Initial installation is on the back of a Centos 6.5 (64 bit in my case) install. I use Virtual Box under Linux Mint 16.
- Install Centos 6.5
- login as root
- Install robotframework:
yum install make automake gcc gcc-c++ kernel-devel git-core –y yum install python-devel -y curl -o /tmp/ezsetup.py https://sources.rhodecode.com/setuptools/raw/bootstrap/ez_setup.py python /tmp/ezsetup.py /usr/bin/easy_install pip rm setuptools-*.tar.gz pip install -i https://pypi.rhodecode.com/ --upgrade pip pip install robotframework pip install virtualenv
Install additional robot framework libraries:
pip install robotframework-selenium2library pip install robotframework-ftplibrary pip install robotframework-sshlibrary
Note that selenium needs a browser to drive, so you'll need to install a graphical GUI, you can do this by:
Demos
There are ssh, ftp and web (selenium) demos at:
https://bitbucket.org/robotframework/webdemo/wiki/Home#rst-header-starting-demo-application
https://robotframework-sshlibrary.googlecode.com/git-history/2.0/doc/SSHLibrary.html
http://sourceforge.net/projects/rf-ftp-py/files/1.2/FtpLibraryExample.txt/download
Making it test SMEServer
Marco Hess has made good progress with getting the framework to talk to an SMEServer.
His code is here:
https://franka.through-ip.com/git/?p=sme-test-automation.git;a=summary