Do you think IIT Guwahati certified course can help you in your career?
No
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.
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.
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.
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:
(*) This denotes a 25-second delay in the app's activation. There is a 50-second maximum.
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:
When done, click Apply and Close. The outcomes ought to be as follows:
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.