In this chapter, you’ll learn about managing and structuring recordings in Ranorex Studio.
In this chapter
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
Renaming in module browser view.
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 context menu
You can organize your recording modules in folders in the projects view.
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 (e.g. MyRecordings).
Drag recording modules to the new folder.
Recording module in new folder in projects view
Recording module in new folder in module browser
You can add separators to visually structure actions in the action table. This is purely cosmetic. It has no effect on the actions or their execution.
Click Add new action > Separator.
The separator is added after the selected action.
You can edit a recording to make it more maintainable and reusable. See how to combine key sequences, replace a key sequence with an Add Entry function, create a new module by selecting and moving recorded actions, add modules to a test case, delete unnecessary actions, and clean up the repository in our video ⇢ Ranorex Studio Recorder basics 3: Edit a recording
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.
New recording module in projects view
New recording module in module browser
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.
The new recording module is created with the selected actions. The new module appears in the projects view and the module browser.