public class AemDialogFieldResolver extends Object implements FieldContainer
| Constructor and Description |
|---|
AemDialogFieldResolver() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getField(String label,
Class<T> dialogFieldType)
Searches for the field of a given type, with the specified label.
|
<T> T |
getFieldByCss(String css,
Class<T> dialogFieldType)
Searches for the field of a given type, identified by the css class.
|
<T> T |
getFieldByName(String name,
Class<T> dialogFieldType)
Searches for the field of a given type, identified by its name.
|
<T> T |
getFieldBySelector(org.openqa.selenium.By selector,
Class<T> dialogFieldType)
Searches for the field of a given type, identified by the selector class.
|
<T> T |
getFieldByXpath(String xpath,
Class<T> dialogFieldType)
Searches for the field of a given type, identified by the xpath.
|
<T> T |
getFieldInActiveTab(String label,
Class<T> dialogFieldType) |
public <T> T getFieldBySelector(org.openqa.selenium.By selector,
Class<T> dialogFieldType)
T - dialog field classselector - Locator by which to locate the dialog field.dialogFieldType - Class that represents dialog field.public <T> T getFieldByName(String name, Class<T> dialogFieldType)
T - dialog field classname - Name of the dialog field.dialogFieldType - Class that represents dialog field.public <T> T getFieldByXpath(String xpath, Class<T> dialogFieldType)
T - dialog field classxpath - Xpath expression by which to locate the dialog field.dialogFieldType - Class that represents dialog field.public <T> T getField(String label, Class<T> dialogFieldType)
getField in interface FieldContainerT - dialog field classlabel - Label of the dialog field.dialogFieldType - Class that represents dialog's field.public <T> T getFieldByCss(String css, Class<T> dialogFieldType)
T - dialog field classcss - Css by which to locate the dialog field.dialogFieldType - Class that represents dialog field.Copyright © 2016–2018 Cognifide Ltd.. All rights reserved.