New to Telerik Test Studio? Download free 30-day trial

Test Recording

The Test Recording is one of the main features of Test Studio. It allows you to capture your actions automatically without writing any code. You can also add the necessary verification steps to help you automate the test scenario.

Start Recording

You can start recording your tests, by clicking the Record button. This will open a new instance of the browser or WPF application with the Compact Recording Toolbar attached to it. When you want to stop the recording session, simply close the browser or WPF application.

1.  Double click the test to open it. Click the Record button in the Tests tab or press CTRL+R.

Test Studio

Standalone version
VS

VS plugin

2.  In the next dialog type the URL you want to navigate to, select the recording browser and press Enter or the Record button in that window. You can choose a URL from your recent URLs.

Note
Selecting the recording browser will be skipped if you have already set a preferred browser from the Test ribbon.

Choose browser

If you enable Save my choice for the future or you have set a preferred browser from the Test ribbon the Record button in the Test Studio project will display the icon for the selected default browser.

Choose preferred browser

3.  Once the selected browser navigates to the desired page or the WPF application is started, the recorder gets attached to it. A navigate step is recorded in the Steps pane and you can continue recording the next actions as per the required scenario.

Attached recorder

Note
Once a recording session is started do not start another instance of the same browser until the session is finished!

Compact Recorder

Once you have started a recording session, you will see the Compact Recording Toolbar attached to the browser or WPF application. You can move it on the screen freely You can use the Compact Recording Toolbar to explore the application under test's structure, add actions, verifications and common steps for your test scenario.

Compact recording toolbar

  • Enable/Disable hover over highlighting to annotate the elements that you hover over. You will see the Elements Menu pop-up with multiple options.
  • Pause/Resume recording button allows you to pause or resume the recording. When it is paused, your actions against the application under test will not be added to the test.
  • Show/Hide the Advanced Recording Tools, where you can explore the DOM tree and add more types of steps against a specific element.
  • Switch the orientation of the Compact Recording Toolbar between vertical and horizontal.

See also

In this article
Not finding the help you need? Improve this article