Introduction to Windows Record Utility

Estimated reading time: 2 minutes

Starting in Katalon Studio version 7.0, you can record a test on a Windows desktop application.

Windows Action Recorder

To start recording a Windows action, click Record Windows Action icon on the main toolbar of Katalon Studio.

The Windows Action Recorder dialog box is basically similar to the one for Mobile Recorder and has the following components:

Action Bar

The Action Bar located on the top left corner contains the Refresh screen, Start and Stop buttons.

Configurations

Configuration: where you can view and edit the WinAppDriver URL and Desired Capabilities.

Application File: the absolute path to the Windows Executable File (*.exe) of the testing machine. For Windows users, click Browse... button to locate the application file.

The Start button is enabled after the Application File text box is filled.

Recorded Actions

The Recorded Actions part shows all of the recorded built-in actions for interacting with the application.

Catured Objects

The Captured Objects part stores all objects captured during the recording session. You can view and edit the object's name, locator and properties.

To customize the locator of a captured object, you can modify its locator in Object Properties and click Highlight to verify if the new locator correctly identifies the intended object.

In the Recorded Actions, you can also view the captured objects in the Object column.

When you press the OK button at the bottom of the dialog box to finish the recording session, you will be asked to store all captured objects in the Object Repository.

Screen View

The Screen View is a panel showing the application screenshots that are taken when you press either the Start button to record or the Refresh Screen button to recapture the application images. Those screenshots and the application on a real machine are of the same size.

Screen Objects

The Screen Objects section shows a tree of all objects that you can interact with. This tree will be automatically refreshed after you press the Refresh Screen button.

The selected object is highlighted on the Screen View with a green rectangle surrounding it.

Possible Actions

The Possible Actions section shows a list of action buttons. Each button represents a Windows action.

There are two types of Windows actions, including object action and application action.

  • Object action: an action requiring you to select an object on the Screen Objects to perform the action.

  • Application action: an action for interacting with the application.

Export Option

When you finish the recording session, there are 3 options to export the recorded actions to a test case:

  • Export to new test case (chosen by default).
  • Append to test case
  • Overwrite test case

User Contributed Notes