Stb-tester Manual#
Automated Testing for Set-Top Boxes and OTT devices.
Contents:
- Python API Overview
- Python API Reference
adb()
AdbDevice
AdbError
AppleTV
apply_ocr_corrections()
as_precondition()
audio_chunks()
AudioChunk
BGRDiff
Color
color_diff()
ConfigurationError
ConfirmMethod
crop()
detect_motion()
detect_pages()
Differ
Direction
draw_text()
find_file()
find_regions_by_color()
find_selection_from_background()
Frame
FrameObject
frames()
get_config()
get_frame()
get_rms_volume()
GrayscaleDiff
Grid
Image
is_screen_black()
Keyboard
Keypress
last_keypress()
Learning
load_image()
load_mask()
Mask
match()
match_all()
match_text()
MatchMethod
MatchParameters
MatchResult
MatchTimeout
MotionResult
MotionTimeout
MultiPress
navigate_1d()
navigate_grid()
NavigationFailed
NavigationState
ocr()
ocr_eq()
OcrEngine
OcrMode
OcrMode.ORIENTATION_AND_SCRIPT_DETECTION_ONLY
OcrMode.PAGE_SEGMENTATION_WITH_OSD
OcrMode.PAGE_SEGMENTATION_WITHOUT_OSD_OR_OCR
OcrMode.PAGE_SEGMENTATION_WITHOUT_OSD
OcrMode.SINGLE_COLUMN_OF_TEXT_OF_VARIABLE_SIZES
OcrMode.SINGLE_UNIFORM_BLOCK_OF_VERTICALLY_ALIGNED_TEXT
OcrMode.SINGLE_UNIFORM_BLOCK_OF_TEXT
OcrMode.SINGLE_LINE
OcrMode.SINGLE_WORD
OcrMode.SINGLE_WORD_IN_A_CIRCLE
OcrMode.SINGLE_CHARACTER
OcrMode.SPARSE_TEXT
OcrMode.SPARSE_TEXT_WITH_OSD
OcrMode.RAW_LINE
pdu()
PDU
Position
PreconditionError
press()
press_and_wait()
pressing()
press_until_match()
Counter
Gauge
Histogram
Region
Region.x
Region.y
Region.right
Region.bottom
Region.width
Region.height
Region.center
Region.from_extents()
Region.bounding_box()
Region.intersect()
Region.to_slice()
Region.contains()
Region.translate()
Region.extend()
Region.replace()
Region.dilate()
Region.erode()
Region.above()
Region.below()
Region.right_of()
Region.left_of()
RmsVolumeResult
Roku
segment()
set_global_ocr_corrections()
Size
stop_job()
TextMatchResult
Transition
TransitionStatus
UITestFailure
VolumeChangeDirection
VolumeChangeTimeout
wait_for_content_start()
wait_for_match()
wait_for_motion()
wait_for_transition_to_end()
wait_for_volume_change()
wait_until()
- Python API Release Notes
- HTTP REST API v2
- stbt_rig Command-Line Tool
- Configuration Reference
- User Interface Reference
- User Access Control
- Power Distribution Units
- Frequently Asked Questions
- Controlling Apple TV with pyatv
- Lint checks in pull requests
- Interactive log viewer
- Investigating intermittent bugs
- How to structure your test scripts for re-use across multiple platforms
- Regions and Masks
- Finding GUI elements by color
- Using segmentation to find GUI elements
- Testing on-screen keyboards