Skip to main content

Robot Framework library for CANoe automation

Project description

🚗 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

canoe_robot_lib-0.6.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

canoe_robot_lib-0.6-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file canoe_robot_lib-0.6.tar.gz.

File metadata

  • Download URL: canoe_robot_lib-0.6.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for canoe_robot_lib-0.6.tar.gz
Algorithm Hash digest
SHA256 8f07c7baa3a25e4fcfdc7c270a95e27d362a4ae80c1e3d2aa329a3a89e46067f
MD5 7aeeff8ce5bdcf4ddf31d3f66431bdb8
BLAKE2b-256 c29d63fd22b08c9607b412e2b02b1306aba52a9ec5ed6847bc7720ee6a86f7c6

See more details on using hashes here.

File details

Details for the file canoe_robot_lib-0.6-py3-none-any.whl.

File metadata

  • Download URL: canoe_robot_lib-0.6-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.6

File hashes

Hashes for canoe_robot_lib-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 763bf9e9ad5b52c3100f97906d2e503779d324baae7bb5904e14cac70975aead
MD5 d81704ef079e7cda09fb3b48169efe84
BLAKE2b-256 1e171f358578d20f091887b506458da6b5eb939bd5c3034678b76c1f9e87610b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page