GenomeSpaceTesting version 1.0 24/07/2015
Author:
Name: Ruijing (Regina) Zhang
email: ruijingz@student.unimelb.edu.au
=====================================================================
Usage:
GenomeSpaceTesting is an automated testing program for
GenomeSpace to make sure that the functionality in GenomeSpace
works properly
=====================================================================
Installation and Setup
Prerequisites: Python 2.7 is installed in the machine
How to Get Selenium?
- Open up a terminal
- Type “sudo easy_install selenium” (since you have Python 2.7 installed in your machine and the package 3. manager easy_install) and return
- Enter your password to install
Testing on Chrome
- Download Chromedriver from here
- Follow the steps shown in the figure to set up chromedriver
OR
unzip the package
copy the file to some directory you want it to be in
specify the chromedriver path in the script “chrome_path.py” located in “UROP/GenomeSpaceTesting/source/” directory
Testing on Firefox
Note:
One of the core tool used in this program, Selenium, only supports certain version of Firefox ( e.g. Selenium 2.45.0, used when developing this program, supports version of Firefox only upto 35)
- Go into “UROP/GenomeSpaceTesting” and find the file “gs_test.sh”
- Open the file in a text editor
- Go to the last line of the file
- Replace the “GSchrome.py” with “GSfirefox.py” in “./source/GSchrome.py"
- Save it
How to Run The Program?
- Go into “UROP/GenomeSpaceTesting” folder
- Open the configuration file, “file_paths.cfg”, in a text editor
- Specify all the information in the configuration file
- Open up a terminal and direct to the “UROP/GenomeSpaceTesting” directory
- Type “./gs_test.sh” and return
Where to Find The Report?
- After the first run of the program, a folder called “reports” will be automatically generated
- Go into the “reports” folder and all the subfolders named after the date (“dd-mm-yy”) of the test conducted will be listed there
- Find the folder with the date of the report you want to see
- And all the report of tests conducted in that day will be included in the folder with the name as the time (“hh.mm.ss.txt”) when it was conducted