Skip to content

Commit 2d31794

Browse files
authored
Add more links and modify a bit README.md
1 parent b6e474f commit 2d31794

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Test Automation Project
22

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.
44
The collection of tests contains:
55
- user login tests (correct / incorrect login and password)
66
- hotels search tests
@@ -14,7 +14,7 @@ You can find here short description of main directories and it's content
1414
- [pages](pages) - there're are sets of method for each test step (notice: some repeated methods were moved to [functions.py](utils/functions.py))
1515
- [tests](tests) - there're are sets of tests for main functionalities of website
1616
- [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
1818

1919
## Project Features
2020
- framework follows page object pattern
@@ -27,7 +27,7 @@ You can find here short description of main directories and it's content
2727
self.driver.find_element(*SearchHotelsFormLocators.destination_inactive).click()
2828
```
2929
![Logs screenshot](https://raw.githubusercontent.com/startrug/phptravels-selenium-py/screenshots/logger.png "Logs screenshot")
30-
- 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)
3131
- 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.
3232
```
3333
@pytest.fixture()
@@ -47,7 +47,10 @@ $ pip install -r requirements.txt
4747

4848
## Run Automated Tests
4949

50-
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
51+
```
52+
File > Settings > Tools > Python Integrated Tools > Testing
53+
```
5154
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.
5255

5356
## Generate Test Report
@@ -62,6 +65,5 @@ $ allure serve <reports directory path>
6265
```
6366
![Allure report screenshot](https://raw.githubusercontent.com/startrug/phptravels-selenium-py/screenshots/allure_report.png "Allure report screenshot")
6467

65-
## Comments
66-
If you have any comments or suggestions, leave its here. It will be very helpful for me :)
67-
Thanks in advance!
68+
Report is generated in Chrome browser.
69+

0 commit comments

Comments
 (0)