- Requires Robot
- Python 2.7 or above
- after downloading the project, please install python and use these pip commands:
pip install robotframework
pip install --upgrade robotframework-seleniumlibrary
pip install robotframework-faker
- Add webdriver to the path (eg: Chromedriver, geckodriver)
project\logs
project\logs
full test cycle:
robot -d ./logs tests
Smoke test:
robot -d ./logs -i smoke tests
Install robotframework-pabot
pip install -U robotframework-pabot
Run:
pabot --processes 2 --outputdir Results\ Tests\*.robot
Note: add this parameters to ignore errors in the base page: Open Browser about:blank Chrome executable_path=C:/path/to/chromedrive options=add_argument("--ignore-certificate-errors")
This framework is setup to run in Chrome, but you can change by adding "-v" in the command line:
E.g.:
robot -v BROWSER:firefox -d ./logs -i smoke tests
Note: BROWSER is a variable set in "Resources\Base.robot" . Always match your browser variable description