Robot Framework test library for serial connection
Project description
This is a serial port test library for Robot Framework.
Example:
*** settings *** Library Serial loop:// encoding=ascii *** test cases *** Hello serial test Write Data Hello World Read Data Should Be Hello World
Another Example:
*** settings *** Library Serial *** 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
Close
Hashes for robotframework-serial-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61fce8602d1b0a0b82fe6ba45f9a34a7eca810a2547ea253672c91481dc86693 |
|
MD5 | 535881a2aa81e94f99047586849b6705 |
|
BLAKE2b-256 | af85c71ae44920c6ed648424c389a006143bbbf82b57ab7b43fe3c71ea93073d |
Close
Hashes for robotframework_serial-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b89333bd57d0b825090d0dd3e653cb9e2045a6a91d4bc41477ddcf62a8480f5d |
|
MD5 | 5b6a480f93cd1f06db3f46297afc6f10 |
|
BLAKE2b-256 | af035e0e8cd59bcd2d7eeea9de8d233aa7ae5e49527be375365b94e42c8f3123 |