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

Create and Record a WPF Test (VS plugin)

The Test Studio project in Visual Studio uses the Visual Studio context and therefore some of the main actions have different look.

In this article you can find how to add and record a new web test in the Visual Studio plugin project for Test Studio.

Create a WPF Test

  1. Launch Visual Studio and create a Test Studio project from the Start Page.
  2. Click Telerik > Test Studio > Create New Test Project.

    Create project

    Visual Studio 2017
    Create project VS 2019

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

  4. Choose C#/VB project

    Visual Studio 2017
    Choose C#/VB project VS 2019

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

    New WPF test

  6. Click Add.


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

    Configure path

  8. 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.
  9. Hit Record to launch the app with the recording toolbar docked at the top.

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


  11. Close the application to stop recording.

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