🚗 CANoe Robot Framework Library
A custom Robot Framework library for automating CANoe using Python.
This library provides reusable keywords to control CANoe, interact with CAN signals, perform diagnostics, manage replay blocks, handle environment/system variables, and execute test modules.
🔥 Features
- CANoe automation using Robot Framework
- Signal read/write support
- Diagnostic request handling (UDS)
- Replay block control
- Environment & System variable handling
- Test module execution
📦 Installation
pip install canoe-robot-lib
⚙️ Requirements
- Python 3.7+
- Robot Framework
- py_canoe library
- CANoe installed (Vector tool)
- Valid CANoe license
📂 Usage
Import the library in your Robot Framework test file:
*** Settings ***
Library canoe_robot_lib.keywords.CanoeLibrary
🧪 Example Test Case
*** Variables ***
${cfg} path_to_cfg_file.cfg
*** Test Cases ***
Basic CANoe Test
Start CANoe ${cfg}
Set Signal CAN 1 Msg Signal 1
${val}= Get Signal CAN 1 Msg Signal
Should Be Equal As Numbers ${val} 1
Stop CANoe
📘 Keywords Documentation
Detailed keyword descriptions are available in:
➡️ KEYWORDS.md
📌 Notes
- CANoe configuration (.cfg) must be valid before execution
- User should have knowledge of CANoe setup (signals, DBC, test modules)
- Boolean inputs (True/False) are used for control keywords like replay
- Some features depend on CANoe configuration setup
👨💻 Author
Naresh Kothari System Test Engineer – Automotive Domain
🚀 Future Enhancements
- Wait For Signal keyword
- Logging block support
- BLF replay validation
- Advanced reporting integration
📄 License
This project is licensed under the MIT License.
Metadata
Release files for canoe-robot-lib 0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| canoe_robot_lib-0.8.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| canoe_robot_lib-0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.1 kB
Release files / canoe_robot_lib-0.8.tar.gz
| Download URL | canoe_robot_lib-0.8.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2490fbeb0f84cb14e9e995f3a3a06d3e02ade966e0757be6db881d717b9b1f13
|
|
BLAKE2b-256 checksum How to use checksums |
ae729fb10eb74a59a6c297522557cec4ffe95b43781b8bb919daa1af7c10e747
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Release files / canoe_robot_lib-0.8-py3-none-any.whl
| Download URL | canoe_robot_lib-0.8-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5d4e26ed12145d96f642f933817c4165e5ff293fc04fdc7f8305a249bf3137f
|
|
BLAKE2b-256 checksum How to use checksums |
74a7169cd2ca60b784c12e542fbd7b5990534369e1fe767a584cc12a963a6540
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|