-
Notifications
You must be signed in to change notification settings - Fork 7
UI Test Automation Selenium
The main premise behind the Framework is the use of the Page Object Model detailed below. This is aided by a WebDriverHelper Class that is used to manage the WebDriver instance, manage errors should they occur and add to the code readability.
The Page Object Model is a design pattern in Selenium for managing Web Elements. It uses a class to story the web elements, managing these like an object repository. Page Object Model
The WebDriver Helper manages WebDriver instance, it has functionality to launch Chrome locally (provided the ChromeDriver is stored in the following location (C:\SeleniumDriver) or a **RemoteWebDriver **can be used to execute on a the likes of a Docker Container.
ChromeDrivers can be downloaded from the following location - ChromeDriver the version of the ChromeDriver must match the version of your Chrome Installation.
To run the tests locally, navigate to the test/ui/testautomation folder and run the mvn test command.