/orbitz_seleniumbase

functional selenium test for orbitz.com on python

Primary LanguagePython

Automated orbitz.com website test case

This is functional automated test for orbitz website

Requirements:

Python 3.7+
AND
Docker (only for selenoid)
OR
Google Chrome (only for local run)

Installation:

git clone git@github.com:mpolynskyi/orbitz_seleniumbase.git&&\
cd orbitz_seleniumbase&&\
pip3 install virtualenv&&\
virtualenv venv --python=python3&&\
source venv/bin/activate python&&\
pip install -r requirements.txt

How to run test

If you want local broser run:

seleniumbase install chromedriver
pytest -s
local-run-process

If you want to use selenoid:

docker pull selenoid/vnc_chrome:81.0
docker-compose up
Run in different terminal window:
pytest -s --server=127.0.0.1 --port=4444 --cap_file=cap.py
Check run process in selenoid-ui: 127.0.0.1:8080 Selenoid UI 2020-05-20 13-02-57\

"venv" deactivation/activation. Use "activate" in installation folder:

Deactivation venv command: deactivate
Activation venv command: source venv/bin/activate python