Skip to main content

Testwizard for Smart TV testobjects

Project description

Testwizard - Smart-Tv

Python language support for testing Smart-Tv devices using testwizard


  • Import the testwizard.test and the testwizard.smart_tv packages
  • Get a session and use it to create a Smart TV 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.smart_tv import SmartTv

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

    smartTv = SmartTv(session, "SmartTv")

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

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

sidecar file (smart-tv.json)

    "resources": [
            "category": "SMART_TV", 
            "name": "SmartTv", 
            "id": "TV Model 1"


The version is compatible with testwizard version 3.7


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.

Source Distribution (5.6 kB view hashes)

Uploaded Source

Built Distribution

testwizard.smart_tv-3.7.0-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

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