Test login
This is a simple Login page. Students can use this page to practice writing simple positive and negative LogIn tests. Login functionality is something that most of the test automation engineers need to automate.
Use next credentials to execute Login:
Username: student
Password: Password123
Test case 1: Positive LogIn test
- Open page
- Type username student into Username field
- Type password Password123 into Password field
- Push Submit button
- Verify new page URL contains logged-in-successfully/
- Verify new page contains text 'Congratulations student. You successfully logged in!'
- Verify button Log out is displayed on the new page
Test case 2: Negative username test
- Type username incorrectUser into Username field
- Type password Password123 into Password field
- Push Submit button
- Verify error message is displayed: 'Your username is invalid!'
Local educational replica of practicetestautomation.com - AiTM lab simulation only.