- Notifications
You must be signed in to change notification settings - Fork22
📔 Page object design pattern implementation (python, pom, selenium, pytest, travisCI)
License
utestpy/python-page-object
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Represent most popular OOD pattern for Web UI automation using python programming language (for learning reference only).
Automated tests are demonstrated onhttp://demo.guru99.com/test/newtours web application.
In addition, a source code isfullytype annotated ⭐
From the root directory of your shell run following command:
./run-tests.shhelpTool allows to simplify run of automated testsfor POM sample project.Available actions: - smoke run automated smoke tests - unittest run automated unittest tests - all run all automated tests -help displayhelpNote:help will be providedincase of no input parameters
Run a bunch of tests (e.g smoke) via following command:
./run-tests.sh smoke
Then please opentest-report.html file to see detailed testing report e.g:
Please follow next instruction to generate allure report (mac OS example):
- Update java via
brew cask install adoptopenjdk - Install allure via
brew install allure - Generate allure project via
allure serve report
- Install selenium grid fromhttps://www.selenium.dev/downloads
- Run in standalone mode
java -jar selenium-server-4.0.0-alpha-7.jar standalone --port 9515pytest
- Run in hub & node mode
java -jar selenium-server-4.0.0-alpha-7.jar hub --port 9515java -jar selenium-server-4.0.0-alpha-7.jar node --port 5555pytest
Please checkchangelog file to get more details about actual versions and it's release notes.
Author –Volodymyr Yahello.
Distributed under theGPL v3 license. Seelicense for more information.
You can reach out me at:
- vyahello@gmail.com
- https://github.com/vyahello
- https://www.linkedin.com/in/volodymyr-yahello-821746127
I would highly appreciate any contribution and support. If you are interested to add your ideas into project please follow next simple steps:
- Clone the repository
- Configure
gitfor the first time after cloning with yournameandemail pip install -r requirements.txtto install all project dependenciespip install -r requirements-dev.txtto install all development project dependencies- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request
About
📔 Page object design pattern implementation (python, pom, selenium, pytest, travisCI)
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.


