After pressing the 'Stop' button on the Recorder toolbar, the recorder represents all low level actions like clicking on a button or typing text within the action's table.
- Recorded actions listed in the recorder's actions table
By default each recorded action has an additional screenshot shown on the right. Depending on the type of action, each row shows additional action-related information. Whereas a mouse related action provides more information about the type of mouse action (Click, Double-Click, Move, etc.) or which button was used (Left, Right, etc.) a key sequence action only stores the keystrokes made during a recording.
- Recorded mouse click action
- Recorded key sequence action
Additionally each action can be connected to a UI element represented by the repository view below. For each UI element used during a recording session the recorder generates an item in the given repository.
Note: In case an item already exists in the repository or if the UI element is used twice during a recording session the recorder reuses this element.
By default the repository is not part of the recording file and only refers to the main repository used within a project. In comparison to the integrated Recorder, the standalone Recorder tool embeds the repository by default. You can also unlink and refer to another file or embed the repository into the recording file. Read more about how to do that in Lesson 6: UI Mapping with Ranorex Repository - Repository Separation.
- Key sequence action (at URL textfield) refers to the repository item 'TextURL'
After finishing the recording, it is advisable to look at each recorded action item in detail. The recorder offers some editing features to clean up the sequence, for example merging key sequence actions.
- Merging selected keyboard items
By default the recorder records the mouse click location performed by the user relative to a button or a text field. It's possible to turn that off in advance within the Recorder's settings dialog. Alternatively, you can also change the click location afterwards within the properties dialog.
- Changing click location for all mouse related action items to 'Center'
Each item within the repository refers to one RanoreXPath expression necessary to identify the object. The names used for the items and folders of the repository are generated automatically. It is recommended to rename them if it's helpful. Additionally the structure of the repository is generated automatically and depends on the internal UI hierarchy given by the application under test. To rename items of the repository simply click in the cell or press <F2> at the selected item.
- Automatically generated repository
- New structured and renamed repository
Use logical folders to create additional structure, for example to group input fields, buttons or a log on form with user name and password text boxes. Also, already existing rooted folders can be used for grouping as well. Learn more about how to work with Ranorex repositories in Lesson 6: UI Mapping with Ranorex Repository.