Automation testing practice project based on Odoo ERP system
This project demonstrates software validation techniques through automation testing of Odoo 16 ERP system:
- Purpose: Learn and practice software validation techniques
- Scope: Three business modules (Lunch, Fleet, OM Hospital)
- Frameworks: Selenium, Robot Framework, Odoo native testing
Note: OM Hospital needs to be downloaded from Odoo Apps.
- Python 3.8+
- Chrome browser
- Odoo 16 instance running locally
- Install dependencies:
pip install -r requirements.txt
- Configure
config/config.py
with your Odoo credentials - Run tests:
# UI automation tests python scripts/run_ui_tests.py --framework selenium python scripts/run_ui_tests.py --framework robot # Unit tests python scripts/run_unit_tests.py
Usage Instructions: Ensure your Odoo 16 instance is properly configured and running, with relevant application modules installed before running tests.
App | Test Type | Test Cases | Covered Features |
---|---|---|---|
Lunch | Selenium | 4 | Order creation, cash flow, order history |
Lunch | Robot Framework | 3 | Complete order workflow, cash management |
Fleet | Selenium | 4 | Vehicle creation, service management |
OM Hospital | Selenium | 6 | Patient management, doctor management |
App | Test Classes | Test Methods | Covered Scenarios |
---|---|---|---|
Lunch | 3 | 8 | Product creation, supplier management, topping functionality |
Fleet | 4 | 12 | Vehicle creation, state management, contract management |
OM Hospital | 3 | 10 | Patient management, doctor management, appointment system |
The project supports the following test report formats:
- HTML Reports: Detailed test execution reports with test results and coverage
- Console Output: Real-time test progress display and error information
- Markdown Reports: Test overview and statistical information
Note: The
reports/
directory contains sample test reports showcasing the project's testing capabilities and report formats. In actual use, running test scripts will automatically generate the latest report files.
This project was individually developed as part of the Software Validation course. I was responsible for the complete design and implementation of all testing components:
- Unit Tests: Designed and implemented comprehensive test suites for Lunch, Fleet, and OM Hospital modules using Odoo's native testing framework
- Selenium UI Tests: Developed automated UI workflows covering all three business modules
- Keyword-Driven Tests: Created Robot Framework test suite for Lunch module to validate end-to-end order workflows
- Project Architecture: Structured the project, integrated reporting systems, and documented all results
Project Summary: Automation testing practice project based on Odoo ERP system, showcasing the application of multiple testing frameworks and comprehensive test strategy design.