Welcome to the NopCommerce Test Automation Framework repository. This project contains automated test scripts for the NopCommerce application, utilizing Selenium WebDriver, Python and PyTest. The framework is designed to ensure the robustness and reliability of the NopCommerce application through comprehensive automated testing.
- Automated Tests: Test cases for the NopCommerce application using different sets of data.
- Selenium WebDriver: Utilizes Selenium WebDriver for browser automation.
- Python: Test scripts are written in Python for simplicity and readability.
- Reporting: Generates detailed test execution reports.
- Logging: Captures detailed logs for debugging purposes.
To set up the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/SurajBehera23/Nopcommerce.git cd Nopcommerce
-
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install dependencies:
pip install -r requirements.txt
To run the tests, use the following command:
pytest
This command will execute all the test cases and generate a report.
Nopcommerce/
├── base_pages/ # Base page classes for Page Object Model
├── configurations/ # Configuration files and settings
├── logs/ # Log files
├── reports/ # Test reports
├── screenshot/ # Screenshots captured during test execution
├── test_cases/ # Test case scripts
├── test_data/ # Test data files
├── utilities/ # Utility functions and helpers
- base_pages/: Contains base classes for Page Object Model, defining common functionalities for web pages.
- configurations/: Contains configuration files and settings required for the test execution.
- logs/: Contains log files generated during test execution.
- reports/: Contains test execution reports.
- screenshot/: Contains screenshots captured during test execution, useful for debugging.
- test_cases/: Contains the test case scripts.
- test_data/: Contains data files used for data-driven testing.
- utilities/: Contains utility functions and helper scripts.
Contributions are welcome! Please fork this repository and submit pull requests with any enhancements or bug fixes.
- Fork the repository.
- Create a new branch.
- Make your changes.
- Submit a pull request.
For any questions or inquiries, please contact:
- Suraj Behera - [email protected]