using Selenium with java - Page Object Model (POM) - Data Driven Test (Data Model) - Extent Report - CI/CD Github Actions - Docker
- Launch browser
- Navigate to url 'http://automationexercise.com'
- Verify that home page is visible successfully
- Click on 'Signup / Login' button
- Verify 'New User Signup!' is visible
- Enter name and email address
- Click 'Signup' button
- Verify that 'ENTER ACCOUNT INFORMATION' is visible
- Fill details: Title, Name, Email, Password, Date of birth
- Select checkbox 'Sign up for our newsletter!'
- Select checkbox 'Receive special offers from our partners!'
- Fill details: First name, Last name, Company, Address, Address2, Country, State, City, Zipcode, Mobile Number
- Click 'Create Account button'
- Verify that 'ACCOUNT CREATED!' is visible
- Click 'Continue' button
- Verify that 'Logged in as username' is visible
- Click 'Delete Account' button
- Verify that 'ACCOUNT DELETED!' is visible and click 'Continue' button
- Launch browser
- Navigate to url 'http://automationexercise.com'
- Verify that home page is visible successfully
- Click on 'Signup / Login' button
- Verify 'New User Signup!' is visible
- Enter name and already registered email address
- Click 'Signup' button
- Verify error 'Email Address already exist!' is visible
- Launch browser
- Navigate to url 'http://automationexercise.com'
- Verify that home page is visible successfully
- Click on 'Signup / Login' button
- Verify 'Login to your account' is visible
- Enter correct email address and password
- Click 'login' button
- Verify that 'Logged in as username' is visible
- Click 'Delete Account' button
- Verify that 'ACCOUNT DELETED!' is visible
- Launch browser
- Navigate to url 'http://automationexercise.com'
- Verify that home page is visible successfully
- Click on 'Signup / Login' button
- Verify 'Login to your account' is visible
- Enter incorrect email address and password
- Click 'login' button
- Verify error 'Your email or password is incorrect!' is visible
- Launch browser
- Navigate to url 'http://automationexercise.com'
- Verify that home page is visible successfully
- Click on 'Contact Us' button
- Verify 'GET IN TOUCH' is visible
- Enter name, email, subject and message
- Upload file
- Click 'Submit' button
- Click OK button
- Verify success message 'Success! Your details have been submitted successfully.' is visible
- Click 'Home' button and verify that landed to home page successfully
- Launch browser
- Navigate to url 'http://automationexercise.com'
- Verify that home page is visible successfully
- Click on 'Test Cases' button
- Verify user is navigated to test cases page successfully
- Launch browser
- Navigate to url 'http://automationexercise.com'
- Verify that home page is visible successfully
- Click on 'Products' button
- Verify user is navigated to ALL PRODUCTS page successfully
- The products list is visible
- Click on 'View Product' of first product
- User is landed to product detail page
- Verify that detail detail is visible: product name, category, price, availability, condition, brand
- Launch browser
- Navigate to url 'http://automationexercise.com'
- Verify that home page is visible successfully
- Click on 'Products' button
- Verify user is navigated to ALL PRODUCTS page successfully
- Enter product name in search input and click search button
- Verify 'SEARCHED PRODUCTS' is visible
- Verify all the products related to search are visible
- Launch browser
- Navigate to url 'http://automationexercise.com'
- Verify that home page is visible successfully
- Scroll down to footer
- Verify text 'SUBSCRIPTION'
- Enter email address in input and click arrow button
- Verify success message 'You have been successfully subscribed!' is visible
- Launch browser
- Navigate to url 'http://automationexercise.com'
- Verify that categories are visible on left side bar
- Click on 'Women' category
- Click on any category link under 'Women' category, for example: Dress
- Verify that category page is displayed and confirm text 'WOMEN - TOPS PRODUCTS'
- On left side bar, click on any sub-category link of 'Men' category
- Verify that user is navigated to that category page
- Launch browser
- Navigate to url 'http://automationexercise.com'
- Click on 'Products' button
- Verify user is navigated to ALL PRODUCTS page successfully
- Enter product name in search input and click search button
- Verify 'SEARCHED PRODUCTS' is visible
- Verify all the products related to search are visible
- Add those products to cart
- Click 'Cart' button and verify that products are visible in cart
- Click 'Signup / Login' button and submit login details
- Again, go to Cart page
- Verify that those products are visible in cart after login as well
- Launch browser
- Navigate to url 'http://automationexercise.com'
- Verify that home page is visible successfully
- Click on 'Signup / Login' button
- Verify 'Login to your account' is visible
- Enter correct email address and password
- Click 'login' button
- Verify that 'Logged in as username' is visible
- Click 'Logout' button
- Verify that user is navigated to login page