Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Main automation lib

Project description

qatestlink XMLRPC manager for Testlink

Issues on Github Pull Request opened on Github Release version on Github Release date on Github
Branch Linux Deploy Windows Deploy

Python tested versions

3.7 3.6 3.5 3.4 >=3.3
Supported Supported Supported Supported Not Supported

How to install ?

  • Install from PIP : pip install qatestlink
  • Install from file : python install


How to exec tests ?

    1. Install dependencies for tests : pip install -r requirements-tests.txt
    1. Tests from file : python test
    1. Install TOX : pip install tox
    1. Tests from tox : tox -l && tox -e TOX_ENV_NAME ( see tox.ini file to get environment names )
TOX Env name Env description
py34,py35,py36 Python supported versions
docs Generate doc HTML in /docs
flake8 Exec linter in qalab/ tests/
coverage Generate XML and HTML reports

Configuration File

        "is_https": false,
        "host": "",
        "port": 86
    "dev_key": "1bfd2ef4ceda22b482b12f2b25457495",


You will need real testlink app running before you can just execute on command line

python test

Getting Started

Just starting example of usage before read Usage Guide.

    1. Create JSON configuration ( runtime or read from file, read config section )
    1. Instance testlink_manager object testlink_manager = TLManager(settings=my_json_config)
    1. Use some method name with prefixapi_
from qatestlink.core.testlink_manager import TLManager
from qatestlink.core.utils import settings

SETTINGS = settings(

    tlm = TLManager(settings=SETTINGS)
    if not tlm.api_login():
        raise Exception("Not logged for TestlinkWebApp")
    # END
    print("Test PASSED!")
except Exception as err:
    print("ERROR: {}".format(err))
    import pdb; pdb.set_trace() # TODO, remove DEBUG lane
    print("Test FAILED!")

Project details

Download files

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

Files for qatestlink, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size qatestlink-0.1.2.tar.gz (59.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page