Test Recording

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

There are two ways to initiate recording. You can either launch a new browser instance with the recording toolbar attached, or you can attach the recording toolbar to an existing browser instance (applicable for IE only or WPF application).

2016 R3 Version and Later

Launch New Recording Browser

1.  Double click the newly created test to open it. Click the Record button in the Tests ribbon 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. 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, the recorder gets attached to it, a navigate step gets recorded in the Steps pane and you can continue recording the next actions as per the required scenario.

Attached recorder

Attach to Existing Instance (Applicable for IE Only or WPF Application)

Click the drop-down arrow on the Record button to see a list of available IE browser instances or WPF applications. Select one to attach the recorder to that instance.

Attach to running browser

Web Test - Internet Explorer only
Attach to running WPF instance

WPF Test - connect to running WPF application instance

2016 R2 Version and Earlier

Launch New Recording Browser

1.  Click the Record button or press CTRL+R.

Test Studio

Standalone version
VS

VS plugin

2.  Choose the recording browser.

Choose browser

Note: As of the 2014.4.1211 version Safari cannot be used for test recording.

If you enable Save my choice for the future, the Record button in Test Studio Standalone will display the icon for the default browser.

Choose browser

You can select a different recording browser later from the Record button drop-down.

Test Studio

Standalone version
VS

VS plugin

3.  Enter a URL and press Enter/Start Recording button. A recording step is added to the Steps pane and the recorder is attached to the browser.

Start recording

Attaching the recorder

Attach to Existing Instance

Click the drop-down arrow on the Record button to see a list of available browser instances or WPF applications. Select one to attach the recorder to that instance.

Attaching the recorder

You cannot connect to an existing Silverlight Out-of-Browser application for Out-of-Browser tests.

To end recording, simply close the IE window or WPF application that has the recording toolbar attached

4.  Compare Mode determines which mode to use when adding a page node to the Elements Explorer. Compare Mode can be checked against the page's Title or one of multiple settings that look at various parts of a URL. Please see this article for more information.

CompareMode

See also

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