Test with UIA

If you have elements in your application that Tosca Cloud can't identify or steer any other way, we recommend that you use UIA as a fall-back option. UIA functionality in Tosca Cloud is based on the Microsoft® UI Automation framework, which allows you to steer other technologies as uniformly as possible.

Create UIA test cases

Creating UIA 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 UIA 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 UIA, check out UIA controls.

What's next

You've just created your first UIA 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.