Challenge
The application under test makes sure users cannot sign up more than once with an email address. Because we want to be able to run the sign up test many times, we need to sign up with a unique email address in each test run.
Solution
We’ll implement a method that generates a unique email address every time the automated test case is run, thus making the test case repeatable.
Example code
How would you solve this?
If you haven’t yet, try out Usetrace – a codeless UI to Selenium.