Hello everyone,
I’m running into an issue while trying to start a new Appium session using WinAppDriver for a Windows application, and I’m looking for some help.
The Problem
The session creation request is failing with an HTTP/1.1 400 Bad Request and the specific error message:
JSON
{"status":100,"value":{"error":"invalid argument","message":"Missing command parameter: appId
Any guidance on the correct capabilities to use to launch a classic Windows desktop application, Thanks!
2 Likes
katalon version? same error for both appium as well winapp driver?
1 Like
To avoid the “Missing command parameter: appId” error, always set the app capability with the correct executable path or app identifier in your WinAppDriver session capabilities
json
{
"app": "C:\\Path\\To\\YourApp.exe"
}
or for system apps,
json
{
"app": "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"
}
Sample Desired Capabilities (for a classic Win32 app)
json
{
"platformName": "Windows",
"deviceName": "WindowsPC",
"app": "C:\\Path\\To\\YourApp.exe"
}
Example for Notepad:
json
{
"platformName": "Windows",
"deviceName": "WindowsPC",
"app": "C:\\Windows\\System32\\notepad.exe"
}
1 Like
From v10.3.0, Katalon Studio supports FlaUI instead of WinAppDriver. Please refer here for more details: Desktop applications testing with FlaUI driver in Katalon Studio | Katalon Docs
2 Likes
dineshh
October 26, 2025, 11:56am
5
let us know if your issue is resolved or not
1 Like