Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/silasfrancis/nopcommerce-automation-testing_pytest-framework
A Web Automation test project written in python using a Pytest Hybrid Framework.
https://github.com/silasfrancis/nopcommerce-automation-testing_pytest-framework
pycharm-ide pytest pytest-framework python selenium selenium-webdriver web-automation-testing
Last synced: 3 months ago
JSON representation
A Web Automation test project written in python using a Pytest Hybrid Framework.
- Host: GitHub
- URL: https://github.com/silasfrancis/nopcommerce-automation-testing_pytest-framework
- Owner: silasfrancis
- Created: 2024-03-22T10:22:12.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-07-06T16:29:30.000Z (6 months ago)
- Last Synced: 2024-09-26T06:03:48.751Z (3 months ago)
- Topics: pycharm-ide, pytest, pytest-framework, python, selenium, selenium-webdriver, web-automation-testing
- Language: Python
- Homepage:
- Size: 108 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Testing nopCommerce Demo Application
This project involves the testing of the Customers Module on the nopCommerce Demo Platform using the Pytest FrameWork## Features
- Page Object Model
- HTML Reports
- Data Driven Testing
- Automation logs
- Multiple Browsers Support
- Parallel Testing## Test Scenarios
- Login into the nopCommerce demo site: https://admin-demo.nopcommerce.com/admin/
- Add New Customer
- Search For Customer
- Search for Customer by Name
- Search for Customer by ID
- Export Customers
- Export All Customers
- Export Selected Customers
- Login via test Data in xlsx file## Languages, libraries and tools used
- Python
- Pytest
- pytest-html
- pytest-xdist
- Openpyxl
- Allure-pytest## Installation
To install the required libraries for distributed testing, run the following command in your terminal:
```bash
pip install -U pytest
pip install pytest-html
pip install pytest-xdist
pip install openpyxl
pip install allure-pytest
```## Test Execution
Test Execution commands can be found in the run.bat file located in this respository#### Browser Supported:
- Chrome (--browser chrome)
- Edge (--browser edge)
- Firefox (--browser firefox)
```bash
e.g.
pytest -s -v -m "sanity" --html=./Reports/report.html testCases/ --browser chrome
```
> This will run test on Chrome Browser_N/B: If no browser is specified test will be executed on chrome_