Navigation
API > API/Developer > API/Developer/AutomationDriver
The AsyncAutomationDriver is the async varition of the general AutomationDriver API. The AutomationDriver can create sequences and locate elements to simulate input for.
| Name | IAsyncAutomationDriver |
| Type | class |
| Header File | /Engine/Source/Developer/AutomationDriver/Public/IAutomationDriver.h |
| Include Path | #include "IAutomationDriver.h" |
Syntax
class IAsyncAutomationDriver
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedRef< IAsyncDriverSequence, ESPMode::ThreadSafe > CreateSequence() |
IAutomationDriver.h | ||
TSharedRef< IAsyncDriverElement, ESPMode::ThreadSafe > FindElement
(
const TSharedRef< IElementLocator, ESPMode::ThreadSafe >& ElementLocator |
This is a non-blocking call and doesn't invoke the locator until some action is performed on the element. | IAutomationDriver.h | |
TSharedRef< IAsyncDriverElementCollection, ESPMode::ThreadSafe > FindElements
(
const TSharedRef< IElementLocator, ESPMode::ThreadSafe >& ElementLocator |
This is a non-blocking call and doesn't invoke the locator until some action is performed on the element. | IAutomationDriver.h | |
TSharedRef< FDriverConfiguration, ESPMode::ThreadSafe > GetConfiguration() |
IAutomationDriver.h | ||
TAsyncResult< FVector2D > GetCursorPosition() |
IAutomationDriver.h | ||
TAsyncResult< FModifierKeysState > GetModifierKeys() |
IAutomationDriver.h | ||
TAsyncResult< bool > Wait
(
FTimespan Timespan |
Performs an async wait no shorter than for the specified Timespan | IAutomationDriver.h | |
TAsyncResult< bool > Wait
(
const FDriverWaitDelegate& Delegate |
Performs an async wait until the specified DriverWaitDelegate returns a PASSED or FAILED response | IAutomationDriver.h |