- Type any credentials into the "Username" and "Password" fields.
- Clear the inputs.
- Hit the "Login" button.
- Check the error message: "Username is required".
- Type any credentials in the "Username" field.
- Enter a password.
- Clear the "Password" input.
- Hit the "Login" button.
- Check the error message: "Password is required".
- Enter a username from the Accepted Username section.
- Enter "secret_sauce" as the password.
- Click on Login.
- Validate the title "Swag Labs" in the dashboard.
- Implement parallel execution, logging for tests, and use Data Provider to parametrize tests.
- Ensure all tasks support these conditions: UC-1, UC-2, and UC-3.
- Test Automation Tool: Selenium WebDriver
- Project Builder: Maven
- Supported Browsers:
- Firefox
- Edge
- Chrome
- Locators: XPath
- Test Runner: TestNG
- Assertions: Hamcrest
- Design Patterns:
- Singleton
- Test Automation Approach: BDD
- Logging Framework: SLF4J