Troubleshoot common exceptions when executing Windows tests

Tips

  • To find the exceptions and errors you encountered, use Ctrl+F.
  • If you cannot find the exceptions or error message you encountered, you can leave a comment below for further support.
Issue Solution
Handling Splash screen
  • If your app has Splash screen, download WinAppDriver v1.2 and install Appium version 1.16.0 onwards. In Katalon Studio, go to Project Settings > Desired capabilities > Windows and add this desired capabilities: "ms:waitForAppLaunch": "25"
  • If your app does not have Splash screen, in the Application Title field, add the application title and start again.
  • To record your actions more easily, consider using Native Windows Recorder.
Timeout when launching Windows application 1. Close all unneeded apps and opened folders. Open Katalon Studio only.

2. Remove unused shortcuts on your desktop and your taskbar.

3. Use Windows.startApplication(…) instead of Windows.startApplicationWithTitle(…) 

Windows.startApplication('C:\\Users\\katalon\\Desktop\\Demo\\WindowsFormsApp.exe') Windows.switchToWindowTitle('Main App Title') // Replace this by your main window title
WinAppDriver could not sendKeys with correctly text when the default setting is German keyboard  Clone or download our demo project at our repository: German Windows test

Unable to Start Application

The exception you are looking for is not on this page?

Leave a comment below.

Feedback