Skip to main content

Robot Framework keywords for UDS (Unified Diagnostic Services) communication

Project description

RobotFramework_UDS Package Description

Getting Started

The library RobotFramework_UDS provides a set of Robot Framework keywords for sending UDS (UnifiedDiagnostic Services) requests and interpreting responses from automotive electronic control units (ECUs).

Whether you're testing diagnostic sessions, reading data, or controlling routines on an ECU, the UDS Library simplifies these tasks by offering specific keywords for almost any UDS service as defined in ISO 14229.

These keywords are designed to handle the complexity of UDS communication, enabling you to write efficient and reliable automated tests.

How to install

The RobotFramework_UDS can be installed in two different ways.

  1. Installation via PyPi (recommended for users)

    pip install RobotFramework_UDS
    

    RobotFramework_UDS in PyPi

  2. Installation via GitHub (recommended for developers)

    • Clone the robotframework-uds repository to your machine.

      git clone https://github.com/test-fullautomation/robotframework-uds.git
      

      RobotFramework_UDS in GitHub

    • Install dependencies

      RobotFramework_UDS requires some additional Python libraries. Before you install the cloned repository sources you have to install the dependencies manually. The names of all related packages you can find in the file requirements.txt in the repository root folder. Use pip to install them:

      pip install -r ./requirements.txt
      

      Additionally install LaTeX (recommended: TeX Live). This is used to render the documentation.

    • Configure dependencies

      The installation of RobotFramework_UDS includes to generate the documentation in PDF format. This is done by an application called GenPackageDoc, that is part of the installation dependencies (see requirements.txt).

      GenPackageDoc uses LaTeX to generate the documentation in PDF format. Therefore GenPackageDoc needs to know where to find LaTeX. This is defined in the GenPackageDoc configuration file

      packagedoc\packagedoc_config.json
      

      Before you start the installation you have to introduce the following environment variable, that is used in packagedoc_config.json:

      • GENDOC_LATEXPATH : path to pdflatex executable
    • Use the following command to install RobotFramework_UDS:

      setup.py install
      

Package Documentation

A detailed documentation of the RobotFramework_UDS package can be found here: RobotFramework_UDS.pdf

Feedback

To give us a feedback, you can send an email to Thomas Pollerspöck

In case you want to report a bug or request any interesting feature, please don't hesitate to raise a ticket.

Maintainers

Thomas Pollerspöck

Mai Minh Tri

Contributors

Holger Queckenstedt

Tran Duy Ngoan

License

Copyright 2020-2024 Robert Bosch GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

License: Apache v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the 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

RobotFramework_UDS-0.1.2.tar.gz (241.1 kB view hashes)

Uploaded Source

Built Distribution

RobotFramework_UDS-0.1.2-py3-none-any.whl (236.3 kB view hashes)

Uploaded Python 3

Supported by

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