Simulate UI interactions
By using the test fixtures, you can simulate user interactions like mouse clicks, mouse movements, keyboard input, scrolling, or interacting with context or popup menus. See Introduction to test fixtures for more information about the test fixtures and how to use them.
| Topics | Description |
|---|---|
| Click on a visual element | Simulate a click on a visual element. |
| Double-click on a visual element | Simulate a double-click on a visual element. |
| Type into a text field | Simulate typing text into a text field. |
| Move mouse to a visual element | Simulate moving the mouse to a visual element. |
| Drag an element from one place to another | Simulate dragging an element from one place to another. |
| Press keys | Simulate pressing keys. |
| Press Tab or Return keys | Simulate pressing Tab or Return keys. |
| Scroll in a ScrollView | Simulate scrolling in a ScrollView. |
| Simulate context menu actions | Validate and simulate a context menu's actions. |
| Simulate popup menu actions | Validate and simulate a popup menu's actions. |