IAsyncDriverElement

Copyright Epic Games, Inc. All Rights Reserved.

Unreal Engine C++ API Reference > Developer > AutomationDriver

Inheritance Hierarchy

References

   
Module AutomationDriver
Header /Engine/Source/Developer/AutomationDriver/Public/IDriverElement.h
Include #include "IDriverElement.h"

Syntax

class IAsyncDriverElement : public [IElementLocator](API\Developer\AutomationDriver\IElementLocator)  

Remarks

Represents the async API for a potential application element

Functions

Type Name Description
TAsyncResult... CanFocus ()  
TAsyncResult... Click ( EMouseButtons::Type MouseButton ) Moves the cursor over the element, then triggers the series of events to invoke a click with the specified mouse button
TAsyncResult... Click () Moves the cursor over the element, then triggers the series of events to invoke a click with the left mouse button
TAsyncResult... DoubleClick ( EMouseButtons::Type MouseButton ) Moves the cursor over the element, then triggers the series of events to invoke a double click with the specified mouse button
TAsyncResult... DoubleClick () Moves the cursor over the element, then triggers the series of events to invoke a double click with the left mouse button
TAsyncResult... Exists ()  
TAsyncResult... Focus ( uint32 UserIndex ) Moves focus to the element for the specified user
TAsyncResult... Focus () Moves focus to the element for the default user
TAsyncResult... GetAbsolutePosition ()  
TAsyncResult... GetSize ()  
TAsyncResult... GetText ()  
TAsyncResult... HasFocusedDescendants ()  
TAsyncResult... HasFocusedDescendants ( uint32 UserIndex )  
TAsyncResult... Hover () Moves the cursor over the element, triggering any hover cue the element may have
TAsyncResult... IsChecked ()  
TAsyncResult... IsFocused ()  
TAsyncResult... IsFocused ( uint32 UserIndex )  
TAsyncResult... IsHovered ()  
TAsyncResult... IsInteractable ()  
TAsyncResult... IsScrollable ()  
TAsyncResult... IsScrolledToBeginning ()  
TAsyncResult... IsScrolledToEnd ()  
TAsyncResult... IsVisible ()  
TAsyncResult... Press ( FKey Key ) Moves focus to the element, then triggers the series of events to invoke keyboard input for pressing the specified key.
TAsyncResult... Press ( EMouseButtons::Type MouseButton ) Moves the cursor over the element, then triggers the series of events to invoke mouse input for pressing the specified button.
TAsyncResult... Press ( TCHAR Character ) Moves focus to the element, then triggers the series of events to invoke keyboard input for pressing the specified character.
TAsyncResult... PressChord ( FKey Key1, FKey Key2 ) Moves focus to the element, then triggers the series of events to invoke keyboard input for each argument in order from 1 to N.
TAsyncResult... PressChord ( FKey Key1, TCHAR Character ) Moves focus to the element, then triggers the series of events to invoke keyboard input for each argument in order from 1 to N.
TAsyncResult... PressChord ( FKey Key1, FKey Key2, FKey Key3 ) Moves focus to the element, then triggers the series of events to invoke keyboard input for each argument in order from 1 to N.
TAsyncResult... PressChord ( FKey Key1, FKey Key2, TCHAR Character ) Moves focus to the element, then triggers the series of events to invoke keyboard input for each argument in order from 1 to N.
TAsyncResult... Release ( TCHAR Character ) Moves focus to the element, then triggers the series of events to invoke keyboard input for releasing the specified character.
TAsyncResult... Release ( FKey Key ) Moves focus to the element, then triggers the series of events to invoke keyboard input for releasing the specified key.
TAsyncResult... Release ( EMouseButtons::Type MouseButton ) Moves the cursor over the element, then triggers the series of events to invoke mouse input for releasing the specified button.
TAsyncResult... ReleaseChord ( FKey Key1, FKey Key2, TCHAR Character ) Moves focus to the element, then triggers the series of events to invoke keyboard input for each argument in order from N to 1.
TAsyncResult... ReleaseChord ( FKey Key1, FKey Key2, FKey Key3 ) Moves focus to the element, then triggers the series of events to invoke keyboard input for each argument in order from N to 1.
TAsyncResult... ReleaseChord ( FKey Key1, FKey Key2 ) Moves focus to the element, then triggers the series of events to invoke keyboard input for each argument in order from N to 1.
TAsyncResult... ReleaseChord ( FKey Key1, TCHAR Character ) Moves focus to the element, then triggers the series of events to invoke keyboard input for each argument in order from N to 1.
TAsyncResult... ScrollBy ( float Delta ) Moves the cursor over the element, then triggers the series of events to invoke a mouse wheel scroll by the specified delta.
TAsyncResult... ScrollToBeginning () Moves the cursor over the element, then triggers the series of events to invoke a mouse wheel scroll, scrolling the element until it reaches the beginning
TAsyncResult... ScrollToBeginning ( float Amount ) Moves the cursor over the element, then triggers the series of events to invoke a mouse wheel scroll by the specified delta amount, scrolling the element until it reaches the beginning
TAsyncResult... ScrollToBeginningUntil ( const TSharedRef< IElementLocator, ... ) Moves the cursor over the element, then triggers the series of events to invoke a mouse wheel scroll until the specified locator is locates the desired element or the beginning is reached
TAsyncResult... ScrollToEnd () Moves the cursor over the element, then triggers the series of events to invoke a mouse wheel scroll, scrolling the element until it reaches the beginning
TAsyncResult... ScrollToEnd ( float Amount ) Moves the cursor over the element, then triggers the series of events to invoke a mouse wheel scroll by the specified delta amount, scrolling the element until it reaches the end
TAsyncResult... ScrollToEndUntil ( const TSharedRef< IElementLocator, ... ) Moves the cursor over the element, then triggers the series of events to invoke a mouse wheel scroll until the specified locator is locates the desired element or the end is reached
TAsyncResult... Type ( const TArray< FKey >& Keys ) Moves focus to the element, then triggers the series of events to invoke keyboard input for each key specified.
TAsyncResult... Type ( const TCHAR* Text ) Moves focus to the element, then triggers the series of events to invoke keyboard input for each character specified.
TAsyncResult... Type ( FString Text ) Moves focus to the element, then triggers the series of events to invoke keyboard input for each character specified.
TAsyncResult... Type ( FKey Key ) Moves focus to the element, then triggers the series of events to invoke keyboard input for the specified character.
TAsyncResult... Type ( TCHAR Character ) Moves focus to the element, then triggers the series of events to invoke keyboard input for the specified key.
TAsyncResult... TypeChord ( FKey Key1, TCHAR Character ) Moves focus to the element, then triggers the series of events to invoke keyboard input for each argument in order from 1 to N and then releasing those keys in order from N to 1 Chord typing is intended to ease the to execution keyboard shortcuts, such as, CTRL + SHIFT + S
TAsyncResult... TypeChord ( FKey Key1, FKey Key2, FKey Key3 ) Moves focus to the element, then triggers the series of events to invoke keyboard input for each argument in order from 1 to N and then releasing those keys in order from N to 1 Chord typing is intended to ease the to execution keyboard shortcuts, such as, CTRL + SHIFT + S
TAsyncResult... TypeChord ( FKey Key1, FKey Key2 ) Moves focus to the element, then triggers the series of events to invoke keyboard input for each argument in order from 1 to N and then releasing those keys in order from N to 1 Chord typing is intended to ease the to execution keyboard shortcuts, such as, CTRL + SHIFT + S
TAsyncResult... TypeChord ( FKey Key1, FKey Key2, TCHAR Character ) Moves focus to the element, then triggers the series of events to invoke keyboard input for each argument in order from 1 to N and then releasing those keys in order from N to 1 Chord typing is intended to ease the to execution keyboard shortcuts, such as, CTRL + SHIFT + S

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library