Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.2 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.2 KB

Python Asserts with Selenium

This repository contains use cases for using Python asserts with Selenium for automated testing:

  • Unittesting using Selenium
  • Debugging using Selenium
  • Data integrity testing using Selenium
  • Input validation using Selenium

Prerequisites

  • Python 3.8 and above
  • Should have an account on LambdaTest
  • unittest module

Setup

  1. Create a virtual environment on your terminal
virtualenv venv
  1. Activate your virtual environment
source venv/bin/activate
  1. Install dependencies
pip install -r requirements.txt
  1. Add your username and access key to an .env file. Head over to LambadaTest Dashboard to get it.

  2. To run the tests, simply execute the script with Python:

python nameoffile.py

Have a feedback or need an Assist?

Feel free to fork the repo and contribute to make it better! Email to [email protected] for any queries or ping me on the following social media sites: