iOSApp.WaitForNoElement Method

Definition

Overloads

WaitForNoElement(Func<AppQuery,AppWebQuery>, String, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>)

Wait function that will repeatly query the app until a matching element is no longer found. Throws a TimeoutException if the element is visible at the end of the time limit.

WaitForNoElement(String, String, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>)

Wait function that will repeatly query the app until a matching element is no longer found. Throws a TimeoutException if the element is visible at the end of the time limit.

WaitForNoElement(Func<AppQuery,AppQuery>, String, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>)

Wait function that will repeatly query the app until a matching element is no longer found. Throws a TimeoutException if the element is visible at the end of the time limit.

WaitForNoElement(Func<AppQuery,AppWebQuery>, String, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>)

Wait function that will repeatly query the app until a matching element is no longer found. Throws a TimeoutException if the element is visible at the end of the time limit.

public void WaitForNoElement (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppWebQuery> query, string timeoutMessage = "Timed out waiting for no element...", Nullable<TimeSpan> timeout = null, Nullable<TimeSpan> retryFrequency = null, Nullable<TimeSpan> postTimeout = null);
abstract member WaitForNoElement : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery> * string * Nullable<TimeSpan> * Nullable<TimeSpan> * Nullable<TimeSpan> -> unit
override this.WaitForNoElement : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery> * string * Nullable<TimeSpan> * Nullable<TimeSpan> * Nullable<TimeSpan> -> unit
Public Sub WaitForNoElement (query As Func(Of AppQuery, AppWebQuery), Optional timeoutMessage As String = "Timed out waiting for no element...", Optional timeout As Nullable(Of TimeSpan) = null, Optional retryFrequency As Nullable(Of TimeSpan) = null, Optional postTimeout As Nullable(Of TimeSpan) = null)

Parameters

query
Func<AppQuery,AppWebQuery>

Entry point for the fluent API to specify the element.

timeoutMessage
String

The message used in the TimeoutException.

timeout
Nullable<TimeSpan>

The TimeSpan to wait before failing.

retryFrequency
Nullable<TimeSpan>

The TimeSpan to wait between each query call to the app.

postTimeout
Nullable<TimeSpan>

The final TimeSpan to wait after the element is no longer visible.

Implements

Applies to

WaitForNoElement(String, String, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>)

Wait function that will repeatly query the app until a matching element is no longer found. Throws a TimeoutException if the element is visible at the end of the time limit.

public void WaitForNoElement (string marked, string timeoutMessage = "Timed out waiting for no element...", Nullable<TimeSpan> timeout = null, Nullable<TimeSpan> retryFrequency = null, Nullable<TimeSpan> postTimeout = null);
abstract member WaitForNoElement : string * string * Nullable<TimeSpan> * Nullable<TimeSpan> * Nullable<TimeSpan> -> unit
override this.WaitForNoElement : string * string * Nullable<TimeSpan> * Nullable<TimeSpan> * Nullable<TimeSpan> -> unit
Public Sub WaitForNoElement (marked As String, Optional timeoutMessage As String = "Timed out waiting for no element...", Optional timeout As Nullable(Of TimeSpan) = null, Optional retryFrequency As Nullable(Of TimeSpan) = null, Optional postTimeout As Nullable(Of TimeSpan) = null)

Parameters

marked
String

Marked selector to match. See Marked(String) for more information.

timeoutMessage
String

The message used in the TimeoutException.

timeout
Nullable<TimeSpan>

The TimeSpan to wait before failing.

retryFrequency
Nullable<TimeSpan>

The TimeSpan to wait between each query call to the app.

postTimeout
Nullable<TimeSpan>

The final TimeSpan to wait after the element is no longer visible.

Implements

Applies to

WaitForNoElement(Func<AppQuery,AppQuery>, String, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>)

Wait function that will repeatly query the app until a matching element is no longer found. Throws a TimeoutException if the element is visible at the end of the time limit.

public void WaitForNoElement (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppQuery> query, string timeoutMessage = "Timed out waiting for no element...", Nullable<TimeSpan> timeout = null, Nullable<TimeSpan> retryFrequency = null, Nullable<TimeSpan> postTimeout = null);
abstract member WaitForNoElement : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * string * Nullable<TimeSpan> * Nullable<TimeSpan> * Nullable<TimeSpan> -> unit
override this.WaitForNoElement : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * string * Nullable<TimeSpan> * Nullable<TimeSpan> * Nullable<TimeSpan> -> unit
Public Sub WaitForNoElement (query As Func(Of AppQuery, AppQuery), Optional timeoutMessage As String = "Timed out waiting for no element...", Optional timeout As Nullable(Of TimeSpan) = null, Optional retryFrequency As Nullable(Of TimeSpan) = null, Optional postTimeout As Nullable(Of TimeSpan) = null)

Parameters

query
Func<AppQuery,AppQuery>

Entry point for the fluent API to specify the element.

timeoutMessage
String

The message used in the TimeoutException.

timeout
Nullable<TimeSpan>

The TimeSpan to wait before failing.

retryFrequency
Nullable<TimeSpan>

The TimeSpan to wait between each query call to the app.

postTimeout
Nullable<TimeSpan>

The final TimeSpan to wait after the element is no longer visible.

Implements

Applies to