Xamarin.UITest.Queries.AppQuery: Method Members

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

Public Methods

All(string) : AppQuery
Changes the query to return all elements instead of just the visible ones.
Button(string) : AppQuery
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) : AppQuery
Changes the query to return the n'th child element of the currently matched ones.
Child(string) : AppQuery
Changes the query to return child elements of the currently matched ones.
Class(string) : AppQuery
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) : AppQuery
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) : AppWebQuery
Matches elements in web views matching the given css selector.
Descendant(int) : AppQuery
Changes the query to return the n'th descendant element of the currently matched ones.
Descendant(string) : AppQuery
Changes the query to return descendant elements of the currently matched ones.
Id(string) : AppQuery
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) : AppQuery
Matches the nth element of the currently matched elements.
Invoke(string) : AppTypedSelector<object>
Invokes a method on the view elements matched by the query. Can be chained to invoke methods on the results.
Invoke(string, object) : AppTypedSelector<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) : AppTypedSelector<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) : AppTypedSelector<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) : AppTypedSelector<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) : AppTypedSelector<object>
Invokes a method on the view elements matched by the query. Can be chained to invoke methods on the results.
InvokeJS(string) : InvokeJSAppQuery
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) : AppQuery
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) : AppQuery
Changes the query to return the n'th parent element of the currently matched ones.
Parent(string) : AppQuery
Changes the query to return parent elements of the currently matched ones.
Property(string) : PropertyAppQuery
Allows for further filtering on a given property value.
Property(string, bool) : AppQuery
Matches a property or getter method value on the element.
Property(string, int) : AppQuery
Matches a property or getter method value on the element.
Property(string, string) : AppQuery
Matches a property or getter method value on the element.
Raw(string) : AppQuery
A raw Calabash selector. Allows for string based Calabash queries.
Raw(string, object) : AppTypedSelector<string>
A raw Calabash selector. Allows for string based Calabash queries.
Raw(string, object, object) : AppTypedSelector<string>
A raw Calabash selector. Allows for string based Calabash queries.
Raw(string, object, object, object) : AppTypedSelector<string>
A raw Calabash selector. Allows for string based Calabash queries.
Raw(string, object, object, object, object) : AppTypedSelector<string>
A raw Calabash selector. Allows for string based Calabash queries.
Raw(string, object, object, object, object, object) : AppTypedSelector<string>
A raw Calabash selector. Allows for string based Calabash queries.
Raw(string, object, object, object, object, object, object) : AppTypedSelector<string>
A raw Calabash selector. Allows for string based Calabash queries.
Sibling(int) : AppQuery
Changes the query to return the n'th sibling element of the currently matched ones.
Sibling(string) : AppQuery
Changes the query to return sibling elements of the currently matched ones.
Switch(string) : AppQuery
Matches a Switch. For Android: An element that inherits from android.widget.CompoundButton. For iOS: An element with class UISwitch.
Text(string) : AppQuery
Matches element text.
TextField(string) : AppQuery
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() : string
Converts the string into it's Calabash query equivalent.
WebView() : AppQuery
Matches WebViews
WebView(int) : AppQuery
Matches the nth WebView
XPath(string) : AppWebQuery
Matches elements in web views matching the given XPath selector.