@Component
public class ModifyAttributeDefinitions
extends java.lang.Object
Constructor and Description |
---|
ModifyAttributeDefinitions() |
Modifier and Type | Method and Description |
---|---|
void |
modifyAttribute(java.lang.String alias,
java.lang.String selectorValue,
java.lang.String attributeAlias,
java.lang.String attribute,
java.lang.String valueAlias,
java.lang.String value,
java.lang.String exists)
Opens up the supplied URL.
|
@When(value="^I modify the element found by( alias)? \"(.*?)\" by setting the attribute( alias)? \"(.*?)\" to( alias)? \"(.*?)\"( if it exists)?$") public void modifyAttribute(java.lang.String alias, java.lang.String selectorValue, java.lang.String attributeAlias, java.lang.String attribute, java.lang.String valueAlias, java.lang.String value, java.lang.String exists)
alias
- include this text if the url is actually an alias to be loaded from the
configuration fileselectorValue
- The text used to select the elementattributeAlias
- true if the attribute name is forced to an aliasattribute
- The name of the attributevalueAlias
- true if the attribute value is an aliasvalue
- The value to assign to the attributeexists
- Set this string to silently fail if the element can not be found