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
Usage
- 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 (android-set-top-box.py)
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")
print("sendRCKey")
result = setTopBox.sendRCKey("menu")
print(result.message)
if not result.success:
session.addFail(result.message)
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"
}
]
}
Compatibility
The version is compatible with testwizard version 3.7
License
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file testwizard.android-set-top-box-3.8.1.tar.gz.
File metadata
- Download URL: testwizard.android-set-top-box-3.8.1.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
923023c1cbeabd634d9772707014eb9e5103d157972b2d6e53248e1d5da04cd4
|
|
| MD5 |
1838ec887c420ffc0f9464cfbdcb5138
|
|
| BLAKE2b-256 |
574e9d92db377f318cef6f7bb5f5c4fe87285be7c561baada2d53f46dc1aa6aa
|
File details
Details for the file testwizard.android_set_top_box-3.8.1-py3-none-any.whl.
File metadata
- Download URL: testwizard.android_set_top_box-3.8.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
898aaec419fdbafb5d84a99b0551b2d222d5ab21c9316e9c3e0139c5056a4c4c
|
|
| MD5 |
e4badfe772838c1b6afe1a923b0c15d8
|
|
| BLAKE2b-256 |
d50a489f60b0d5f5d6b24e8d0dc3725c24b1bc48e98526a0f6215c7f0be4567a
|