This repository contains automated tests for eBay using Selenium and Python Behave. The tests are written in Gherkin syntax and can be easily understood by both technical and non-technical stakeholders.
- Automated tests for various eBay functionalities
- Easy-to-understand Gherkin syntax
- Integration with Selenium for browser automation
- Detailed test reports for easy analysis
- Generation of Allure reports for better visualization of test results
Before running the tests, make sure you have the following installed:
- Python 3.x
- Selenium WebDriver
- Behave
- Allure
- Clone the repository:
git clone https://github.com/muhit-khan/eBay_QA_Automation_Python-Selenium-Behave-Allure-BDD.git
- Install the required dependencies:
pip install -r requirements.txt
- Set up the test environment:
- Download the Selenium WebDriver for your browser of choice (e.g., ChromeDriver)
- Update the
webdriver
variable inbehave.ini
to point to the WebDriver executable
- Run the tests:
behavebehave -f allure_behave.formatter:AllureFormatter -o reports/ features
- View the test reports:
allure serve reports
To run the tests, navigate to the repository root and execute the following command: behave -f allure_behave.formatter:AllureFormatter -o reports/ features
To view the test reports, navigate to the repository root and execute the following command: allure serve reports
This will generate an HTML report that can be accessed in a web browser.
This project is licensed under the MIT License. See LICENSE for details.