The methods of Xamarin.UITest.Queries.AppQuery are listed below. For a list of all members, see the AppQuery Members list.
See Also: Inherited members from System.Object
All(string)Changes the query to return all elements instead of just the visible ones. | ||
Button(string)Matches a button. For Android: An element that has class (or inherits from) android.widget.Button. For iOS: An element with class UIButton. | ||
Child(int)Changes the query to return the n'th child element of the currently matched ones. | ||
Child(string)Changes the query to return child elements of the currently matched ones. | ||
Class(string)Matches element class. For Android: An element which has a class (or super class) name that ends with the value (case insensitive). For iOS (first char lowercase): An element that has the class (or super class) name of the given value prepended with "UI". Example: button becomes UIButton. For iOS (first char uppercase): An element that has the class (or super class) name of the given value. | ||
ClassFull(string)Matches element class. For Android: An element with the given fully quantified class (or super class) name. For iOS: An element that has the class (or super class) name of the given value. | ||
Css(string)Matches elements in web views matching the given css selector. | ||
Descendant(int)Changes the query to return the n'th descendant element of the currently matched ones. | ||
Descendant(string)Changes the query to return descendant elements of the currently matched ones. | ||
Id(string)Matches element id. For Android: An element with the given value as id. For iOS: An element with the given value as accessibilityId. | ||
Index(int)Matches the nth element of the currently matched elements. | ||
Invoke(string)Invokes a method on the view elements matched by the query. Can be chained to invoke methods on the results. | ||
Invoke(string, object)Invokes a method on the view elements matched by the query. Can be chained to invoke methods on the results. | ||
Invoke(string, object, object)Invokes a method on the view elements matched by the query. Can be chained to invoke methods on the results. | ||
Invoke(string, object, object, object)Invokes a method on the view elements matched by the query. Can be chained to invoke methods on the results. | ||
Invoke(string, object, object, object, object)Invokes a method on the view elements matched by the query. Can be chained to invoke methods on the results. | ||
Invoke(string, object, object, object, object, object)Invokes a method on the view elements matched by the query. Can be chained to invoke methods on the results. | ||
InvokeJS(string)Invokes javascript on the view elements matched by the query. If view elements other than WebViews are encountered, the execution will halt and an Exception will be thrown. | ||
Marked(string)Matches common values. For Android: An element with the given value as either id, contentDescription or text. For iOS: An element with the given value as either accessibilityLabel or accessibilityId. | ||
Parent(int)Changes the query to return the n'th parent element of the currently matched ones. | ||
Parent(string)Changes the query to return parent elements of the currently matched ones. | ||
Property(string)Allows for further filtering on a given property value. | ||
Property(string, bool)Matches a property or getter method value on the element. | ||
Property(string, int)Matches a property or getter method value on the element. | ||
Property(string, string)Matches a property or getter method value on the element. | ||
Raw(string)A raw Calabash selector. Allows for string based Calabash queries. | ||
Raw(string, object)A raw Calabash selector. Allows for string based Calabash queries. | ||
Raw(string, object, object)A raw Calabash selector. Allows for string based Calabash queries. | ||
Raw(string, object, object, object)A raw Calabash selector. Allows for string based Calabash queries. | ||
Raw(string, object, object, object, object)A raw Calabash selector. Allows for string based Calabash queries. | ||
Raw(string, object, object, object, object, object)A raw Calabash selector. Allows for string based Calabash queries. | ||
Raw(string, object, object, object, object, object, object)A raw Calabash selector. Allows for string based Calabash queries. | ||
Sibling(int)Changes the query to return the n'th sibling element of the currently matched ones. | ||
Sibling(string)Changes the query to return sibling elements of the currently matched ones. | ||
Switch(string)Matches a Switch. For Android: An element that inherits from android.widget.CompoundButton. For iOS: An element with class UISwitch. | ||
Text(string)Matches element text. | ||
TextField(string)Matches a TextField. For Android: An element that has class (or inherits from) android.widget.EditText. For iOS: An element with class UITextField. | ||
override | ToString()Converts the string into it's Calabash query equivalent. | |
WebView()Matches WebViews | ||
WebView(int)Matches the nth WebView | ||
XPath(string)Matches elements in web views matching the given XPath selector. | ||