This is the final project I completed as part of my Selenium training to become a Java QA Automation Engineer within the company. Used knowledge gained throughout the course of an internal company training to develop a testing framework for a demo e-commerce application as part of the final task.
- Programming language -
Java
- Build and project management tool -
Maven
- Testing framework -
JUnit 5
- Automation framework -
Selenium WebDriver
- Reporting framework -
Allure
- Automate 5 scenarios (described below)
- Tests from 1 test class should be executed in 1 browser (if 3 test classes - browser should be opened 3 times, before each test class, not before each test method)
- Required Design Patterns:
Page Object + Page Factory
,Singleton
(can add more) - If your project contains DDT - store datasets in txt/xml/json files
- Project should be shared on
Github
orBitbucket
- Tests should work in
Chrome
andFirefox
browsers - Add switch in code to run tests
locally
/ usingSelenium Grid
/SauceLabs
/Docker
(user can give params - url, port, etc) - If test fails, attach screenshot, date and time, browser, platform version to your report
- Add cleanup
- Go to login page
https://magento.softwaretestingboard.com/customer/account/create/
- Fill required fields
- Click Create an account button
Expected result: Account was created
- Go to main page:
https://magento.softwaretestingboard.com/
- Fill Email address and Password inputs
- Click Sign in button
Expected result: You were able to login
- Login
- Go to address book:
https://magento.softwaretestingboard.com/customer/address/index/
- Add new address
Expected result: New address was added to the address list
- Login
- Go to a page with clothes
- Go to any product detail page and click Add to Wishlist button
Expected result: Product was added to Wishlist
- Login
- Go to a page with clothes
- Add 3 different products to cart
- Go to shopping cart
Expected result: All 3 products are in the cart and subtotal is correct