Skip to main content

This is a serial port test library for Robot Framework.

Example:

*** settings ***
Library    SerialLibrary    loop://    encoding=ascii

*** test cases ***
Hello serial test
     Write Data    Hello World
     Read Data Should Be    Hello World

Another Example:

*** settings ***
Library    SerialLibrary

*** test cases ***
Read Until should read until terminator or size
    [Setup]    Add Port    loop://    timeout=0.1
    ${bytes} =    Set Variable
    Write Data    01 23 45 0A 67 89 AB CD EF
    ${read} =    Read Until
    Should Be Equal As Strings    ${read}    01 23 45 0A
    ${read} =    Read Until   size=2
    Should Be Equal As Strings    ${read}    67 89
    ${read} =    Read Until   terminator=CD
    Should Be Equal As Strings    ${read}    AB CD
    ${read} =    Read Until
    Should Be Equal As Strings    ${read}    EF
    ${read} =    Read Until
    Should Be Equal As Strings    ${read}    ${EMPTY}
    [Teardown]    Delete All Ports

Release files for robotframework-seriallibrary 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robotframework-seriallibrary 0.4.3
File Size Uploaded
robotframework-seriallibrary-0.4.3.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for robotframework-seriallibrary 0.4.3
File Interpreter ABI Platform
robotframework_seriallibrary-0.4.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 19.6 kB

Release files / robotframework-seriallibrary-0.4.3.tar.gz

Download URL robotframework-seriallibrary-0.4.3.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f20befe5c1106dd8ddca9f60a2f18bf5ec7d5f06f6f09a03fa66bae54777e6bb
BLAKE2b-256 checksum
How to use checksums
896105a4061d3983e6ed619ec1e2ab26bc1d216c50390d26b3a46970a8856700
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.2 Darwin/21.3.0

Release files / robotframework_seriallibrary-0.4.3-py2.py3-none-any.whl

Download URL robotframework_seriallibrary-0.4.3-py2.py3-none-any.whl
Size 9.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
98473bb38f8baeeffb4b3a33e9712a3b50a78d118fa210a1be36f4beeaa88963
BLAKE2b-256 checksum
How to use checksums
18cc6e57457ccec62f961fccfc266b4cec08dfc50333a73cf431b0b0f639db90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.2 Darwin/21.3.0

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

1 release file

0.2.4

1 release file

0.2.3

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page