omni.kit.ui_test Functions#
Functions Summary:
Emulate Keyboard char input. Type N chars immediately and do a delay, then continue. |
|
Emulate Keyboard key combination. |
|
Emulate Keyboard key press. Down and up. |
|
Emulate Mouse single or double click. |
|
Emulate Mouse Drag & Drop. Click at start position and slowly move to end position. |
|
Emulate Mouse move into position. |
|
Emulate Mouse move into position and click. |
|
Emulate Mouse scroll by delta. |
|
Find omni.ui Widget or Window by search query. `omni.ui_query` is used under the hood. |
|
Find all omni.ui Widget or Window by search query. |
|
Find first omni.ui Widget or Window by search query. |
|
Find a widget with retry mechanism, attempting multiple times until found or maximum retries reached. |
|
Retrieve the structure and available items from a context menu. |
|
Get the main window’s menu bar wrapped in a MenuRef object. |
|
Imitate human delay/slowness. |
|
Click on a menu item by navigating through the menu hierarchy path. |
|
Emulate selection of context menu item with mouse. |
|
Wait N updates (frames). |