Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
Updating README.md to make things easier for new people
Browse files Browse the repository at this point in the history
  • Loading branch information
retornam committed Sep 21, 2011
1 parent e2bb8d5 commit b615f4c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Expand Up @@ -3,7 +3,7 @@ Mozilla.com Selenium Tests

This repository holds automated tests for [http://www.mozilla.com][MOZ]

[MOZ]: http://www.mozilla.com
[MOZ]: http://www.mozilla.org

Running Tests
-------------
Expand All @@ -24,17 +24,18 @@ followed by

sudo pip install pytest
sudo pip install pytest-xdist
sudo pip install pytest_mozwebqa
sudo pip install selenium
sudo pip install unittestzero

to install the required Python libraries.

### Selenium
Once this is all set up you will need to download and start a Selenium server. You can download the latest Selenium server from [here][Selenium Downloads]. The filename will be something like 'selenium-server-standalone-2.0b1.jar'
Once this is all set up you will need to download and start a Selenium server. You can download the latest Selenium server from [here][Selenium Downloads]. The filename will be something like 'selenium-server-standalone-x.x.jar (where x.x is current shipping version)'

To start the Selenium server run the following command:

java -jar ~/Downloads/selenium-server-standalone-2.0b1.jar
java -jar ~/Downloads/selenium-server-standalone-x.x.jar (where x.x is current shipping version)

Change the path/name to the downloaded Selenium server file.

Expand All @@ -45,7 +46,7 @@ Change the path/name to the downloaded Selenium server file.
Once the above prerequisites have been met you can run the tests using the
following command:

py.test --browser='*firefox' --site=http://www-trunk.stage.mozilla.com --timeout="120000"
py.test -v --api=rc --baseurl="http://www.mozilla.org" --browser=firefox

Writing Tests
-------------
Expand Down

0 comments on commit b615f4c

Please sign in to comment.