Tests for ok.ru "Change personal data" page.
How to launch
- Load project from repository and launch in IDEA;
- Choose "Import gradle settings" and select "Use default gradle wrapper";
- Create config file -
src/test/resources/config.properties
- and fill it with your data; - Run tests by gradle task
verification
>test
.
How to configure
The project is configured by the file src/test/resources/config.properties
, you need to create it. Use this example file.
Config contains the following options:
login
andpassword
of the ok.ru user;chromedriver
,geckodriver
,iedriver
andedgedriver
- paths to webdrivers;useBrowser
- the name of the browser to be used (allowed values: chrome, firefox, ie, edge);implicitlyWaitTimeSec
- seconds of implicitly waiting.
Structure
The project consists of the following packages:
models
- ValueObjects;pages
- PageObjects of used webpages;steps
- business-logic of tests;tests
- test classes;utils
- utility classes.