In our first post on Selenium in Python, we saw how to prepare your continuous integration environment on Debian. Now it's time to have a look on how to add Selenium tests in your existing web project.
Sample project
This tutorial is based on the poll application from the Django tutorial. It describes all the required steps to run Selenium tests on a Django project. The source code can be found here.
This sample project is organized as follow:
The following features are implemented:
- Poll management via the Django admin site,
- Vote submission.
Don't forget to install Django ...