Due to abundance of PaaS and Saas Applications and advancements in capabilities of modern Web Browsers, Web Applications nowadays behave more like a Desktop Application rather than old Internet-based Applications. Many of them allows you to set Keyboard shortcuts and therefore any Automation Test is incomplete without an option test these keypress Actions as well. Therefore, Testsigma allows you to emulate Keypress actions as well using various NLP Statements available.
Predefined Keyboard Actions
Given below are the NLP statements available for various Application Types
Available for Web Applications:
- Press Enter/Return Key
- Press Esc Key
- Press Shift+Delete Keys
- Press Tab Key
Available for iOS/Android native Applications:
- Tap on the backspace key
- Tap on the enter key
- Tap on the space key
Please check here for a detailed article on Android keypress Automation - Set of keys available for Android keypress Automation on Testsigma(link to be added soon)
Please check here for a detailed article on Android keypress Automation - Set of keys available for iOS keypress Automation on Testsigma(link to be added soon)
User-defined Keyboard Actions
We also provide an additional NLP statement which allows you to specify the key.
User-defined Keypress Statement
- Press {test data} Key
- Tap on {test data} Key - Android/iOS
Below given is the list of all the available keys that can be used with the user-defined Keypress Statement:
ADD | Windows and Mac |
ALT | Windows and Mac |
ARROW_DOWN | Windows and Mac |
ARROW_LEFT | Windows and Mac |
ARROW_RIGHT | Windows and Mac |
ARROW_UP | Windows and Mac |
BACK_SPACE | Windows and Mac |
CANCEL | Mac only |
CLEAR | Mac only |
COMMAND | Mac only |
CONTROL | Windows and Mac |
DECIMAL | Windows and Mac |
DELETE | Windows |
DIVIDE | Windows and Mac |
DOWN | Windows and Mac |
END | Windows |
ENTER | Windows and Mac |
EQUALS | Windows and Mac |
ESCAPE | Windows and Mac |
F1 | Windows and Mac |
F2 | Windows and Mac |
F3 | Windows and Mac |
F4 | Windows and Mac |
F5 | Windows and Mac |
F6 | Windows and Mac |
F7 | Windows and Mac |
F8 | Windows and Mac |
F9 | Windows and Mac |
F10 | Windows and Mac |
F11 | Windows and Mac |
F12 | Windows and Mac |
HELP | Mac only |
HOME | Windows |
INSERT | Windows |
LEFT | Windows and Mac |
LEFT_ALT | Windows and Mac |
LEFT_CONTROL | Windows and Mac |
LEFT_SHIFT | Windows and Mac |
META | Windows |
MULTIPLY | Windows |
NULL | Mac only |
NUMPAD0 | Windows and Mac |
NUMPAD1 | Windows and Mac |
NUMPAD2 | Windows and Mac |
NUMPAD3 | Windows and Mac |
NUMPAD4 | Windows and Mac |
NUMPAD5 | Windows and Mac |
NUMPAD6 | Windows and Mac |
NUMPAD7 | Windows and Mac |
NUMPAD8 | Windows and Mac |
NUMPAD9 | Windows and Mac |
PAGE_DOWN | Windows |
PAGE_UP | Windows |
PAUSE | Windows |
RETURN | Windows and Mac |
RIGHT | Windows and Mac |
SEMICOLON | Windows and Mac |
SEPARATOR | Windows and Mac |
SHIFT | Windows and Mac |
SPACE | Windows and Mac |
SUBTRACT | Windows and Mac |
TAB | Windows and Mac |
UP | Windows and Mac |