-
Notifications
You must be signed in to change notification settings - Fork 28
Guitester
Guitester is a testing framework for eucaconsole implemented with python selenium bindings. To use the framework you will need an instance of Local or Remote Selenium Webdriver.
You will need selenium 2.50.1
yum check ipython
yum -y install ipython git
sudo easy_install selenium
git clone https://github.com/eucalyptus/guitester
You need to install python and selenium.
To install python you can use Homebrew with the following command:
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Help
easy_install selenium
It is a general best practice to use Virtualenv to create your environment:
sudo easy_install virtualenv
virtualenv guitester_env
cd guitester_env/bin; source activate
git clone https://github.com/eucalyptus/eucaconsole
cd eucaconsole/tests/selenium/guiops
ipython
from guiops.guiops import GuiOps
for local webdriver:
tester = GuiOps(<console URL>)
for remore webdriver:
tester = GuiOps(<Remote Webdriver i.e. "http://10.111.80.115:4444/wd/hub">,<console URL>)
This will launch a copy of firefox browser and open eucaconsole.
By typing tester.
and tabbing out you can see all command options.