public abstract class UiElement extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.log4j.Logger |
log |
protected UiElementProperties |
properties
Actual property names and values to match
|
| Constructor and Description |
|---|
UiElement(UiDriver uiDriver,
UiElementProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkTypeAndRules(String userTypePrefix,
String... rules)
Check against passed rules and return first (largest in number of properties assumed) matching
|
UiElementProperties |
getElementProperties() |
String |
getElementProperty(String name) |
String[] |
getPropertyNamesToUseForMatch() |
UiDriver |
getUiDriver() |
protected void |
logAction() |
String |
toString() |
protected UiElementProperties properties
protected org.apache.log4j.Logger log
public UiElement(UiDriver uiDriver, UiElementProperties properties)
public UiDriver getUiDriver()
public UiElementProperties getElementProperties()
protected void logAction()
public String[] getPropertyNamesToUseForMatch()
public void checkTypeAndRules(String userTypePrefix, String... rules) throws ErrorMatchingElementRules
userTypePrefix - component type prefix like Swing, Html ...rules - array of rules( of properties) valid for UiElement identificationErrorMatchingElementRulesCopyright © 2017 Axway Software. All rights reserved.