In this chapter, learn about managing and structuring recordings in Ranorex Studio.
Rename a recording module
The default name of a recording module is always RecordingX.rxrec
, where X is the number of the recording module. You can change the name of a recording module in several places.
-
Renaming in project file view
-
Use the context menu or press
F2
- The names of all associated files will change automatically
-
-
Renaming in module browser view.
- Use the context menu or press
F2
- Use the context menu or press
Cut/copy/paste/delete a module
Cut, copy, paste, and delete recording modules in the projects view using the standard Windows keyboard shortcuts or the context menu.
-
Cut/copy/paste/delete in the context menu
-
In the projects view, select the item where you want to create the new folder.
-
Open the context menu.
-
Click Add > New folder, give the folder a meaningful name (for example, MyRecordings), and drag recording modules to the new folder.
Result(s):
-
Recording module in a new folder in projects view
-
Recording module in a new folder in module browser
Structure actions within recording modules
You can add separators to visually structure actions in the action table. This is purely cosmetic. It does not affect the actions or their execution.
-
Click Add new action > Separator.
-
The separator is added after the selected action.
Add a new recording module
Strive to keep your recordings as small as possible. This is why, sooner or later, you’ll need additional recording modules to keep your tests well-structured.-
In the Studio toolbar, click the Add recording module button.
-
Select the folder you want to save the module to and click OK.
-
Give the module a meaningful name; then click Create.
Result(s):
- The recording module appears in the projects view and the module browser.
-
New recording module in projects view
-
New recording module in module browser
Create a new recording from existing actions
Sometimes, a recorded test may contain too many actions. This makes the recording hard to reuse. Ranorex Studio allows you to split large recordings into modular, reusable ones, using the Move to new recording module function.-
Select the actions you want to move to a new recording and right-click to open the context menu.
- Click Move to new recording module. If you have custom folders, also select a destination folder for the new module.
- Give the new recording module a meaningful name.
- Click Create.
Result(s)
The new recording module is created with the selected actions. The new module appears in the projects view and the module browser.