Module | Tuitest |
In: |
swig/lib/tuitest.rb
swig/tuitest_wrap.c |
str = Tuitest.gettext(1, 3, 10)
Returns 10 characters of text starting at row 1 (0-based), column 3 (0-based).
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_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.