Robot Framework test library for serial connection
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file robotframework-seriallibrary-0.4.3.tar.gz
.
File metadata
- Download URL: robotframework-seriallibrary-0.4.3.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Darwin/21.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f20befe5c1106dd8ddca9f60a2f18bf5ec7d5f06f6f09a03fa66bae54777e6bb |
|
MD5 | e79d795432461e36bd7ae16700d02eb8 |
|
BLAKE2b-256 | 896105a4061d3983e6ed619ec1e2ab26bc1d216c50390d26b3a46970a8856700 |
File details
Details for the file robotframework_seriallibrary-0.4.3-py2.py3-none-any.whl
.
File metadata
- Download URL: robotframework_seriallibrary-0.4.3-py2.py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Darwin/21.3.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98473bb38f8baeeffb4b3a33e9712a3b50a78d118fa210a1be36f4beeaa88963 |
|
MD5 | 9e487e6bacbe6afdba5e102d35e30b0b |
|
BLAKE2b-256 | 18cc6e57457ccec62f961fccfc266b4cec08dfc50333a73cf431b0b0f639db90 |