Difference between revisions of "Robotframework"

From SME Server
Jump to navigationJump to search
Line 13: Line 13:
 
#Install robotframework:
 
#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:
 
Install additional robot framework libraries:
  
  sudo pip install robotframework-sshlibrary
+
  pip install robotframework-selenium2library
  sudo pip install robotframework-ftplibrary
+
  pip install robotframework-ftplibrary
 +
pip install robotframework-sshlibrary

Revision as of 15:14, 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.

  1. Install Centos 6.5
  2. login as root
  3. 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