Automation lab Aú Locators & Basic Actions (LOCATORS_BASIC)
Lab 007: Email format validation
Practice email format validation in a real web app context as part of the Locators & Basic Actions module.
basic
basic
Objectives
Use for test scripts- Understand the purpose and business flow of email format validation.
- Design stable locators for key UI elements.
- Automate user interactions and verify the resulting UI state.
Sandbox
Locators & Basic Actions / web-ui / basic / active
Email format validation
Validate email format in real time.
Reading and understanding requirements
Choosing stable locators
Designing assertions based on business rules
Learning objectives
- Understand the purpose and business flow of email format validation.
- Design stable locators for key UI elements.
- Automate user interactions and verify the resulting UI state.
Steps
- Open the lab page in the browser.
- Identify the key UI elements involved in this scenario.
- Describe the expected user flow for this scenario.
- Automate the steps of the flow using your chosen framework.
- Add assertions to validate the expected results.
Expected results
- The business flow works end-to-end as expected.
- All key UI elements behave according to the requirements.
- Assertions clearly prove the behavior is correct.
Practice sandbox
Validate email format in real time.
Idle
Waiting
Not sent
Hints
- Valid example: tester+01@example.com
- Invalid example: user@example..com