This article explains how to manage and structure recording modules in Ranorex Studio.
Rename a recording module
Ranorex Studio names recording modules RecordingX.rxrec by default, where X is the number of the recording module. You can rename a recording module in different places.
-
Rename in the Projects view
- Right-click the recording module and select Rename, or press
F2. - Ranorex renames all associated files automatically.
- Right-click the recording module and select Rename, or press
-
Rename in the Module Browser
- Right-click the recording module and select Rename, or press
F2.
- Right-click the recording module and select Rename, or press
Create folders
- In the Projects view, select the item where you want to create the new folder.
- Right-click to open the context menu and select Add > New folder.
- Enter a Name for the new folder (for example, MyRecordings), and drag recording modules into the folder.
Result
- The recording module appears in a new folder in the Projects view.
- The recording module appears in a new folder in the Module browser.
Structure actions within recording modules
You can add separators to visually structure actions in the Actions table. Separators are cosmetic and don’t affect execution.
- Click Add new action > Separator.
- Ranorex inserts the separator after the selected action.
Add a new recording module
Keep recordings as small as possible. When your test grows, add recording modules to keep it modular and easier to maintain
- In Ranorex Studio toolbar, click Add recording module.
- Select the folder you want to save the module in, and click OK.
- Enter a name and click Create
Result
The recording module appears in the Projects view and the Module browser.
- New recording module in the Projects view
- New recording module in the Module browser
Create a new recording from existing actions
If a recording contains too many actions, it becomes harder to understand, maintain, and reuse. You can split a large recording into smaller, modular recording modules using Move to new recording module.
- In the Actions table, select the actions you want to move, then 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. - Type a Name (e.g., InsertName) and click Create.
Result
Ranorex creates a new recording module containing the selected actions. The new module appears in the Projects view and the Module browser.