@Component
public class ValidationStepDefinitions
extends java.lang.Object
Constructor and Description |
---|
ValidationStepDefinitions() |
Modifier and Type | Method and Description |
---|---|
void |
checkBrowserTitleStep(java.lang.String browserTitle)
Verify the title in the browser
|
void |
checkElementClassStep(java.lang.String selectorAlias,
java.lang.String selectorValue,
java.lang.String classAlias,
java.lang.String classValue,
java.lang.String exists)
Verify that an element has the specified class using simple selection
|
void |
checkElementClassStep(java.lang.String selector,
java.lang.String selectorAlias,
java.lang.String selectorValue,
java.lang.String classAlias,
java.lang.String classValue,
java.lang.String exists)
Verify that an element has the specified class
|
void |
clickWaitStep(java.lang.String alias,
java.lang.String selectorValue,
java.lang.String waitDuration,
java.lang.String ignoringTimeout)
Verifies that the element is clickable within a given amount of time.
|
void |
clickWaitStep(java.lang.String selector,
java.lang.String alias,
java.lang.String selectorValue,
java.lang.String waitDuration,
java.lang.String ignoringTimeout)
Verifies that the element is clickable within a given amount of time.
|
void |
displayAttrWait(java.lang.String attribute,
java.lang.String alias,
java.lang.String selectorValue,
java.lang.String waitDuration,
java.lang.String ignoringTimeout)
Verifies that an element with the supplied attribute and attribute value is displayed
(i.e.
|
void |
displaySimpleWaitStep(java.lang.String alias,
java.lang.String selectorValue,
java.lang.String waitDuration,
java.lang.String ignoringTimeout)
Verifies that the element is displayed (i.e.
|
void |
displayWaitStep(java.lang.String selector,
java.lang.String alias,
java.lang.String selectorValue,
java.lang.String waitDuration,
java.lang.String ignoringTimeout)
Verifies that the element is displayed (i.e.
|
void |
notDisplayAttrWait(java.lang.String attribute,
java.lang.String alias,
java.lang.String selectorValue,
java.lang.String waitDuration,
java.lang.String ignoringTimeout)
Verifies that an element with the supplied attribute and attribute value is not displayed
(i.e.
|
void |
notDisplaySimpleWaitStep(java.lang.String alias,
java.lang.String selectorValue,
java.lang.String ignoringTimeout,
java.lang.String waitDuration)
Verifies that the element is not displayed (i.e.
|
void |
notDisplayWaitStep(java.lang.String selector,
java.lang.String alias,
java.lang.String selectorValue,
java.lang.String waitDuration,
java.lang.String ignoringTimeout)
Verifies that the element is not displayed (i.e.
|
void |
notPresentAttrWait(java.lang.String attribute,
java.lang.String alias,
java.lang.String selectorValue,
java.lang.String waitDuration,
java.lang.String ignoringTimeout)
Verifies that an element with the supplied attribute and attribute value is not present in the DOM
within a certain amount of time.
|
void |
notPresentLinkStep(java.lang.String alias,
java.lang.String linkContent,
java.lang.String waitDuration,
java.lang.String ignoringTimeout)
Verifies that a link with the supplied text is not placed in the DOM within a certain amount of time.
|
void |
notPresentSimpleWaitStep(java.lang.String alias,
java.lang.String selectorValue,
java.lang.String waitDuration,
java.lang.String ignoringTimeout)
Verifies that the element is not placed in the DOM within a certain amount of time.
|
void |
notPresentWaitStep(java.lang.String selector,
java.lang.String alias,
java.lang.String selectorValue,
java.lang.String waitDuration,
java.lang.String ignoringTimeout)
Verifies that the element is not placed in the DOM within a certain amount of time.
|
void |
presentAttrWait(java.lang.String attribute,
java.lang.String alias,
java.lang.String selectorValue,
java.lang.String waitDuration,
java.lang.String ignoringTimeout)
Verifies that an element with the supplied attribute and attribute value is present in the DOM
within a certain amount of time.
|
void |
presentLinkStep(java.lang.String alias,
java.lang.String linkContent,
java.lang.String waitDuration,
java.lang.String ignoringTimeout)
Verifies that a link with the supplied text is placed in the DOM within a certain amount of time.
|
void |
presentSimpleWaitStep(java.lang.String alias,
java.lang.String selectorValue,
java.lang.String waitDuration,
java.lang.String ignoringTimeout)
Verifies that the element is placed in the DOM within a certain amount of time.
|
void |
presentWaitStep(java.lang.String selector,
java.lang.String alias,
java.lang.String selectorValue,
java.lang.String waitDuration,
java.lang.String ignoringTimeout)
Verifies that the element is placed in the DOM within a certain amount of time.
|
void |
reportHttpCodes()
We track response codes in the BrowsermobProxyUtilsImpl class, and if any where in the
range 400 - 599, we report them.
|
void |
verifyAliasBigger(java.lang.String alias1,
java.lang.String valueAlias,
java.lang.String value)
Verify that an aliased value is bigger than another alias value
|
void |
verifyAliasBiggerOrEqual(java.lang.String alias1,
java.lang.String valueAlias,
java.lang.String value)
Verify that an aliased value is bigger than or equal to another alias value
|
void |
verifyAliasSmaller(java.lang.String alias1,
java.lang.String valueAlias,
java.lang.String value)
Verify that an aliased value is smaller than another alias value
|
void |
verifyAliasSmallerOrEqual(java.lang.String alias1,
java.lang.String valueAlias,
java.lang.String value)
Verify that an aliased value is smaller than or equal to another alias value
|
void |
verifyBlank(java.lang.String alias)
Verify that an aliased value a blank string
|
void |
verifyHttpCodes()
We track response codes in the BrowsermobProxyUtilsImpl class, and if any where in the
range 400 - 599, we output those as an error.
|
void |
verifyIsEqual(java.lang.String alias,
java.lang.String valueAlias,
java.lang.String expectedValue)
Verify that an aliased value is equal to the supplied string
|
void |
verifyIsNotEqual(java.lang.String alias,
java.lang.String valueAlias,
java.lang.String expectedValue)
Verify that an aliased value is not equal to the supplied string
|
void |
verifyIsNotNumber(java.lang.String alias)
Verify that an aliased value is not a number
|
void |
verifyIsNumber(java.lang.String alias)
Verify that an aliased value is a number
|
void |
verifyLength(java.lang.String alias,
java.lang.String length)
Validates that an aliased value has the expected length
|
void |
verifyMatchesRegex(java.lang.String alias,
java.lang.String regex)
Verify that an aliased value matches the regex
|
void |
verifyNotBlank(java.lang.String alias)
Verify that an aliased value is not a blank string
|
void |
verifyNotMatchesRegex(java.lang.String alias,
java.lang.String regex)
Verify that an aliased value does not match the regex
|
void |
verifyPageContent(java.lang.String alias,
java.lang.String text)
Checks for the presence of some text on the page.
|
void |
verifyPageContentAbsent(java.lang.String alias,
java.lang.String text)
Checks for the absence of some text on the page.
|
void |
verifyPageRegexContent(java.lang.String alias,
java.lang.String regex)
Checks for the presence of a regex on the page.
|
void |
verifyPageRegexNotContent(java.lang.String alias,
java.lang.String regex)
Checks for the absence of a regex on the page.
|
@Then(value="^(?:I verify that )?the browser title should be \"([^\"]*)\"$") public void checkBrowserTitleStep(java.lang.String browserTitle)
browserTitle
- Defines what the browser title should be@Then(value="^(?:I verify(?: that)? )?the element found by( alias)? \"([^\"]*)\" should have a class( alias)? of \"([^\"]*)\"( if it exists)?$") public void checkElementClassStep(java.lang.String selectorAlias, java.lang.String selectorValue, java.lang.String classAlias, java.lang.String classValue, java.lang.String exists)
selectorAlias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias was
set, this value is found from the data set. Otherwise it is a literal value.classAlias
- If this word is found in the step, it means the classValue is found from the data
set.classValue
- The class valueexists
- If this text is set, an error that would be thrown because the element was not
found is ignored. Essentially setting this text makes this an optional statement.@Then(value="^(?:I verify(?: that)? )?the element with the (ID|class|xpath|name|css selector)( alias)? of \"([^\"]*)\" (?:(?:should have)|(?:has))? a class( alias)? of \"([^\"]*)\"( if it exists)?$") public void checkElementClassStep(java.lang.String selector, java.lang.String selectorAlias, java.lang.String selectorValue, java.lang.String classAlias, java.lang.String classValue, java.lang.String exists)
selector
- Either ID, class, xpath, name or css selectorselectorAlias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias was
set, this value is found from the data set. Otherwise it is a literal value.classAlias
- If this word is found in the step, it means the classValue is found from the data
set.classValue
- The class valueexists
- If this text is set, an error that would be thrown because the element was not
found is ignored. Essentially setting this text makes this an optional statement.@Then(value="(?:I verify(?: that)? )?(?:the )?alias \"([^\"]*)\" is empty") public void verifyBlank(java.lang.String alias)
alias
- The aliased value to check@Then(value="(?:I verify(?: that)? )?(?:the )?alias \"([^\"]*)\" is not empty") public void verifyNotBlank(java.lang.String alias)
alias
- The aliased value to check@Then(value="(?:I verify(?: that)? )?(?:the )?alias \"([^\"]*)\" is a number") public void verifyIsNumber(java.lang.String alias)
alias
- The aliased value to check@Then(value="(?:I verify(?: that)? )?(?:the )?alias \"([^\"]*)\" is not a number") public void verifyIsNotNumber(java.lang.String alias)
alias
- The aliased value to check@Then(value="(?:I verify(?: that)? )?(?:the )?alias \"([^\"]*)\" matches the regex \"([^\"]*)\"") public void verifyMatchesRegex(java.lang.String alias, java.lang.String regex)
alias
- The aliased value to checkregex
- The regex to match against the aliased value@Then(value="(?:I verify(?: that)? )?(?:the )?alias \"([^\"]*)\" does not match the regex \"([^\"]*)\"") public void verifyNotMatchesRegex(java.lang.String alias, java.lang.String regex)
alias
- The aliased value to checkregex
- The regex to match against the aliased value@Then(value="(?:I verify(?: that)? )?(?:the )?alias \"([^\"]*)\" is equal to((?: the)? alias)? \"([^\"]*)\"") public void verifyIsEqual(java.lang.String alias, java.lang.String valueAlias, java.lang.String expectedValue)
alias
- The aliased value to checkvalueAlias
- Add the word alias to indicate that the expected value is an alias keyexpectedValue
- The value that the aliased value is expected to equal@Then(value="(?:I verify(?: that)? )?(?:the )?alias \"([^\"]*)\" is not equal to((?: the)? alias)? \"([^\"]*)\"") public void verifyIsNotEqual(java.lang.String alias, java.lang.String valueAlias, java.lang.String expectedValue)
alias
- The aliased value to checkvalueAlias
- Add the word alias to indicate that the expected value is an alias keyexpectedValue
- The value that the aliased value is expected to equal@Then(value="(?:I verify(?: that)? )?there were no HTTP errors") public void verifyHttpCodes()
@Then(value="I report any HTTP errors") public void reportHttpCodes()
@Then(value="^(?:I verify(?: that)? )?the page contains the text( alias)? \"(.*?)\"") public void verifyPageContent(java.lang.String alias, java.lang.String text)
alias
- This text appears if the text is astucally an alias keytext
- The text to find on the page, or the alias to the text@Then(value="^(?:I verify(?: that)? )?the page contains the regex( alias)? \"(.*?)\"") public void verifyPageRegexContent(java.lang.String alias, java.lang.String regex)
alias
- This text appears if the regex is astucally an alias keyregex
- The regex to find on the page, or the alias to the regex@Then(value="^(?:I verify(?: that)? )?the page does not contain the text( alias)? \"(.*?)\"") public void verifyPageContentAbsent(java.lang.String alias, java.lang.String text)
alias
- This text appears if the text is astucally an alias keytext
- The text to find on the page, or the alias to the text@Then(value="^(?:I verify(?: that)? )?the page does not contain the regex( alias)? \"(.*?)\"") public void verifyPageRegexNotContent(java.lang.String alias, java.lang.String regex)
alias
- This text appears if the regex is astucally an alias keyregex
- The regex to find on the page, or the alias to the regex@Then(value="(?:I verify(?: that)? )?(?:the )?alias \"([^\"]*)\" is larger than((?: the)? alias)? \"([^\"]*)\"") public void verifyAliasBigger(java.lang.String alias1, java.lang.String valueAlias, java.lang.String value)
alias1
- The aliased value to checkvalueAlias
- Add the word alias to indicate that the expected value is an alias keyvalue
- The second aliased value to compare the first too@Then(value="(?:I verify(?: that)? )?(?:the )?alias \"([^\"]*)\" is larger than or equal to((?: the)? alias)? \"([^\"]*)\"") public void verifyAliasBiggerOrEqual(java.lang.String alias1, java.lang.String valueAlias, java.lang.String value)
alias1
- The aliased value to checkvalueAlias
- Add the word alias to indicate that the expected value is an alias keyvalue
- The second aliased value to compare the first to@Then(value="(?:I verify(?: that)? )?(?:the )?alias \"([^\"]*)\" is smaller than((?: the)? alias)? \"([^\"]*)\"") public void verifyAliasSmaller(java.lang.String alias1, java.lang.String valueAlias, java.lang.String value)
alias1
- The aliased value to checkvalueAlias
- Add the word alias to indicate that the expected value is an alias keyvalue
- The second aliased value to compare the first to@Then(value="(?:I verify(?: that)? )?(?:the )?alias \"([^\"]*)\" is smaller than or equal to((?: the)? alias)? \"([^\"]*)\"") public void verifyAliasSmallerOrEqual(java.lang.String alias1, java.lang.String valueAlias, java.lang.String value)
alias1
- The aliased value to checkvalueAlias
- Add the word alias to indicate that the expected value is an alias keyvalue
- The second aliased value to compare the first to@Then(value="(?:I verify(?: that)? )?(?:the )?alias \"([^\"]*)\" is \"(\\d+)\" characters long") public void verifyLength(java.lang.String alias, java.lang.String length)
alias
- The aliased value to checklength
- The expected length of the aliased value@Then(value="^(?:I verify(?: that)? )?(?:a|an|the) element found by( alias)? \"([^\"]*)\" is displayed(?: within \"(\\d+)\" seconds?)?(,? ignoring timeouts?)?") public void displaySimpleWaitStep(java.lang.String alias, java.lang.String selectorValue, java.lang.String waitDuration, java.lang.String ignoringTimeout)
waitDuration
- The maximum amount of time to wait foralias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias
was set, this value is found from the data set. Otherwise it is a literal
value.ignoringTimeout
- include this text to continue the script in the event that the element can't be
found@Then(value="^(?:I verify(?: that)? )?(?:a|an|the) element found by( alias)? \"([^\"]*)\" is not displayed(?: within \"(\\d+)\" seconds?)?(,? ignoring timeouts?)?") public void notDisplaySimpleWaitStep(java.lang.String alias, java.lang.String selectorValue, java.lang.String ignoringTimeout, java.lang.String waitDuration)
waitDuration
- The maximum amount of time to wait foralias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias
was set, this value is found from the data set. Otherwise it is a literal
value.ignoringTimeout
- include this text to continue the script in the event that the element can't be
found@Then(value="^(?:I verify(?: that)? )?(?:a|an|the) element with (?:a|an|the) (ID|class|xpath|name|css selector)( alias)? of \"([^\"]*)\" is displayed(?: within \"(\\d+)\" seconds?)?(,? ignoring timeouts?)?") public void displayWaitStep(java.lang.String selector, java.lang.String alias, java.lang.String selectorValue, java.lang.String waitDuration, java.lang.String ignoringTimeout)
waitDuration
- The maximum amount of time to wait forselector
- Either ID, class, xpath, name or css selectoralias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias
was set, this value is found from the data set. Otherwise it is a literal
value.ignoringTimeout
- include this text to continue the script in the event that the element can't be
found@Then(value="^(?:I verify(?: that)? )?(?:a|an|the) element with (?:a|an|the) (ID|class|xpath|name|css selector)( alias)? of \"([^\"]*)\" is not displayed(?: within \"(\\d+)\" seconds?)(,? ignoring timeouts?)?") public void notDisplayWaitStep(java.lang.String selector, java.lang.String alias, java.lang.String selectorValue, java.lang.String waitDuration, java.lang.String ignoringTimeout)
waitDuration
- The maximum amount of time to wait forselector
- Either ID, class, xpath, name or css selectoralias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias
was set, this value is found from the data set. Otherwise it is a literal
value.ignoringTimeout
- include this text to continue the script in the event that the element can't be
found@When(value="^(?:I verify(?: that)? )?(?:a|an|the) element found by( alias)? \"([^\"]*)\" is clickable(?: within \"(\\d+)\" seconds?)?(,? ignoring timeouts?)?") public void clickWaitStep(java.lang.String alias, java.lang.String selectorValue, java.lang.String waitDuration, java.lang.String ignoringTimeout)
waitDuration
- The maximum amount of time to wait foralias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias
was set, this value is found from the data set. Otherwise it is a literal
value.ignoringTimeout
- include this text to continue the script in the event that the element can't be
found@Then(value="^(?:I verify(?: that)? )?(?:a|an|the) element with (?:a|an|the) (ID|class|xpath|name|css selector)( alias)? of \"([^\"]*)\" is clickable(?: within \"(\\d+)\" seconds?)(,? ignoring timeouts?)?") public void clickWaitStep(java.lang.String selector, java.lang.String alias, java.lang.String selectorValue, java.lang.String waitDuration, java.lang.String ignoringTimeout)
waitDuration
- The maximum amount of time to wait forselector
- Either ID, class, xpath, name or css selectoralias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias
was set, this value is found from the data set. Otherwise it is a literal
value.ignoringTimeout
- include this text to continue the script in the event that the element can't be
found@Then(value="^(?:I verify(?: that)? )?(?:a|an|the) element found by( alias)? \"([^\"]*)\" is present(?: within \"(\\d+)\" seconds?)?(,? ignoring timeouts?)?") public void presentSimpleWaitStep(java.lang.String alias, java.lang.String selectorValue, java.lang.String waitDuration, java.lang.String ignoringTimeout)
waitDuration
- The maximum amount of time to wait foralias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias
was set, this value is found from the data set. Otherwise it is a literal
value.ignoringTimeout
- Include this text to ignore a timeout while waiting for the element to be
present@Then(value="^(?:I verify(?: that)? )?(?:a|an|the) element found by( alias)? \"([^\"]*)\" is not present(?: within \"(\\d+)\" seconds?)?(,? ignoring timeouts?)?") public void notPresentSimpleWaitStep(java.lang.String alias, java.lang.String selectorValue, java.lang.String waitDuration, java.lang.String ignoringTimeout)
waitDuration
- The maximum amount of time to wait foralias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias
was set, this value is found from the data set. Otherwise it is a literal
value.ignoringTimeout
- Include this text to ignore a timeout while waiting for the element to be
present@Then(value="^(?:I verify(?: that)? )?(?:a|an|the) element with (?:a|an|the) (ID|class|xpath|name|css selector)( alias)? of \"([^\"]*)\" is present(?: within \"(\\d+)\" seconds?)?(,? ignoring timeouts?)?") public void presentWaitStep(java.lang.String selector, java.lang.String alias, java.lang.String selectorValue, java.lang.String waitDuration, java.lang.String ignoringTimeout)
waitDuration
- The maximum amount of time to wait forselector
- Either ID, class, xpath, name or css selectoralias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias
was set, this value is found from the data set. Otherwise it is a literal
value.ignoringTimeout
- Include this text to ignore a timeout while waiting for the element to be
present@Then(value="^(?:I verify(?: that)? )?(?:a|an|the) element with (?:a|an|the) (ID|class|xpath|name|css selector)( alias)? of \"([^\"]*)\" is not present(?: within \"(\\d+)\" seconds?)?(,? ignoring timeouts?)?") public void notPresentWaitStep(java.lang.String selector, java.lang.String alias, java.lang.String selectorValue, java.lang.String waitDuration, java.lang.String ignoringTimeout)
waitDuration
- The maximum amount of time to wait forselector
- Either ID, class, xpath, name or css selectoralias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias
was set, this value is found from the data set. Otherwise it is a literal
value.ignoringTimeout
- Include this text to ignore a timeout while waiting for the element to be
present@Then(value="^(?:I verify(?: that)? )?a link with the text content of( alias) \"([^\"]*)\" is present(?: within \"(\\d+)\" seconds?)?(,? ignoring timeouts?)?") public void presentLinkStep(java.lang.String alias, java.lang.String linkContent, java.lang.String waitDuration, java.lang.String ignoringTimeout)
waitDuration
- The maximum amount of time to wait foralias
- If this word is found in the step, it means the linkContent is found from the
data set.linkContent
- The text content of the link we are wait forignoringTimeout
- The presence of this text indicates that timeouts are ignored@Then(value="^(?:I verify(?: that)? )?a link with the text content of( alias) \"([^\"]*)\" is not present(?: within \"(\\d+)\" seconds?)?(,? ignoring timeouts?)?") public void notPresentLinkStep(java.lang.String alias, java.lang.String linkContent, java.lang.String waitDuration, java.lang.String ignoringTimeout)
waitDuration
- The maximum amount of time to wait foralias
- If this word is found in the step, it means the linkContent is found from the
data set.linkContent
- The text content of the link we are wait forignoringTimeout
- The presence of this text indicates that timeouts are ignored@Then(value="^(?:I verify(?: that)? )?(?:a|an|the) element with (?:a|an|the) attribute of \"([^\"]*)\" equal to( alias)? \"([^\"]*)\" is displayed(?: within \"(\\d+)\" seconds?)?(,? ignoring timeouts?)?") public void displayAttrWait(java.lang.String attribute, java.lang.String alias, java.lang.String selectorValue, java.lang.String waitDuration, java.lang.String ignoringTimeout)
waitDuration
- The maximum amount of time to wait forattribute
- The attribute to use to select the element withalias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias
was set, this value is found from the data set. Otherwise it is a literal value.ignoringTimeout
- Include this text to ignore a timeout while waiting for the element to be present@Then(value="^(?:I verify(?: that)? )?(?:a|an|the) element with (?:a|an|the) attribute of \"([^\"]*)\" equal to( alias)? \"([^\"]*)\" is not displayed(?: within \"(\\d+)\" seconds?)?(,? ignoring timeouts?)?") public void notDisplayAttrWait(java.lang.String attribute, java.lang.String alias, java.lang.String selectorValue, java.lang.String waitDuration, java.lang.String ignoringTimeout)
waitDuration
- The maximum amount of time to wait forattribute
- The attribute to use to select the element withalias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias
was set, this value is found from the data set. Otherwise it is a literal value.ignoringTimeout
- Include this text to ignore a timeout while waiting for the element to be present@Then(value="^(?:I verify(?: that)? )?(?:a|an|the) element with (?:a|an|the) attribute of \"([^\"]*)\" equal to( alias)? \"([^\"]*)\" is present(?: within \"(\\d+)\" seconds?)?(,? ignoring timeouts?)?") public void presentAttrWait(java.lang.String attribute, java.lang.String alias, java.lang.String selectorValue, java.lang.String waitDuration, java.lang.String ignoringTimeout)
waitDuration
- The maximum amount of time to wait forattribute
- The attribute to use to select the element withalias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias
was set, this value is found from the data set. Otherwise it is a literal value.ignoringTimeout
- Include this text to ignore a timeout while waiting for the element to be present@Then(value="^(?:I verify(?: that)? )?(?:a|an|the) element with (?:a|an|the) attribute of \"([^\"]*)\" equal to( alias)? \"([^\"]*)\" is not present(?: within \"(\\d+)\" seconds?)?(,? ignoring timeouts?)?") public void notPresentAttrWait(java.lang.String attribute, java.lang.String alias, java.lang.String selectorValue, java.lang.String waitDuration, java.lang.String ignoringTimeout)
waitDuration
- The maximum amount of time to wait forattribute
- The attribute to use to select the element withalias
- If this word is found in the step, it means the selectorValue is found from the
data set.selectorValue
- The value used in conjunction with the selector to match the element. If alias was
set, this value is found from the data set. Otherwise it is a literal value.ignoringTimeout
- Include this text to ignore a timeout while waiting for the element to be present