You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-7Lines changed: 9 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Test Automation Project
2
2
3
-
This is my first test automation project based on Selenium-Webdriver with Python. It's still developing package of automated tests of https://phptravels.net demo website.
3
+
This is my first test automation project based on Selenium-Webdriver with Python. It's still developing package of automated tests of [phptravels.net](https://phptravels.net) demo website.
4
4
The collection of tests contains:
5
5
- user login tests (correct / incorrect login and password)
6
6
- hotels search tests
@@ -14,7 +14,7 @@ You can find here short description of main directories and it's content
14
14
-[pages](pages) - there're are sets of method for each test step (notice: some repeated methods were moved to [functions.py](utils/functions.py))
15
15
-[tests](tests) - there're are sets of tests for main functionalities of website
16
16
-[reports](reports) - if you run tests with Allure, tests reports will be saved in this directory
17
-
-[utils](utils) - tihis directory contain files responsible for configuration, e.g. driver_factory.py for webdriver management or read_xlsx.py for reading input data from xlsx files included in project
17
+
-[utils](utils) - tihis directory contain files responsible for configuration, e.g. driver_factory.py for webdriver management or [read_xlsx.py](utils/read_xlsx.py) for reading input data from xlsx files included in project
18
18
19
19
## Project Features
20
20
- framework follows page object pattern
@@ -27,7 +27,7 @@ You can find here short description of main directories and it's content
- the ability to easily generate legible and attractive test reports using Allure (for more look "Generate Test Report" paragraph below)
30
+
- the ability to easily generate legible and attractive test reports using Allure (for more look [Generate Test Report](README.md#generate-test-report) section below)
31
31
- tests can be run on popular browsers - Chrome and Firefox are preconfigured in DriverFactory class and both can be select in [conftest.py](tests/conftest.py), e.g.
To run selected test without Allure report you need to set pytest as deafult test runner in Pycharm first (File > Settings > Tools > Python Integrated Tools > Testing).
50
+
To run selected test without Allure report you need to set pytest as deafult test runner in Pycharm first
After that you need just choose one of the tests from "tests" directory and click "Run test" green arrow. There're 2 versions of test in each test file. In general test cases you can easily modify test inputs. Data-driven tests base on xlsx files from [utils](utils) directory.
0 commit comments