This is a test suite cover some basic features of google search engine and it follows the Page-Object design pattern.
As part of a project, It is integrated with TravisCI and here is the last result of executing the test suite.
.
├── config.ini
├── elements.py
├── framework
│ ├── base_selenium.py
│ └── __init__.py
├── __init__.py
├── pages
│ ├── base_page.py
│ ├── __init__.py
│ ├── results_page.py
│ └── search_page.py
├── README.md
├── requirements.txt
└── testcases
├── base_tests.py
├── __init__.py
└── test01_text_search.py
If you don't like TravisCI and wanna execute it in your local machine here are the steps:
- Chrome driver compatible with your google chrome browser
sudo apt-get install -y python3-dev python3-pip git xvfb
git clone https://github.com/0xIslamTaha/google_selenium.git
cd google_selenium
sudo pip3 install -r requirements.txt
export PYTHONPATH='./'
nosetests-3.4 -vs --logging-level=WARNING testcases --tc-file=config.ini