Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sophyia7/python-asserts
Demonstration of Python Asserts using Selenium
https://github.com/sophyia7/python-asserts
asserts lambatest python3 selenium selenium-python unittest
Last synced: 9 days ago
JSON representation
Demonstration of Python Asserts using Selenium
- Host: GitHub
- URL: https://github.com/sophyia7/python-asserts
- Owner: Sophyia7
- Created: 2024-03-06T17:53:44.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-04-30T10:24:10.000Z (8 months ago)
- Last Synced: 2024-04-30T12:14:48.298Z (8 months ago)
- Topics: asserts, lambatest, python3, selenium, selenium-python, unittest
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://www.lambdatest.com)
- unittest module## Setup
1. Create a virtual environment on your terminal
```python
virtualenv venv
```
2. Activate your virtual environment
```bash
source venv/bin/activate
```3. Install dependencies
```bash
pip install -r requirements.txt
```4. Add your username and access key to an .env file. Head over to [LambadaTest Dashboard](https://accounts.lambdatest.com/security) to get it.
5. To run the tests, simply execute the script with Python:
```bash
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]]([email protected]) for any queries or ping me on the following social media sites:
- LinkedIn: [Sophia Iroegbu](https://www.linkedin.com/m/in/sophia-iroegbu)
- Twitter: [sophiairoegbu_](https://twitter.com/sophiairoegbu_)