Hi Rasko,
Thanks for your great suggestion! I already logged this suggest and will discuss with the team for consideration.
In the meantime, here’s the workaround for testing Window apps with Katalon Studio:
-Download Windows Application Driver installer from https://github.com/Microsoft/WinAppDriver/releases
- Run the installer on a Windows 10 machine where your application under test is installed and will be tested.
- Run WinAppDriver.exe from the installation directory (E.g. C:\Program Files (x86)\Windows Application Driver).
We were able to run one of the samples for the Github Repository:
import java.util.concurrent.TimeUnit
import org.junit.Assert
import org.openqa.selenium.remote.DesiredCapabilities
import io.appium.java_client.windows.WindowsDriver
DesiredCapabilities capabilities = new DesiredCapabilities();
capabilities.setCapability("app", "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App");
CalculatorSession = new WindowsDriver(new URL("http://127.0.0.1:4723"), capabilities);
CalculatorSession.manage().timeouts().implicitlyWait(2, TimeUnit.SECONDS);
CalculatorResult = CalculatorSession.findElementByAccessibilityId("CalculatorResults")
CalculatorSession.findElementByName("One").click();
CalculatorSession.findElementByName("Plus").click();
CalculatorSession.findElementByName("Seven").click();
CalculatorSession.findElementByName("Equals").click();
Assert.assertEquals("8", _GetCalculatorResultText());