Pre-release
This release is a pre-release and may not be stable for production use.
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.8.1
License
Metadata
Release files for testwizard.android-set-top-box 3.8.1b4810
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| testwizard.android-set-top-box-3.8.1b4810.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| testwizard.android_set_top_box-3.8.1b4810-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / testwizard.android-set-top-box-3.8.1b4810.tar.gz
| Download URL | testwizard.android-set-top-box-3.8.1b4810.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
051d7b180f04aafca2fc9911993bb9869b7612c6abeb2dfa0f6f46e5f67b46f7
|
|
BLAKE2b-256 checksum How to use checksums |
28fe50ee3eb487e277198421b7de05971bf082ddc064775914b12aef6f40e47b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.13
|
Release files / testwizard.android_set_top_box-3.8.1b4810-py3-none-any.whl
| Download URL | testwizard.android_set_top_box-3.8.1b4810-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d389d80c293903788d21896e32f8175429880ad2bd6e60da991b58199327531d
|
|
BLAKE2b-256 checksum How to use checksums |
3c76fc16447278e271c6703657683f68e5d002fc2d99b8a8ba169bbae32778be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.13
|