1. There are four paths through the program, which can be exercised by the following test data:
2. There are three paths through the program extract, including the path where neither of the conditions in the if statements are true. But each of the error messages can be triggered by two conditions. Suitable test data is therefore:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here