Repo to automate basic sanity flow
PyAuto is build on pytest.
- Firefox - 65.0 (64-bit)
- Chrome -
- Python - 3.4.3
- Clone the repo
$ git clone https://github.com/sureshpathipati/pyauto.git
- Install virtualenv
$ pip3 install virtualenv
- Create virtual env
$ virtualenv <env_name>
ex: virtualenv pyauto
- Open the virtual env(For winodows omit source)
$ source <folder_name>/bin/activate
ex: source pyauto/bin/activate
- Install dependencies using requirements file
$ pip3 install -r requirements.txt
- To Deactivate the virtual env use "deactivate" command
$ deactivate
- Remove packages
$ pip uninstall -r requirements.txt -y
- Come out off virtual env
$ deactivate
- Remove the environment folder
$ rm -r pyauto/
1.use the following command
$ pytest <file_name> --html=report.html
ex: pytest login_test.py --html=report.html