Created
November 4, 2020 22:32
-
-
Save ulisseslima/751c0ae2da1e40fc5da73523d7c58521 to your computer and use it in GitHub Desktop.
OpenTest hotkey example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description: License Manager Basics | |
actors: | |
- actor: WEB | |
segments: | |
- segment: 1 | |
actions: | |
- description: Verify that the submit button is visible | |
action: org.getopentest.selenium.AssertElementVisible | |
args: | |
locator: { css: .link.hk } | |
- description: Select first license from results | |
action: org.getopentest.selenium.ActionsKeyDown | |
args: | |
key: SHIFT | |
- description: '1' | |
action: org.getopentest.selenium.ActionsSendKeys | |
args: | |
text: '1' | |
- description: Select first license from results | |
action: org.getopentest.selenium.ActionsKeyUp | |
args: | |
key: SHIFT | |
- description: Performs gestures | |
action: org.getopentest.selenium.ActionsPerform |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This example checks for the existence of an element with class "link hk" and then performs SHIFT+1 (not from numpad).