A robot framework library to integrate robot tests with Testrail
Project description
robotframework-testrail-library
This is a robot framework library to be used with Testrail API.
Installation:
pip install robotframework-testrail-library-nerajarolle
Example Usage:
*** Settings ***
Library TestrailLibrary
Suite Setup connect to testrail ${SERVER}
... ${TESTRAIL_USERNAME} ${TESTRAIL_KEY}
*** Test Cases ***
Test Get Project
[Tags] project id
${project} Get Project 1
IF ${project}
Log To Console ${project}
ELSE
Log To Console Project id 1 Not found
END
Test Get Project by Name
[Tags] project name
${project} Get Project by Name TA Test Project
IF ${project}
Log To Console ${project}
ELSE
Log To Console TA Test Project Not found
END
Test Update Run Status
[Tags] update_status
${params} Create Dictionary project_id=${PROJECT_ID} run_name=Run number 1
... suite_name=${SUITE_NAME} test_name=${TEST_NAME} section_name=${SUITE_NAME}
... elapsed=20s comment=a comment
${response} set status on test run status_id=1 &{params}
IF ${response}
log To Console ${response}
ELSE
log to console Failed to update run ${response}
END
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
Built Distribution
Close
Hashes for robotframework-testrail-library-nerajarolle-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9921407b51b19b01ff6b344b8d1b7211454b5485b6fe37581582644e2b3d038a |
|
MD5 | df4af2d6dc12619494ff6c412c3cedb3 |
|
BLAKE2b-256 | cf6859a1e30c1021a7ba87322a55ab723d4c74ab4392ec5724b2996e39a20ef2 |
Close
Hashes for robotframework_testrail_library_nerajarolle-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6292a081ce6fe29c309255059eae3e4cb73fd6b2c2d59b172ca7fdaff7f3861 |
|
MD5 | 4d139ad6598167312a6fac36bb0f460e |
|
BLAKE2b-256 | 0d3518c215b6da6a4732f57def659f50a58068873e55da21c47e7ad0a9620ad1 |