Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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-button

2. 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 visible

4. 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.