public class IOSSeLionElementList extends AbstractSeLionElementList
Modifier and Type | Field and Description |
---|---|
static IOSSeLionElementList |
BASE_CLASS |
static IOSSeLionElementList |
UIAAlert |
static IOSSeLionElementList |
UIAButton |
static IOSSeLionElementList |
UIAElement |
static IOSSeLionElementList |
UIANavigationBar |
static IOSSeLionElementList |
UIAPicker |
static IOSSeLionElementList |
UIASlider |
static IOSSeLionElementList |
UIAStaticText |
static IOSSeLionElementList |
UIASwitch |
static IOSSeLionElementList |
UIATableView |
static IOSSeLionElementList |
UIATextField |
static String |
UIAUTOMATION_ELEMENT_CLASS |
Modifier and Type | Method and Description |
---|---|
static IOSSeLionElementList |
findMatch(String rawType) |
static List<GUIObjectDetails> |
getGUIObjectList(List<String> keys)
|
static boolean |
isExactMatch(String element) |
static boolean |
isValid(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 IOSSeLionElementList UIAButton
public static final IOSSeLionElementList UIAAlert
public static final IOSSeLionElementList UIANavigationBar
public static final IOSSeLionElementList UIAPicker
public static final IOSSeLionElementList UIASlider
public static final IOSSeLionElementList UIAStaticText
public static final IOSSeLionElementList UIASwitch
public static final IOSSeLionElementList UIATableView
public static final IOSSeLionElementList UIATextField
public static final IOSSeLionElementList UIAElement
public static final IOSSeLionElementList BASE_CLASS
public static void registerElement(String element)
element
- string of the qualified classpublic static IOSSeLionElementList findMatch(String rawType)
rawType
- The String using which an attempt to find a matching IOSSeLionElementList
is to be performed.IOSSeLionElementList
if the type ends with one of the values of IOSSeLionElementList
enum (or) null
if there were no matches.public static boolean isValid(String element)
element
- The element that needs to be tested for being a valid IOSSeLionElementList
true
if there was a match and false
otherwise.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 IOSSeLionElementList
and whose
AbstractSeLionElementList.isUIElement()
returns true.true
if there was a match and false
otherwise.public static List<GUIObjectDetails> getGUIObjectList(List<String> keys)
keys
- keys for which GUIObjectDetails
is to be created.List
of GUIObjectDetails
Copyright © 2016 PayPal Open Source. All rights reserved.