Skip to main content

Testwizard for set-top box testobjects

Project description

Testwizard - set-top-box

Python language support for testing set-top box devices using testwizard


  • import the testwizard.core and the testwizard.set_top_box packages
  • get a sesion and use it to create an set-top box testobject.
  • Use this object to execute commands
  • You can use the session to add results that will be reported to the robot when the script finishes or set results that will be posted immediately.

Sample script

Python (

from testwizard.core import TestWizard
from testwizard.core import ResultCodes
from testwizard.set_top_box import SetTopBox

with TestWizard() as TW:
    session = TW.session

    print(f"param1 = {session.parameters['param1']}")
    print(f"param2 = {session.parameters['param2']}")

    setTopBox = SetTopBox(session, "SetTopBox")

    result = setTopBox.sendRCKey("menu")
    if not result.success:

    if not (session.hasFails or session.hasErrors):
        session.setResult(ResultCodes.PASS, "Test was successful")

sidecar file (set-top-box.json)

    "tester": "Some tester",
    "parameters": [
        { "name": "param1", "value": "value1"},
        { "name": "param2", "value": "value2"}
    "resources": [{ "category": "STB", "name": "SetTopBox", "id": "SetTopBox 1"}
    "outputFolder": "c:\\temp"


Testwizard licensing

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 testwizard.set-top-box, version 3.1.14
Filename, size File type Python version Upload date Hashes
Filename, size testwizard.set_top_box-3.1.14-py3-none-any.whl (4.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size testwizard.set-top-box-3.1.14.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page