# Using keyboard shortcuts

## Overview

To make it easier to work around the recording action, we have added keyboard shortcuts that can be used during test recording. This should make it easier to switch between different options within the BugBug recorder.

{% hint style="info" %}
Generally, the shortcut _number_ represents the button position for each option.
{% endhint %}

![BugBug Recorder](https://3168433179-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKixgeBPbLvnD0l1eiV%2Fuploads%2FS0LGULMgJXdZ4wkH8t65%2Fimage.png?alt=media\&token=345ec1dc-325d-431c-b5ad-bafedfec6265)\


## Possible uses and combinations of keyboard shortcuts

{% hint style="info" %}
This description and keyboard shortcuts are based on a **Windows and Linux** operating system.

If you are using a different operating system, please note that you will need to use an appropriate related shortcut, e.g. for **MacOS** users use i.e. _**"Control + Option + ${key}"**_.&#x20;

However, in BugBug Recorder we display shortcuts that are adapted to the system you are working on.
{% endhint %}

| Shortcut combination | Feature           | Comments                                                                                                                                                                                                                                                                                                                      |
| -------------------- | ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Ctrl + Alt + 1**   | _Add assert_      | If _"Add Assert"_ mode is enabled and you use the shortcut again, it will be disabled.                                                                                                                                                                                                                                        |
| **Ctrl + Alt + 2**   | _Add hover_       | As before, using the shortcut again will disable this mode.                                                                                                                                                                                                                                                                   |
| **Ctrl + Alt + 3**   | _Inbox_           | It will show you the "_Open Inbox for a special test email address"_ view with realted options.                                                                                                                                                                                                                               |
| **Ctrl + Alt + 4**   | _Variables_       | It will show you the "_Variables"_ view with realted options.                                                                                                                                                                                                                                                                 |
| **Ctrl + Alt + 5**   | _Pause recording_ | <p>This will bring up the "<em>Pause recording"</em> view with its associated options.<br><br>While you are in this view, you can alternatively use two other shortcuts:<br>* <strong>Ctrl + Alt + 1</strong> to resume recording<br>* <strong>Ctrl + Alt + 2</strong> that will finish and close your recording session.</p> |
| **Ctrl + Alt + 6**   | Finish and close  | It will end and close your recording session.                                                                                                                                                                                                                                                                                 |

##

## Workflow tips

Some of the shortcuts are also available in the BugBug Runner view, so you can use them there as well.

Meaning:

* **Ctrl + Alt + 1** to start recording additional steps
* **Ctrl + Alt + 2** to finish the test and close the window

<figure><img src="https://3168433179-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MKixgeBPbLvnD0l1eiV%2Fuploads%2FnRJTsl0cLmDmMksfP4eG%2Fimage.png?alt=media&#x26;token=4b1f1c73-76d5-4546-88b6-bc325b3f466c" alt=""><figcaption><p>BugBug Runner</p></figcaption></figure>
