This README would normally document whatever steps are necessary to get your application up and running.
- This repository was created as part of the final project, a course on "Manual Tester with an introduction to automation" organized by Softie.pl
- Java 11+
- Maven (This project is Maven type, so we need add support for Maven)
- Selenium WebDriver (We need for servicing web browswer)
- jUnit 5.x (We need to build test framework - for example "@Test" annotation)
- Page object pattern
- Page factory
- Summary of set up and configuration:
- IntelliJ Idea Community 2020.1 version > New > project from version controll
- Right click on project folder > add framework support > (check) Maven
- In src>test>java folder we have 3 packages:
-
pageobjects (which contains classes that corresponds to each of our pages and keeping methods that work on those pages, and all locators).
-
tests (package which contains all logic of tests written in jUnit)
-
utils (some classes that we need as additions to test, something that makes testing easier).
- Dependencies:
- com.github.javafaker version>1.0.2
- org.junit.jupiter version>5.6.3
- org.seleniumhq.selenium version>5.6.3
- All code of dependencies is in pom.xml file.