Create and Record a WPF Test (VS plugin)

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

Create project

Visual Studio 2017
Create project VS 2019

Visual Studio 2019
  1. 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.

Choose C#/VB project

Visual Studio 2017
Choose C#/VB project VS 2019

Visual Studio 2019
  1. Right click on the project node in the solution explorer and select Add > New WPF Test.

New WPF test

  1. Click Add.


  1. Open the new test and click the Configure WPF Application Path icon in the toolbar.

Configure path

  1. The Configure WPF Application Path window appears. There are two options to determine the default application to launch when recording and executing this test.

    • WPF Application Path - drag and drop the shortcut icon into this text box, or click Browse and locate it manually.
    • Current Path Expanded - read-only display of full path if environment variables are used.
    • Use default path - whether to use the path set here or the default path set in Project Settings > General.
    • Active WPF Applications - Progress Test Studio detects all WPF apps currently running and lists them. Highlight the desired app and press Select Application.
    • Recording Options - whether to record window state changes.
  2. Hit Record to launch the app with the recording toolbar docked at the top.

  3. Notice that steps are added to the test as actions are taken within the application.


10.Close the application to stop recording.

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