All Downloads are FREE. Search and download functionalities are using the official Maven repository.

desc.InputText.txt Maven / Gradle / Ivy

There is a newer version: 1.9
Show newest version
Types the given text into text field identified by locator.

Support for simulating pressing many keys in a 'cord', do this by prefixing text with {{cord=}}.
Multiple cords are separated by '|'.

*Cord Supported Special Texts:*
| NULL, CANCEL, HELP, BACK_SPACE, TAB, CLEAR, RETURN, ENTER, SHIFT, LEFT_SHIFT, CONTROL, LEFT_CONTROL
| ALT, LEFT_ALT, PAUSE, ESCAPE, SPACE, PAGE_UP, PAGE_DOWN, END, HOME, LEFT, ARROW_LEFT, UP, RROW_UP, RIGHT,
| ARROW_RIGHT, DOWN, ARROW_DOWN, INSERT, DELETE, SEMICOLON, EQUALS, NUMPAD0, NUMPAD1, NUMPAD2, NUMPAD3, NUMPAD4
| NUMPAD5, NUMPAD6, NUMPAD7, NUMPAD8, NUMPAD9, MULTIPLY, ADD, SEPARATOR, SUBTRACT, DECIMAL, DIVIDE, F1, F2, F3
| F4, F5, F6, F7, F8, F9, F10, F11, F12, META, COMMAND, ZENKAKU_HANKAKU

*Examples:*
| Input Text  | id=textfieldID | sample text |
| Input Text  | name=textfieldName | cord=SHIFT|sample text|ENTER |
| Input Text  | css=div.main input#textfieldID.textfieldClass | sample text |
| Input Text  | xpath=//*[@id="textfieldID"] | sample text |

=>

| cord=SHIFT|sample text|ENTER - this will output "SAMPLE TEXT" then enter key.




© 2015 - 2024 Weber Informatics LLC | Privacy Policy