Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amal-mamdouh/automation-challenge
Suite of tests, using TestNG, Selenium Webdriver
https://github.com/amal-mamdouh/automation-challenge
java selenium-webdriver testng-framework
Last synced: 3 months ago
JSON representation
Suite of tests, using TestNG, Selenium Webdriver
- Host: GitHub
- URL: https://github.com/amal-mamdouh/automation-challenge
- Owner: Amal-mamdouh
- Created: 2024-06-30T16:00:38.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2024-06-30T16:04:47.000Z (6 months ago)
- Last Synced: 2024-09-28T14:41:23.212Z (3 months ago)
- Topics: java, selenium-webdriver, testng-framework
- Language: Java
- Homepage: https://www.saucedemo.com/
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Suite of tests, using TestNG, Selenium Webdriver covering the below requirements:
Requirements:
1. Check if the username and password fields are on the main screen of the application:
• Username input has id equal to user-name
• Password input has id equal to password
• Login button has id equal to login-button2. Check if the given valid credentials work:
• Use credentials (Username: standard_user ,Password: secret_sauce).
• After a successful login attempt, a div containing text: Swag Labs is visible.3. Check if the given wrong credentials work:
• Use invalid credentials
• After an unsuccessful login attempt, a div with class error-message-container error and containing a message Epic sadface: Username and password do not match any user in this service is visible4. Check for empty credentials:
• After an unsuccessful login attempt, a div with class error-message-container error and containing a message Epic sadface: Username is required is visible.
• After an unsuccessful login attempt, a div with class error-message-container error and containing a message Epic sadface: Password is required is visible.