Test WinForm and WPF applications

Ready to create WinForm and WPF tests? Then this topic is for you. It explains the most important steps to your first WinForm or WPF test case.

Supported versions

For information on supported versions, check out the system requirements.

Create WinForm and WPF test cases

Creating WinForm and WPF test cases is easy:

  1. Open your application under test.

  2. Scan your application to create modules. A module is the technical representation of a specific part of your application. It contains the necessary technical information that Tosca Cloud needs to steer your application.

  3. Create a new, empty test case.

  4. Design your test case to build an automated test sequence. You can add various design elements to your test case, such as the modules you just created by scanning or logic elements.

Work with WinForm and WPF controls

A control is a screen element in your application under test. For example, a button, text box, menu entry, or table cell. And when you use a module in your test case, you need to tell Tosca Cloud what to do with these controls.

For information on supported controls for WinForm and WPF, check out WinForm controls and WPF controls.

What's next

You've just created your first WinForm or WPF test case. Well done!

Next up: do a test case trial run. Trial runs help you find and fix issues, so you can make your tests as stable and reliable as possible.

Once you're happy with your test case, pack it into a playlist, so you can run your tests in earnest.