A small proof of concept of using the Page Object pattern with behave
- Make sure you have python 3.3+ installed
- Install virtualenv (
pip install virtualenv) - clone this repository
- change the email address in
config.pyto your own (IMPORTANT you need to provide an email that is registered on Ryanair) - set an environment variable
RYANAIR_PASS_your_email_address(in my case:RYANAIR_PASS_TOMEKWSZELAKI@GMAIL.COM) where you indicate the account's password
All dependencies are included in the virtual environment folder (po_pattern) so you should be ready to go.
cd page-object-pattern-python
po_patters\Scripts\activate
behave
cd page-object-pattern-python
source bin/activate
behave
Test reports are saved in the /reports folder. They are xml files (xUnit compliant format).
#Licence MIT