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

Recording Specifics for Dekstop Tests in Test Studio

Test Studio recording feature supports various desktop applications. Once a desktop test is configured for specific application you can start recording the automation scenarios.

Disclaimer

The Desktop test feature is officially released with Test Studio R2 2022 (v.2022.2.727) in Beta stage. It supports basic recording features including highlighting and partial test execution, elements repository represented in the Elements Explorer and editing the recorded elements.

This article guides you through the specifics of recording steps in a desktop test.

Tip

Check this video tutorial for recording an end-to-end Desktop test scenario.

Recording Ready State

The recording in Test Studio desktop test is relatively slower than recording web or WPF tests. This is because of the underlaying technology and its capabilities. To help in improving the user experience Test Studio recorder indicates if an action is sent too early and it cannot be fetched correctly with a red label stating 'Not ready to record'.

Not ready to record

If you hold the mouse on an element for a while there is another gray label stating 'Ready to record'.

Ready to record

Highlighting Menu

Highlighting can be enabled from the Compact Recording Toolbar. The highlighting menu appears after you hold the mouse shortly over an element and allows you to add basic verification and action steps, as well as adding the hovered element into the Elements repository.

Highlighting menu options

Some of the options in the menu remain grayed out until the desktop testing feature is in Beta state.

Close the Highlighting Menu

There is an additional option in the highlighting menu for desktop applications - Close Menu. This is introduced as the menu remains opened if no step is added through this.

Close Highlighting menu

Elements in Desktop Tests

The elements recorded in desktop applications have their own TechnologyType, which is called Desktop.

Elements technology type

Elements are added with automatically generated find expression based on their attributes in the application elements tree. If you open an element in Edit mode in a live recording session you can see the list of its attributes, which can be used in the find expression.

Elements edit mode

See Also:

In this article