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 NewTextLocationtextLocation-
Fields 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
All Methods Instance Methods Concrete Methods 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 Detail
-
key
protected org.openqa.selenium.Keys key
-
inputTextBeforeKeyAction
protected String inputTextBeforeKeyAction
-
textLocation
protected NewTextLocation textLocation
-
-
Constructor Detail
-
KeyboardEvent
public KeyboardEvent(KeyboardEventName name, org.openqa.selenium.Keys key, String inputTextBeforeKeyAction, NewTextLocation textLocation)
-
-
Method Detail
-
getKey
public org.openqa.selenium.Keys getKey()
- Returns:
- the keyboard key.
-
getInputText
public String getInputText()
- Returns:
- the input text that is associated with the key.
-
getTextLocation
public NewTextLocation getTextLocation()
Location where to type the text.- Returns:
-
-