The final project involved performing both manual and automated tests on the eCommerce and shopping site www.saucedemo.com. Manually to fully understand the project and the client's needs, testing critical functions like login, adding items to the cart, and checkout. Following the completion of this stage, I started creating automated testing using Selenium, POM and DDT.
- Run on Windows 11 Pro
- IDE for this project is Intellij Idea Community Edition 2023.2
- Browser needed is Chrome
Open terminal in IDE and git clone the repository
git clone https://github.com/kostantin-bozovic/FinalProject.git
- Java version 8 (Update 381)
- Apache Maven 5.2.4
To run Headless tests, replace "false" with "true" command, inside @BeforeClass methode on 41 line.
headlessTest(false);
To run all test in same time, right-click on "testng.xml" file and click "Run"
Packages:
- Base - Contains classes used through the app
- Pages - Contains classes for each page
- Tests - Contains test classes
Files:
- pom.xml - Contains all dependencies used in project
- TestData.xlsx - Excel file used to read some data for DDT
- testng.xml - Basic xml file to run all test classes
- .gitignore - File that contains all items that are not pushed