Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.12 KB

File metadata and controls

25 lines (15 loc) · 1.12 KB

README file

SwagLabs Documentation

© Nikesh Devkota

Important Notice

I do not own Swag Labs. My attempt is to simply show my automation skills related to Selenium Python. It is strictly prohibited to misuse this repository in any way.

Precondition

Before you can conitnue with the test, you should have a .env file for passing the email, password and other information for testing.

Test Info

The tests used in this repo are created using Selenium Python and Pytest.

You should follow the below steps to run Cross Browser Automation for this project.

  1. Download Python if you don't intend to use docker containers.
  2. Clone the existing project from [Cross_Browser_Automation] (https://github.com/nikeshdevkota/Cross-Browser-Testing-Pytest) into a folder of your choice.
  3. Open up your terminal in your ide and cd into the the existing folder.
  4. type pip install -r requirements.txt. This will install all the dependencies you will need for the project.
  5. To run the test file, type pytest -n auto --html=report.html --self-contained-html test_buy_items_and_checkout.py