Skip to main content

Testwizard for Android set-top box testobjects

Project description

Testwizard - Android set-top-box

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


  • Import the testwizard.test and the testwizard.android_set_top_box packages.
  • Get a session and use it to create an Android 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.test import TestWizard
from testwizard.test import ResultCodes
from testwizard.android_set_top_box import AndroidSetTopBox

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

    setTopBox = AndroidSetTopBox(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 (android-set-top-box.json)

    "resources": [
            "category": "ANDROID_STB_TV", 
            "name": "SetTopBox", 
            "id": "SetTopBox 1"


The version is compatible with testwizard version 3.7


Testwizard licensing

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 (5.3 kB view hashes)

Uploaded Source

Built Distribution

Supported by

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