Table of contents
1.
Introduction
2.
Setting desired capabilities for Windows Desktop Application Testing
3.
For Native Windows Recorder
3.1.
Example 
3.1.1.
Example 1: setting delaying time for an app launch
3.1.2.
Example 2: setting desired capabilities in Native Windows Recorder 
4.
Manage desired capabilities
5.
Location of custom desired capabilities files
6.
Frequently Asked Questions
6.1.
Which framework is used in Katalon Studio?
6.2.
What is the purpose of Katalon Studio?
6.3.
Is Java supported by Katalon?
7.
Conclusion
Last Updated: Mar 27, 2024
Medium

Set up Desired Capabilities in Windows Desktop App Testing in Katalon Studio

Author SHIVANGI MALL
0 upvote
Career growth poll
Do you think IIT Guwahati certified course can help you in your career?

Introduction

Desired capabilities are key-value pairs that provide information about a browser's name. Its version and location are in the system's browser driver hierarchy. This information is used to determine the browser's runtime behavior. Desired features can be used to customize Selenium WebDriver. And other driver instances like FirefoxDriver, ChromeDriver, and Internet Explorer. You can configure the required capabilities for Windows Desktop Application testing. Using the instructions in this article.  

Set up Desired Capabilities in Windows Desktop App Testing in Katalon Studio

Setting desired capabilities for Windows Desktop Application Testing

Follow these steps to configure Windows Spy/Recorder Utility's desired capabilities:
 

  • Go to Project > Settings > Desired Capabilities > Windows.
Project Settings

As an alternative, a Windows execution session can be used to edit required capabilities settings. Open a Spy Windows/Windows Recorder session. Then select Edit in the Configuration box.

Configuration
  • To access the WinAppDriver server, type the WinAppDriver URL: http://ip-address>:port>. Katalon Studio's default address is http://127.0.0.1:4723.
     
  • In order to add desired capabilities, click Add on the command toolbar.
     
  • The same features that WinAppDriver supports are also supported by Katalon Studio.

For Native Windows Recorder

The same steps as for configuring capabilities for Windows Spy/Recorder Utility must be followed. To set desired capabilities for Native Windows Recorder. Set the Windows Spy/Recorder Utility's desired features.
 

Only the appArguments and appWorkingDir features are supported by Katalon in Native Windows Recorder.
 

  • appArguments: Support for supplying arguments to the application under test (appArguments). This desired functionality can also be used to record actions without opening Windows.
     
  • appWorkingDir: Specify the working directory for the application being tested.

Example 

Example 1: setting delaying time for an app launch

The example that follows demonstrates how to configure desired capabilities to delay starting an app launch for a specified period of time.
 

Enter the following value by going to the desired capability settings, clicking Add, and then:

setting delaying time for an app launch

 

(*) This denotes a 25-second delay in the app's activation. There is a 50-second maximum.

setting delaying time for an app launch

Example 2: setting desired capabilities in Native Windows Recorder
 

You can configure desired capabilities in Native Windows Recorder using the example below.
 

A Native Windows Record session should be opened. Click Edit in the Configuration box.

Click Add in the pop-up dialogue box, then type the following value:

setting delaying time for an app launch
Windows

 

When done, click Apply and Close. The outcomes ought to be as follows:

Native Windows Recorder

Manage desired capabilities

Starting with version 8.0.0, you can import and export desired capabilities in a JSON file to reuse them across other Katalon Studio projects. Use wanted capabilities across projects.

Location of custom desired capabilities files

The settings file for specific desired capabilities is located in the settingsexternalexecution folder. At the location of your test project.

Frequently Asked Questions

Which framework is used in Katalon Studio?

Groovy is a Java-based language used by Katalon Studio. It requires the loading of numerous libraries in order to parse test data, test objects, and logging.

What is the purpose of Katalon Studio?

Without requiring coding, Katalon enables the creation and reuse of automated UI test scripts.

Is Java supported by Katalon?

To operate a Katalon Studio instance and create test applications. Katalon Studio makes use of the standard embedded Java Runtime Environment (JRE) version 8.

Conclusion

We have extensively discussed the Windows Desktop App Testing in Katalon Studio in this article. We hope this blog has helped you enhance your knowledge. If you would like to learn more. Check out our articles on Advanced Guides in Katalon. Practice makes a man perfect. To practice and improve yourself in the interview. You can check out Top 100 SQL problemsInterview experienceCoding interview questions, and the Ultimate guide path for interviews.

ThankYou

 

Live masterclass