By

Represents a collection of fluent helper functions designed to make accessing and creating element locators easy

Windows
MacOS
Linux

References

Module

AutomationDriver

Header

/Engine/Source/Developer/AutomationDriver/Public/LocateBy.h

Include

#include "LocateBy.h"

Syntax

class By

Remarks

Represents a collection of fluent helper functions designed to make accessing and creating element locators easy

Functions

Name Description

Public function Static

TSharedRef< ...

 

Cursor()

Creates a new element locator that limits its discovered elements to the one under the cursors current position

Public function Static

TSharedRef< ...

 

Delegate

(
    const FLocateSlateWidgetElementDele...
)

Creates a new element locator that exposes the collection of SWidgets returned from the FLocateSlateWidgetElementDelegate as discovered elements

Public function Static

TSharedRef< ...

 

Delegate

(
    const FLocateSlateWidgetPathElement...
)

Creates a new element locator that exposes the collection of FWidgetPaths returned from the FLocateSlateWidgetElementDelegate as discovered elements

Public function Static

TSharedRef< ...

 

Id

(
    const FDriverElementRef& Root,
    const char* Value
)

Creates a new element locator that limits its discovered elements to ones with the specified Id, starting from the Root element given to the function

Public function Static

TSharedRef< ...

 

Id

(
    const FDriverElementRef& Root,
    const TCHAR* Value
)

Creates a new element locator that limits its discovered elements to ones with the specified Id, starting from the Root element given to the function

Public function Static

TSharedRef< ...

 

Id

(
    const FDriverElementRef& Root,
    const FString& Value
)

Creates a new element locator that limits its discovered elements to ones with the specified Id, starting from the Root element given to the function

Public function Static

TSharedRef< ...

 

Id

(
    const char* Value
)

Creates a new element locator that limits its discovered elements to ones with the specified Id

Public function Static

TSharedRef< ...

 

Id

(
    const FDriverElementRef& Root,
    const FName& Value
)

Creates a new element locator that limits its discovered elements to ones with the specified Id, starting from the Root element given to the function

Public function Static

TSharedRef< ...

 

Id

(
    const FName& Value
)

Creates a new element locator that limits its discovered elements to ones with the specified Id

Public function Static

TSharedRef< ...

 

Id

(
    const FString& Value
)

Creates a new element locator that limits its discovered elements to ones with the specified Id

Public function Static

TSharedRef< ...

 

Id

(
    const TCHAR* Value
)

Creates a new element locator that limits its discovered elements to ones with the specified Id

Public function Static

TSharedRef< ...

 

Path

(
    const FDriverElementRef& Root,
    const TCHAR* Value
)

Creates a new element locator that limits its discovered elements to ones matching the specified "path", starting from the Root element given to the function

Public function Static

TSharedRef< ...

 

Path

(
    const FString& Value
)

Creates a new element locator that limits its discovered elements to ones matching the specified "path"

Public function Static

TSharedRef< ...

 

Path

(
    const FName& Value
)

Creates a new element locator that limits its discovered elements to ones matching the specified "path"

Public function Static

TSharedRef< ...

 

Path

(
    const TCHAR* Value
)

Creates a new element locator that limits its discovered elements to ones matching the specified "path"

Public function Static

TSharedRef< ...

 

Path

(
    const char* Value
)

Creates a new element locator that limits its discovered elements to ones matching the specified "path"

Public function Static

TSharedRef< ...

 

Path

(
    const FDriverElementRef& Root,
    const FString& Value
)

Creates a new element locator that limits its discovered elements to ones matching the specified "path", starting from the Root element given to the function

Public function Static

TSharedRef< ...

 

Path

(
    const FDriverElementRef& Root,
    const FName& Value
)

Creates a new element locator that limits its discovered elements to ones matching the specified "path", starting from the Root element given to the function

Public function Static

TSharedRef< ...

 

Path

(
    const FDriverElementRef& Root,
    const char* Value
)

Creates a new element locator that limits its discovered elements to ones matching the specified "path", starting from the Root element given to the function

Public function Static

TSharedRef< ...

 

WidgetLambda()

Creates a new element locator that exposes the collection of SWidgets returned from the lambda as discovered elements

Public function Static

TSharedRef< ...

 

WidgetPathLambda

(
    const TFunction< void< FWidg...
)

Creates a new element locator that exposes the collection of FWidgetPaths returned from the lambda as discovered elements