Module Tuitest
In: swig/tuitest_wrap.c
swig/lib/tuitest.rb

Methods

Classes and Modules

Class Tuitest::Verifier

Public Class methods

str = Tuitest.gettext(1, 3, 10)

Returns 10 characters of text starting at row 1 (0-based), column 3 (0-based).

Tuitest.screen_contains_text

Returns true if the current screen contains a line that matches the specified regular expression.

Tuitest.wait_until_expected_text

Waits until the expected text appears on the specified screen coordinates. Optionally, a timeout can be specified. A return value of true indicates that the the expected text was found, while a return value of false indicates that the function ran into the specified timeout.

Tuitest.wait_until_idle

Waits until there is no screen change for more than 1 second.

Tuitest.wait_until_screen_contains_text

Waits until the regular expression rx matches any of the screen‘s lines. Optionally, a timeout (in milliseconds) can be specified. A return value of true indicates that the regular expression matched some text, while a return value of false indicates that the function ran into the specified timeout.

[Validate]