Create and Record a Web Test (VS plugin)

Create a new test

1.Launch Visual Studio. 2.Click Telerik > Test Studio > Create New Test Project.

Create project

3.Choose Telerik > Test > VB or C# Test Studio Project, name the project, and click OK.

Note: As of version 2015.3.1202 Test Studio projects will appear only under .NET Framework 4.5 or higher.

Create C#/VB project

4.By default the newly created project contains a Web test.

Web Test by deafault

5.To add new test in the project click with the right mouse button on the project name in Solution Explorer, select Add and choose between Test Studio Web Test... or Test Studio WPF Test....

Add new test

The respective item is selected in the list of items, type a name and click Add. To open the test double click on its name in the Solution Explorer.

Open new test

Begin Recording in the VS Plugin

1.Click the Record button to start the recording process.

Record

In the dialog that pops up enter the URL to record a test against and select the recording browser. Then click on Record button.

Select url and browser

The URLs recently used for recording will be listed in the Recent URLs section where you can select directly any of them.

2.The recording browser will start and navigate to the selected URL. Once the URL is fully loaded the Test Studio Dev Recorder Toolbar will be attached to the browser and you can start performing the desired scenario.

Browser with attached recorder

3.Each action against the page will be automatically recorded and presented by a single step in the test.

Perform actions

To stop the recording session close the browser.

Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy