共用方式為


IApp.EnterText 方法

定義

多載

EnterText(String)

在目前焦點元素中輸入文字。

EnterText(Func<AppQuery,AppQuery>, String)

將文字輸入支援它的相符專案。

EnterText(Func<AppQuery,AppWebQuery>, String)

將文字輸入支援它的相符專案。

EnterText(String, String)

將文字輸入支援它的相符專案。

EnterText(String)

在目前焦點元素中輸入文字。

public void EnterText (string text);
abstract member EnterText : string -> unit
Public Sub EnterText (text As String)

參數

text
String

要輸入的文字。

適用於

EnterText(Func<AppQuery,AppQuery>, String)

將文字輸入支援它的相符專案。

public void EnterText (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppQuery> query, string text);
abstract member EnterText : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * string -> unit
Public Sub EnterText (query As Func(Of AppQuery, AppQuery), text As String)

參數

query
Func<AppQuery,AppQuery>

Fluent API 的進入點,以指定 專案。

text
String

要輸入的文字。

適用於

EnterText(Func<AppQuery,AppWebQuery>, String)

將文字輸入支援它的相符專案。

public void EnterText (Func<Xamarin.UITest.Queries.AppQuery,Xamarin.UITest.Queries.AppWebQuery> query, string text);
abstract member EnterText : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery> * string -> unit
Public Sub EnterText (query As Func(Of AppQuery, AppWebQuery), text As String)

參數

query
Func<AppQuery,AppWebQuery>

Fluent API 的進入點,以指定 專案。

text
String

要輸入的文字。

適用於

EnterText(String, String)

將文字輸入支援它的相符專案。

public void EnterText (string marked, string text);
abstract member EnterText : string * string -> unit
Public Sub EnterText (marked As String, text As String)

參數

marked
String

標示要比對的選取器。 如需相關資訊,請參閱 Marked(String)

text
String

要輸入的文字。

適用於