AppQuery.Class(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The class name to match.