Skip to content

nikeshdevkota/Cross-Browser-Testing-Pytest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Cross browser testing including chrome, firefox and edge browsers with pytest in a parallel mode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages