The methods of Xamarin.UITest.Android.AndroidApp are listed below. For a list of all members, see the AndroidApp Members list.
See Also: Inherited members from System.Object
Back()Presses the back button of the device. | ||
ClearText()Clears text from the currently focused element. | ||
ClearText(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery>)Clears text from a matching element that supports it. | ||
ClearText(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery>)Clears text from a matching element that supports it. | ||
DoubleTap(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery>)Performs two quick tap / touch gestures on the matched element. If multiple elements are matched, the first one will be used. | ||
DoubleTapCoordinates(float, float)Performs a quick double tap / touch gesture on the given coordinates. | ||
DragCoordinates(float, float, float, float)Performs a continuous drag gesture between 2 points. | ||
EnterText(string)Enters text into the currently focused element. | ||
EnterText(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery>, string)Enters text into a matching element that supports it. | ||
EnterText(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery>, string)Enters text into a matching element that supports it. | ||
Flash(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery>)Highlights the results of the query by making them flash. Specify view elements using the fluent API. Defaults to all view objects that are visible. | ||
Invoke(string, object)Invokes a method on the apps main activity. | ||
PressEnter()Presses the enter key in the app. | ||
PressMenu()Presses the menu button of the device. | ||
PressUserAction(Nullable<UserAction>)Presses the user action in the app. | ||
PressVolumeDown()Presses the volume down button on the device. | ||
PressVolumeUp()Presses the volume up button on the device. | ||
Query(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery>)Queries view objects using the fluent API. Defaults to only return view objects that are visible. | ||
Query(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery>)Queries web view objects using the fluent API. Defaults to only return view objects that are visible. | ||
Query(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.InvokeJSAppQuery>)Invokes Javascript on view objects using the fluent API. | ||
Query<T>(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppTypedSelector<T>>)Queries view objects values using the fluent API. | ||
Repl()Starts an interactive REPL (Read-Eval-Print-Loop) for app exploration and pauses test execution until it is closed. | ||
Screenshot(string)Takes a screenshot of the app in it's current state. This is used to denote test steps in the Xamarin Test Cloud. | ||
ScrollDown()Performs a touch gesture that scrolls down. | ||
ScrollUp()Performs a touch gesture that scrolls up. | ||
SetOrientationLandscape()Changes the device orientation to landscape mode. | ||
SetOrientationPortrait()Changes the device orientation to portrait mode. | ||
SwipeLeft()Performs a left to right swipe gesture. | ||
SwipeRight()Performs a right to left swipe gesture. | ||
Tap(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery>)Performs a tap / touch gesture on the matched element. If multiple elements are matched, the first one will be used. | ||
Tap(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery>)Performs a tap / touch gesture on the matched element. If multiple elements are matched, the first one will be used. | ||
TapCoordinates(float, float)Performs a tap / touch gesture on the given coordinates. | ||
TouchAndHold(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery>)Performs a continuous touch gesture on the matched element. If multiple elements are matched, the first one will be used. | ||
TouchAndHoldCoordinates(float, float)Performs a continuous touch gesture on the given coordinates. | ||
WaitFor(Func<bool>, string, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>)Generic wait function that will repeatly call the predicate function until it returns true. Throws a TimeoutException if the predicate is not fullfilled within the time limit. | ||
WaitForElement(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppQuery>, string, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>)Wait function that will repeatly query the app until a matching element is found. Throws a TimeoutException if no element is found within the time limit. | ||
WaitForElement(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.AppWebQuery>, string, Nullable<TimeSpan>, Nullable<TimeSpan>, Nullable<TimeSpan>)Wait function that will repeatly query the app until a matching element is found. Throws a TimeoutException if no element is found within the time limit. | ||
WaitForNoElement(Func<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.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<Xamarin.UITest.Queries.AppQuery, Xamarin.UITest.Queries.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. | ||