iOSApp.EnterText Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
EnterText(Func<AppQuery,AppWebQuery>, String) |
Enters text into a matching element that supports it. |
EnterText(String) |
Enters text into the currently focused element. Will fail if no keyboard is visible. |
EnterText(Func<AppQuery,AppQuery>, String) |
Enters text into a matching element that supports it. |
EnterText(String, String) |
Enters text into a matching element that supports it. |
EnterText(Func<AppQuery,AppWebQuery>, String)
Enters text into a matching element that supports it.
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
override this.EnterText : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery> * string -> unit
Public Sub EnterText (query As Func(Of AppQuery, AppWebQuery), text As String)
Parameters
- query
- Func<AppQuery,AppWebQuery>
Entry point for the fluent API to specify the element.
- text
- String
The text to enter.
Implements
Applies to
EnterText(String)
Enters text into the currently focused element. Will fail if no keyboard is visible.
public void EnterText (string text);
abstract member EnterText : string -> unit
override this.EnterText : string -> unit
Public Sub EnterText (text As String)
Parameters
- text
- String
The text to enter.
Implements
Applies to
EnterText(Func<AppQuery,AppQuery>, String)
Enters text into a matching element that supports it.
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
override this.EnterText : Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery> * string -> unit
Public Sub EnterText (query As Func(Of AppQuery, AppQuery), text As String)
Parameters
- text
- String
The text to enter.
Implements
Applies to
EnterText(String, String)
Enters text into a matching element that supports it.
public void EnterText (string marked, string text);
abstract member EnterText : string * string -> unit
override this.EnterText : string * string -> unit
Public Sub EnterText (marked As String, text As String)
Parameters
- marked
- String
Marked selector to match. See Marked(String) for more information.
- text
- String
The text to enter.