Record your first test
Required time: 6 minutes
Steps for successful recording
Ranorex Studio supports a wide range of environments, test specifications, and technical settings. So that your first recording is a success regardless of your environment, we recommend the following:
While recording, use only the mouse for navigation
Click every step
Close other applications
Open the user guide on another machine
Click pause/continue in the recorder
Set display scaling to 100 %
Record the test
In Ranorex Studio, make sure you’re in the recording module view of Recording1.rxrec.
Running Demo Application showing the welcome screen.
Click the RECORD button to start the recording. Ranorex Studio automatically switches to the demo application and the Recorder controls appear.
Click the Enter your name text field, enter Harry, and click Submit.
Validate a UI element
We can see that Harry has appeared in the welcome message. Now we’ll add a validation so that Ranorex Studio verifies this during testing.
Click Validate in the recorder controls to pause recording and switch to validation mode.
Mouse over the welcome message. A purple frame appears. This means the UI element has been identified. Click it.
The Select element window opens. Check whether the screenshot in the lower right shows the UI element you want to validate. In our case, that’s the welcome message. Click Next to confirm.
The Validation settings window opens. Here, you can select which attributes to validate. In our case, Text is correctly preselected. Click OK to confirm and switch back to recording mode.
Stop the recording
Click Stop in the Recorder controls to stop recording.
The image below shows all the recording steps described in this chapter. You can use it as an on-screen aid while recording.