Unable to start the Windows application
When you encounter the following error:
Unable to start application:
java.util.concurrent.ExecutionException: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for com.kms.katalon.core.windows.driver.WindowsDriverFactory
There are two possible causes as follows:
If your application has splash screens at the application launch, it might take longer for the app to load. The WinAppDriver hangs on and eventually time out. This can be resolved by telling WinAppDriver to wait for a defined amount of time after an app launch. Do as follows:
If your app does not have splash screens, you can try adding the application title at the application launch. After the application starts, if WinAppDriver cannot detect the main application window correctly, Katalon Studio will use the given window title parameter to find the opened application to continue working. You can add the application title in one of the following ways:
When using Windows Spy/Record Utility, in the Application Title field, add the application title and start again.
OR
Use this keyword to start the application: [Windows] Start Application with Title.