Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added README to selenium tests #199

Merged
merged 2 commits into from
Aug 26, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions selenium_tests/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Selenium Test
-------------

This directory contains tests on the live website using selenium.
To create a new selenium test:

- Install selenium and the Selenium IDE as specified at http://www.seleniumhq.org
- Start Selenium IDE from the Firefox Tools menu.
- Selenium works by recording your operations with the browser
and creating a script to reproduce the same operations
programmatically. Create various testcases for all the possible
use cases of the site
- Once happy with the test, export the test as a python script using
File -> Export TestCase as... -> Python 2 - unittest - webdriver
- The generated python script will need some adjustments.
Modify it by hand appropriately (for example, using the base class
SeleniumTestBase for common functionality)


At the moment, tests in the native format are not saved. Please consider
this option if the testsuite grows larger.