@Component
public class KeyEventSetpDefinitions
extends java.lang.Object
| Constructor and Description |
|---|
KeyEventSetpDefinitions() |
| Modifier and Type | Method and Description |
|---|---|
void |
pressBackspaceStep(java.lang.Integer times,
java.lang.String ignoreErrors)
Presses the backspace key on the active element.
|
void |
pressCmdAStep(java.lang.String ignoreErrors)
Press the CMD-A keys to the active element.
|
void |
pressCmdOrCtrlAStep(java.lang.String ignoreErrors)
Press the CMD-A or CTRL-A keys to the active element depending on the client os.
|
void |
pressCtrlAStep(java.lang.String ignoreErrors)
Press the CTRL-A keys to the active element.
|
void |
pressDeleteStep(java.lang.Integer times,
java.lang.String ignoreErrors)
Press the delete key on the active element.
|
void |
pressDownArrowStep(java.lang.String ignoreErrors)
Press the down arrow on the active element.
|
void |
pressEnterStep(java.lang.String ignoreErrors)
Presses the enter key on the active element.
|
void |
pressLeftArrowStep(java.lang.String ignoreErrors)
Press the left arrow on the active element.
|
void |
pressRightArrowStep(java.lang.String ignoreErrors)
Press the right arrow on the active element.
|
void |
pressTabStep(java.lang.String ignoreErrors)
Press the tab key on the active element.
|
void |
pressUpArrowStep(java.lang.String ignoreErrors)
Press the up arrow on the active element.
|
@When(value="^I press CTRL-A on the active element( ignoring errors)?$") public void pressCtrlAStep(java.lang.String ignoreErrors)
ignoreErrors - Add this text to ignore any exceptions. This is really only useful for debugging.@When(value="^I press CMD-A on the active element( ignoring errors)?$") public void pressCmdAStep(java.lang.String ignoreErrors)
ignoreErrors - Add this text to ignore any exceptions. This is really only useful for debugging.@When(value="^I select all the text in the active element( ignoring errors)?$") public void pressCmdOrCtrlAStep(java.lang.String ignoreErrors)
ignoreErrors - Add this text to ignore any exceptions. This is really only useful for debugging.@When(value="^I press(?: the)? Delete(?: key)? on the active element(?: \"(\\d+)\" times)?( ignoring errors)?$")
public void pressDeleteStep(java.lang.Integer times,
java.lang.String ignoreErrors)
times - The number of times to press the delete keyignoreErrors - Add this text to ignore any exceptions. This is really only useful for debugging.@When(value="^I press(?: the)? tab(?: key)? on the active element( ignoring errors)?$") public void pressTabStep(java.lang.String ignoreErrors)
ignoreErrors - Add this text to ignore any exceptions. This is really only useful for debugging.@When(value="^I press(?: the)? down arrow(?: key)? on the active element( ignoring errors)?$") public void pressDownArrowStep(java.lang.String ignoreErrors)
ignoreErrors - Add this text to ignore any exceptions. This is really only useful for debugging.@When(value="^I press(?: the)? up arrow(?: key)? on the active element( ignoring errors)?$") public void pressUpArrowStep(java.lang.String ignoreErrors)
ignoreErrors - Add this text to ignore any exceptions. This is really only useful for debugging.@When(value="^I press(?: the)? left arrow(?: key)? on the active element( ignoring errors)?$") public void pressLeftArrowStep(java.lang.String ignoreErrors)
ignoreErrors - Add this text to ignore any exceptions. This is really only useful for debugging.@When(value="^I press(?: the)? right arrow(?: key)? on the active element( ignoring errors)?$") public void pressRightArrowStep(java.lang.String ignoreErrors)
ignoreErrors - Add this text to ignore any exceptions. This is really only useful for debugging.@When(value="^I press(?: the)? backspace(?: key)? on the active element(?: \"(\\d+)\" times)?( ignoring errors)?$")
public void pressBackspaceStep(java.lang.Integer times,
java.lang.String ignoreErrors)
times - The number of times to press the keyignoreErrors - Add this text to ignore any exceptions. This is really only useful for debugging.@When(value="^I press(?: the)? enter(?: key)? on the active element( ignoring errors)?$") public void pressEnterStep(java.lang.String ignoreErrors)
ignoreErrors - Add this text to ignore any exceptions. This is really only useful for debugging.