Entering Non-Text Keys in Test Cases


Testing applications requires simulating non-text keys' input on an everyday basis. This includes replicating actions like pressing backspace, enter, control, tab, arrow keys, and function keys. To accomplish this in Testsigma, you should follow the guide below and include the specified values for each key in your test cases.


Keys and Corresponding Values

Use NLPs in your test cases to input non-text values. For example, utilise the NLP Press Test Data key and substitute the values for Test Data. Consult the table below for the mapping of keys to their corresponding values. Enter non-text vaules in Test Cases

Keyboard’s Key Values
Arrow Key – Down ARROW_DOWN
Arrow Key – Up ARROW_UP
Arrow Key – Left ARROW_LEFT
Arrow Key – Right ARROW_RIGHT
Backspace BACK_SPACE
Ctrl Key CONTROL
Alt key ALT
DELETE DELETE
Enter Key ENTER
Shift Key SHIFT
Spacebar SPACE
Tab Key TAB
Equals Key EQUALS
Esc Key ESCAPE
Home Key HOME
Insert Key INSERT
PgUp Key PAGE_UP
PgDn Key PAGE_DOWN
Function Key F1 F1
Function Key F2 F2
Function Key F3 F3
Function Key F4 F4
Function Key F5 F5
Function Key F6 F6
Function Key F7 F7
Function Key F8 F8
Function Key F9 F9
Function Key F10 F10
Function Key F11 F11
Function Key F12 F12