Working with the keyboard - Actions


#1

We are building Ranorex Webtestit to speed you up. Switching between keyboard and mouse during a workflow can be a time-consuming process. So, we’d like to show you some tips and tricks on how to work almost exclusively with your keyboard, and how to familiarize yourself with our shortcuts.

This is part one of a series about working with the keyboard.
See Working with the keyboard - Navigating files for part two
and Working with the keyboard - Snippets for part three.

We recommend checking out other articles, to use keyboard workflow to its full potential.

Note: All keyboard shortcuts specified in this article assume the default settings. Keybindings can be changed via Help → Keyboard shortcuts.

Your starting point: the F1 Quick Command bar

You know the feeling: you’re new to an app and you know keyboard workflows are the key to efficiency. There’s just one problem. How do you memorize all these shortcuts?

Worry not, we’ve got just the thing for you. Wherever you are in your project, just press F1 to summon the Quick Command bar.

gif1

The Quick Command bar lists all currently available actions. You can type to filter them, or just explore by scrolling through. Press Enter to use the currently highlighted action.

What’s more, next to each action you will see the current keybinding. Use this to take your time memorizing the shortcuts you need the most, and keep using the Quick Command bar for the actions you need less often.

Chords

If you have used the Visual Studio family of tools, you probably know about chords. Ranorex Webtestit supports them too and uses them for many default keybindings. If you have not heard of them, here is a refresher:

Chords consist of two consecutive keystrokes, as opposed to just one. Let’s say you see the label Ctrl+N → Ctrl+P. All it means is: first press Ctrl+N and then Ctrl+P to trigger that action.

Chords allow you to use fewer keys on your keyboard more efficiently, and many of our chords are designed to correspond to initials of the action they represent to memorize them more easily. For example Ctrl+N → Ctrl+P (⌘N → ⌘P on Mac) will create a New Page Object file.

Doing it your way

Found a keybinding you don’t like? Is there an unbound action you want to set a shortcut for? Just go to Help → Keyboard shortcuts from the main menu.

gif2

To make you feel right at home with Ranorex Webtestit, we are providing a few default keybinding sets inspired by other IDEs, such as Visual Studio Code, Eclipse or IntelliJ IDEA, that you can use as your starting point and customize from there.

Changing a binding is as easy as clicking on the binding you want to change, and entering your new combination. Try using two strokes in succession to form a chord. Click outside to confirm your change.

Did your new binding change to red? We detect conflicts with other keybindings for you. Just click on the “Duplicate shortcut definition” icon that appeared, to find all related bindings and resolve the conflicts to your liking.

Right-clicking on a shortcut gives you additional options, such as clearing the binding altogether, or to reset it to default.

Conclusion

Ranorex Webtestit aims to accommodate easy-to-use keyboard workflows by providing both new and experienced users with ways to explore and memorize them over time. In this first part, we have learned about the F1 Quick Command bar, chords and how to define your own bindings.

Juggling multiple files at once? We recommend to continue with part two, Working with the keyboard - Navigating files.

Want to improve your game inside the code editor? Part three, Working with the keyboard - Snippets, is just for you.