UiToolkitTester
8 tools in this family (folder Editor/Tools/UiToolkitTester/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.
| Tool | Effect | Description |
|---|---|---|
uitester_assert_class_present | read-only | Assert that an element (resolved by name) carries a specific USS class. |
uitester_assert_visible | read-only | Assert that an element is rendered to screen: resolvedStyle.display != None AND |
uitester_click_button | writes | Find a Button by name in a UIDocument and invoke its clicked callback. |
uitester_dump_uidocument_hierarchy | read-only | Dump the entire VisualElement tree of a UIDocument as nested JSON. |
uitester_query_by_class | read-only | Run UQuery.Q(className=...) against a UIDocument. Returns metadata for every matching element. |
uitester_query_by_name | read-only | Run UQuery.Q(name=...) against a UIDocument and return metadata for every matching element |
uitester_query_by_selector | read-only | Resolve a SIMPLE USS-style selector against a UIDocument. Supported shapes: |
uitester_set_text_field | writes | Find a TextField (or any string-valued field) by name and write a new value. |