Introduction to Windows Record Utility
From version 7.0, you can record a test on a Windows desktop application.
From version 7.7.5, you can record and locate a Windows element by its relative coordinates. The
rightClickElementOffset keywords are available and their buttons are supported in Possible Actions.
Windows Action Recorder
To start recording a Windows action, click Record Windows Action icon on the main toolbar of Katalon Studio.
Windows Action Recorder dialog box is basically similar to the one for
Mobile Recorder and has the following components:
The Action Bar located on the top left corner contains the Refresh screen, Start and Stop buttons.
Configuration: where you can view and edit the
WinAppDriver URL and
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.
The Recorded Actions part shows all of the recorded built-in actions for interacting with the application.
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.
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.
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.
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.
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