public class MobileSeLionElementList extends AbstractSeLionElementList
Modifier and Type | Field and Description |
---|---|
static MobileSeLionElementList |
BASE_CLASS |
static MobileSeLionElementList |
Button |
static MobileSeLionElementList |
Element |
static MobileSeLionElementList |
Image |
static MobileSeLionElementList |
Label |
static MobileSeLionElementList |
List |
static MobileSeLionElementList |
Picker |
static MobileSeLionElementList |
Slider |
static MobileSeLionElementList |
Switch |
static MobileSeLionElementList |
TextField |
static String |
UIAUTOMATION_ELEMENT_CLASS |
Modifier | Constructor and Description |
---|---|
protected |
MobileSeLionElementList(String elementPackage,
String element,
boolean uiElement) |
Modifier and Type | Method and Description |
---|---|
static MobileSeLionElementList |
findMatch(String rawType) |
static List<GUIObjectDetails> |
getGUIObjectList(List<String> keys) |
static boolean |
isExactMatch(String element) |
static boolean |
isValidUIElement(String element) |
static void |
registerElement(String element)
By providing the qualified name of a custom element we can register it to the element array.
|
getElementPackage, isUIElement, looksLike, stringify, toString
public static final String UIAUTOMATION_ELEMENT_CLASS
public static final MobileSeLionElementList Button
public static final MobileSeLionElementList Element
public static final MobileSeLionElementList Image
public static final MobileSeLionElementList Label
public static final MobileSeLionElementList List
public static final MobileSeLionElementList Picker
public static final MobileSeLionElementList Slider
public static final MobileSeLionElementList Switch
public static final MobileSeLionElementList TextField
public static final MobileSeLionElementList BASE_CLASS
public static void registerElement(String element)
element
- string of the qualified classpublic static MobileSeLionElementList findMatch(String rawType)
rawType
- The String using which an attempt to find a matching MobileSeLionElementList
is to be
performed.MobileSeLionElementList
if the type ends with one of the values of
MobileSeLionElementList
that were passed as android elements (or) null
if there were
no matches.public static boolean isExactMatch(String element)
element
- The element that needs to be searched.true
if the element was found in the set of elements provided.public static boolean isValidUIElement(String element)
element
- The element that needs to be tested for being a valid MobileSeLionElementList
and whose
AbstractSeLionElementList.isUIElement()
returns true.true
if there was a match and false
otherwise.public static List<GUIObjectDetails> getGUIObjectList(List<String> keys)
Copyright © 2016 PayPal Open Source. All rights reserved.