次の方法で共有


AndroidApp.WaitForNoElement メソッド

定義

オーバーロード

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

一致する要素が見つからないまで、アプリのクエリを繰り返し実行する待機関数。 制限時間の TimeoutException 最後に要素が表示される場合は、 をスローします。

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

一致する要素が見つからないまで、アプリのクエリを繰り返し実行する待機関数。 制限時間の TimeoutException 最後に要素が表示される場合は、 をスローします。

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

一致する要素が見つからないまで、アプリのクエリを繰り返し実行する待機関数。 制限時間の TimeoutException 最後に要素が表示される場合は、 をスローします。

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

一致する要素が見つからないまで、アプリのクエリを繰り返し実行する待機関数。 制限時間の TimeoutException 最後に要素が表示される場合は、 をスローします。

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)

パラメーター

marked
String

一致するようにマークされたセレクター。 詳細については、「 Marked(String) 」を参照してください。

timeoutMessage
String

TimeoutException使用されるメッセージ。

timeout
Nullable<TimeSpan>

TimeSpan失敗する前に待機する 。

retryFrequency
Nullable<TimeSpan>

TimeSpanアプリへの各クエリ呼び出しの間に待機する 。

postTimeout
Nullable<TimeSpan>

要素が表示されなくなった後に待機する最後 TimeSpan の 。

実装

適用対象

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

一致する要素が見つからないまで、アプリのクエリを繰り返し実行する待機関数。 制限時間の TimeoutException 最後に要素が表示される場合は、 をスローします。

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)

パラメーター

query
Func<AppQuery,AppQuery>

要素を指定する fluent API のエントリ ポイント。

timeoutMessage
String

TimeoutException使用されるメッセージ。

timeout
Nullable<TimeSpan>

TimeSpan失敗する前に待機する 。

retryFrequency
Nullable<TimeSpan>

TimeSpanアプリへの各クエリ呼び出しの間に待機する 。

postTimeout
Nullable<TimeSpan>

要素が表示されなくなった後に待機する最後 TimeSpan の 。

実装

適用対象

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

一致する要素が見つからないまで、アプリのクエリを繰り返し実行する待機関数。 制限時間の TimeoutException 最後に要素が表示される場合は、 をスローします。

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)

パラメーター

query
Func<AppQuery,AppWebQuery>

要素を指定する fluent API のエントリ ポイント。

timeoutMessage
String

TimeoutException使用されるメッセージ。

timeout
Nullable<TimeSpan>

TimeSpan失敗する前に待機する 。

retryFrequency
Nullable<TimeSpan>

TimeSpanアプリへの各クエリ呼び出しの間に待機する 。

postTimeout
Nullable<TimeSpan>

要素が表示されなくなった後に待機する最後 TimeSpan の 。

実装

適用対象