TestLink API XML-RPC Client
Project description
testlink-api-client
XML-RPC Client For TestLink
Installation
#!/bin/bash
pip install TestlinkApiCLient
Example
#!/usr/bin/env python
from TestlinkApiClient.xmlrpc import TestlinkClient
# Connect Testlink
testlink = TestlinkClient(url='Testlink Access Url', user='Testlink Username', dev_key='Personal Api Key')
# List Project
testlink.list_project()
Function List
- Project Operations
testlink.list_project()
testlink.create_project(project_name='Project Name')
testlink.create_project(project_name='Project Name', prefix='Prefix')
testlink.delete_project(project_name='Project Name')
- Plan Operations
testlink.list_plan(project_name='Project Name')
- Suite Operations
testlink.list_suite(project_name='Project Name')
testlink.list_suite(project_name='Project Name', suite_name='Suite Name')
testlink.get_suite(project_name='Project Name', suite_name='Suite Name')
testlink.create_suite(project_name='Project Name', suite_name='Suite Name')
testlink.create_suite(project_name='Project Name', suite_name='Suite Name', parent_suite_name='Parent Suite Name')
- Case Operations
testlink.get_case(project_name='Project Name', case_ext_id='Test Case External ID')
testlink.create_case(project_name='Project Name', suite_name='Suite Name', case_name='Test Case Title')
testlink.create_case(project_name='Project Name', suite_name='Suite Name', case_name='Test Case Title', summary='Test Case Summary', steps='Test Case Steps')
testlink.update_step(case_ext_id='Test Case External ID', steps='Test Case Steps')
testlink.set_execution_result(project_name='Project Name', plan_name='Plan Name', build_name='Build Name',
case_ext_id='Test Case External ID', case_exe_result='Execition Result')
testlink.set_execution_result(project_name='Project Name', plan_name='Plan Name', build_name='Build Name',
case_ext_id='Test Case External ID', case_exe_result='Execution Result',
notes='Execution Log or Notes')
testlink.get_last_execution_result(project_name='Project Name', plan_name='Plan Name', case_ext_id='Test Case External ID')
Parameters Description
- Test Case Steps
Steps is a list, every step format could find from testlink.step_template
- Execution Result
PASS: p, pass, passed
FAIL: f, fail, failed
BLOCK: b, block, blocked
Rest Client For TestLink
In The Future
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 TestlinkApiClient-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4650be7b253a4c0a78d3235568e1047cee5f90afc9c965165b30e5b646a43f0 |
|
MD5 | f8e0cc697bfb8be70051bbcbf1d77de3 |
|
BLAKE2b-256 | 96d54835033e6cb92b109e3ed8b78f49cea65d59ee405e24f194735b5d62e21e |