Skip to main content

TestLink API XML-RPC Client

Project description

testlink-api-client

org author github pypi ref

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

TestlinkApiClient-0.1.8.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

TestlinkApiClient-0.1.8-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file TestlinkApiClient-0.1.8.tar.gz.

File metadata

  • Download URL: TestlinkApiClient-0.1.8.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.1.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.0

File hashes

Hashes for TestlinkApiClient-0.1.8.tar.gz
Algorithm Hash digest
SHA256 6b16d3c07a0a400d849068184da1aa37e3dd56d232efe2e7aaf53dbad86e7e61
MD5 8257403569b70a2919bb4abe2251df69
BLAKE2b-256 748d106ca58477f17098b0460c57b894b404abc1c906f55a0e6fd564a2aea037

See more details on using hashes here.

File details

Details for the file TestlinkApiClient-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: TestlinkApiClient-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.1.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.0

File hashes

Hashes for TestlinkApiClient-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b6f7371aabfbae2e468770410a93758e78dee0e93dc745a44a2cf531bbf78c57
MD5 f7184498fcafed48b05f1cb6a7afb0b6
BLAKE2b-256 320964a9dfe1a7adc14c9b89cf44009508fbeb1134edd6ae1ae35ee9948deb24

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page