Applications often have login screens. Testing a secured web application requires us to capture the login process as a custom action. That way, we can re-use it repeatedly for as many scenarios as we need.
If it isn't already running, start up the selenium server in another shell or window by typing:
java -jar selenium-server.jar
.If the
satchmo
store application isn't already running, start it up in another shell or window by typing:python
manage.py
runserver
.
With the following steps, we will exercise a web application's security and then see how to extend Pyccuracy by creating a custom action that does the same:
Create a new file called
recipe37.acc
to contain this recipe's scenario.Create a story for exercising Django's admin application.
As a system administrator I want to login to Django's admin page So that I can check the product catalog.
Add a scenario that...