Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeconiahb/swag-lab_automation
This project focuses on automation testing for the e-commerce application Sauce Demo using Selenium and Python. The automation is designed to ensure that key functionalities of the application are working correctly, specifically in the context of login and transactions.
https://github.com/jeconiahb/swag-lab_automation
automation phyton selenium
Last synced: 8 days ago
JSON representation
This project focuses on automation testing for the e-commerce application Sauce Demo using Selenium and Python. The automation is designed to ensure that key functionalities of the application are working correctly, specifically in the context of login and transactions.
- Host: GitHub
- URL: https://github.com/jeconiahb/swag-lab_automation
- Owner: jeconiahb
- Created: 2024-08-24T16:15:53.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-24T18:07:55.000Z (6 months ago)
- Last Synced: 2024-09-29T02:01:24.967Z (5 months ago)
- Topics: automation, phyton, selenium
- Language: Python
- Homepage: https://www.saucedemo.com/
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Selenium Automation with Python
This project uses Selenium with Python for web browser automation. Follow these steps to get started.
## Prerequisites
- **Python 3.12.5: [Download and install Python](https://www.python.org/downloads/).
- **WebDriver**: Browser driver for Selenium## Setup Instructions
### 1. Clone this repo locally
### 2. Install Selenium
Open your terminal and run:
```bash
pip install selenium
```
### 3. Download WebDriver- **ChromeDriver**: [Download here](https://storage.googleapis.com/chrome-for-testing-public/128.0.6613.84/win64/chromedriver-win64.zip)
Place the WebDriver executable in a directory that's in your system's PATH, or specify the path in your scripts.
### 4. Verify Installation
Create a Python script to check WebDriver:
```python
from selenium import webdriverdriver = webdriver.Chrome() # Use webdriver.Firefox() for Firefox
driver.get('https://www.google.com')
driver.quit()
```Run the script to ensure WebDriver is working.
## Running Tests
Execute your tests with:
```bash
python run_all.py
```