Class KeyboardEvent
java.lang.Object
org.uitnet.testing.smartfwk.ui.core.events.InputEvent<KeyboardEventName>
org.uitnet.testing.smartfwk.ui.core.events.KeyboardEvent
public class KeyboardEvent extends InputEvent<KeyboardEventName>
- Author:
- Madhav Krishna
-
Field Summary
Fields Modifier and Type Field Description protected StringinputTextBeforeKeyActionprotected org.openqa.selenium.Keyskeyprotected NewTextLocationtextLocationFields inherited from class org.uitnet.testing.smartfwk.ui.core.events.InputEvent
name, type -
Constructor Summary
Constructors Constructor Description KeyboardEvent(KeyboardEventName name, org.openqa.selenium.Keys key, String inputTextBeforeKeyAction, NewTextLocation textLocation) -
Method Summary
Modifier and Type Method Description StringgetInputText()org.openqa.selenium.KeysgetKey()NewTextLocationgetTextLocation()Location where to type the text.Methods inherited from class org.uitnet.testing.smartfwk.ui.core.events.InputEvent
getName, getType
-
Field Details
-
key
protected org.openqa.selenium.Keys key -
inputTextBeforeKeyAction
-
textLocation
-
-
Constructor Details
-
KeyboardEvent
public KeyboardEvent(KeyboardEventName name, org.openqa.selenium.Keys key, String inputTextBeforeKeyAction, NewTextLocation textLocation)
-
-
Method Details
-
getKey
public org.openqa.selenium.Keys getKey()- Returns:
- the keyboard key.
-
getInputText
- Returns:
- the input text that is associated with the key.
-
getTextLocation
Location where to type the text.- Returns:
-