Drop down menus: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
Target: the box where the drop down will appear | Target: the box where the drop down will appear | ||
</pre> | </pre> | ||
Use the keyboard to go down once - copy the below code multiple times to go down more often NB The Value will add an extra \ itself. Don't worry about it. | |||
<pre> | |||
Command: sendKeys | |||
Target: the box id | |||
Value: ${KEY_DOWN} | |||
</pre> | |||
Press enter to select | |||
<pre> | |||
Command: sendKeys | |||
Target: the box id | |||
Value: ${KEY_ENTER} | |||
</pre> | |||
= depreciated = | |||
Use the keyboard to go down once - copy the below code multiple times to go down more often NB The Value will add an extra \ itself. Don't worry about it. | Use the keyboard to go down once - copy the below code multiple times to go down more often NB The Value will add an extra \ itself. Don't worry about it. | ||
<pre> | <pre> |
Latest revision as of 10:42, 1 April 2016
Open the list box / drop down menu
Command: click Target: the box where the drop down will appear
Use the keyboard to go down once - copy the below code multiple times to go down more often NB The Value will add an extra \ itself. Don't worry about it.
Command: sendKeys Target: the box id Value: ${KEY_DOWN}
Press enter to select
Command: sendKeys Target: the box id Value: ${KEY_ENTER}
depreciated
Use the keyboard to go down once - copy the below code multiple times to go down more often NB The Value will add an extra \ itself. Don't worry about it.
Command: keyDown Target: the box id Value: \40
Press enter to select
Command: keyDown Target: the box id Value: \13