AppQuery.Class(String) AppQuery.Class(String) AppQuery.Class(String) Method

Definition

Matches element class. For Android (no '.' in className): An element that has a class name of the given value (case insensitive). For Android ('.'s in className): An element which has a class (or super class) fully qualified name that matches the value. 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.

public Xamarin.UITest.Queries.AppQuery Class (string className);
member this.Class : string -> Xamarin.UITest.Queries.AppQuery
Public Function Class (className As String) As AppQuery

Parameters

className
String String String

The class name to match.

Returns

Applies to