Until

Represents a collection of fluent helper functions designed to make accessing and creating driver wait delegates easier

Windows
MacOS
Linux

References

Module

AutomationDriver

Header

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

Include

#include "WaitUntil.h"

Syntax

class Until

Remarks

Represents a collection of fluent helper functions designed to make accessing and creating driver wait delegates easier

Functions

Name Description

Public function Static

FDriverWaitD...

 

Condition

(
    const TFunction< bool()>& Function,
    FWaitTimeout Timeout
)

Creates a new wait delegate which completes it's wait only if the specified condition returns true or if the specified timeout timespan elapses

Public function Static

FDriverWaitD...

 

Condition

(
    const FDriverWaitConditionDelegate ...,
    FWaitTimeout Timeout
)

Creates a new wait delegate which completes it's wait only if the specified condition returns true or if the specified timeout timespan elapses

Public function Static

FDriverWaitD...

 

Condition

(
    const TFunction< bool()>& Function,
    FWaitInterval Interval,
    FWaitTimeout Timeout
)

Creates a new wait delegate which completes it's wait only if the specified condition returns true or if the specified timeout timespan elapses The lambda is only re-evaluated at the specified wait interval

Public function Static

FDriverWaitD...

 

Condition

(
    const FDriverWaitConditionDelegate ...,
    FWaitInterval Interval,
    FWaitTimeout Timeout
)

Creates a new wait delegate which completes it's wait only if the specified condition returns true or if the specified timeout timespan elapses The delegate is only re-evaluated at the specified wait interval

Public function Static

FDriverWaitD...

 

ElementExists

(
    const TSharedRef< IElementLocator, ...,
    FWaitTimeout Timeout
)

Creates a new wait delegate which completes it's wait only if the specified element locator discovers elements or if the specified timeout timespan elapses

Public function Static

FDriverWaitD...

 

ElementExists

(
    const TSharedRef< IElementLocator, ...,
    FWaitInterval Interval,
    FWaitTimeout Timeout
)

Creates a new wait delegate which completes it's wait only if the specified element locator discovers elements or if the specified timeout timespan elapses; The element locator is only re-evaluated at the specified wait interval

Public function Static

FDriverWaitD...

 

ElementIsInteractable

(
    const TSharedRef< IElementLocator, ...,
    FWaitTimeout Timeout
)

Creates a new wait delegate which completes it's wait only if the specified element locator discovers interactable elements or if the specified timeout timespan elapses

Public function Static

FDriverWaitD...

 

ElementIsInteractable

(
    const TSharedRef< IElementLocator, ...,
    FWaitInterval Interval,
    FWaitTimeout Timeout
)

Creates a new wait delegate which completes it's wait only if the specified element locator discovers interactable elements or if the specified timeout timespan elapses; The element locator is only re-evaluated at the specified wait interval

Public function Static

FDriverWaitD...

 

ElementIsScrolledToBeginning

(
    const TSharedRef< IElementLocator, ...,
    FWaitTimeout Timeout
)

Creates a new wait delegate which completes it's wait only if the specified element locator discovers a scrollable element whose scroll position is at the beginning or if the specified timeout timespan elapses

Public function Static

FDriverWaitD...

 

ElementIsScrolledToBeginning

(
    const TSharedRef< IElementLocator, ...,
    FWaitInterval Interval,
    FWaitTimeout Timeout
)

Creates a new wait delegate which completes it's wait only if the specified element locator discovers a scrollable element whose scroll position is at the beginning or if the specified timeout timespan elapses The element locator is only re-evaluated at the specified wait interval

Public function Static

FDriverWaitD...

 

ElementIsScrolledToEnd

(
    const TSharedRef< IElementLocator, ...,
    FWaitTimeout Timeout
)

Creates a new wait delegate which completes it's wait only if the specified element locator discovers a scrollable element whose scroll position is at the end or if the specified timeout timespan elapses

Public function Static

FDriverWaitD...

 

ElementIsScrolledToEnd

(
    const TSharedRef< IElementLocator, ...,
    FWaitInterval Interval,
    FWaitTimeout Timeout
)

Creates a new wait delegate which completes it's wait only if the specified element locator discovers a scrollable element whose scroll position is at the end or if the specified timeout timespan elapses The element locator is only re-evaluated at the specified wait interval

Public function Static

FDriverWaitD...

 

ElementIsVisible

(
    const TSharedRef< IElementLocator, ...,
    FWaitTimeout Timeout
)

Creates a new wait delegate which completes it's wait only if the specified element locator discovers visible elements or if the specified timeout timespan elapses

Public function Static

FDriverWaitD...

 

ElementIsVisible

(
    const TSharedRef< IElementLocator, ...,
    FWaitInterval Interval,
    FWaitTimeout Timeout
)

Creates a new wait delegate which completes it's wait only if the specified element locator discovers visible elements or if the specified timeout timespan elapses; The element locator is only re-evaluated at the specified wait interval

Public function Static

FDriverWaitD...

 

Lambda

(
    const TFunction< FDriverWaitRespons...
)

Creates a new wait delegate which drives its state off the result of the specified lambda