testudos
testudos
Testudos Python SDK: API for GUI testing.
Import everything you need from this package::
from testudos import setup_client, select_aut, start_app, stop_app from testudos import wait_for_object from testudos.testing import test, expect
Connection — setup_client(), then select_aut / start_app / stop_app.
Objects — wait_for_object, get_object, wait_for_text, tree helpers.
Actions — click_at, mouse/keyboard helpers, signals.
Assertions — from testudos.testing import test, expect (also re-exported at
package root). test.compare / test.verify stop on failure (hard assert).
expect.compare / expect.verify collect failures; pytest calls
expect.verify_all() after each test automatically.
Images — capture_screen, capture_item, compare_files.
Example::
from testudos import setup_client, select_aut, start_app, stop_app, wait_for_object, test
setup_client() select_aut(“your_engine_profile_name”) start_app() btn = wait_for_object(“primaryButton”) btn.click() btn.text = “Hello” test.compare(btn.text, “Hello”) stop_app()