Xamarin.UITest.Queries.AppQuery Members

The members of Xamarin.UITest.Queries.AppQuery are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initial constructor for queries. Should not be called directly, but used as part of the fluent API in the app classes.
Constructor for adding more tokens to an existing query in an immutable fashion. Takes the tokens from the old query plus the additional tokens.

Public Properties

[read-only]
QueryPlatformQueryPlatform. The target platform of the query. Useful when writing extensions methods for queries for platform differences.

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. Must be used on web view elements. If used alone, will default to android.webkit.WebView for Android and UIWebView for iOS.
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 accessibilityIdentifier.
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 accessibilityIdentifier.
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. Must be used on web view elements. If used alone, will default to android.webkit.WebView for Android and UIWebView for iOS.

Explicitly Implemented Interface Members

Xamarin.UITest.Utils.IFluentInterface.GetTypeDocumentation for this section has not yet been entered.
[read-only]
Xamarin.UITest.Queries.ITokenContainer.TokensXamarin.UITest.Queries.Tokens.IQueryToken[]. Documentation for this section has not yet been entered.