How to solve this issue
Are you trying to do Windows App testing by providing an xlsx file?
An excel file is not an app.
yes excel file
So, think twice …
would you like to explain ?
The application is, most probably, Microsoft Excel … which is able to open and handle xslx files (or any other able to handle it, e.g LibreOffice etc)
But the xslx himself is not a Windows application.
Should I say more?
well, yeah, you changed a bit
the application now is Excel not Excel Invoice (i suppose you opened this already with a previous step) which handles the mentioned file I assume?
For further post, kindly review this topic:
It is mandatory for any new or existing users to read it and accept the rules.
Thank you!
Please makesure this excel is not opened somewhere else and try again with paste to another location
Thank you @anon46315158 for mentioning our posting guideline! ![]()
@Noor_Ahmed_Khan While our team and other members on the forum are willing to help you with any questions that you may have, we would appreciate it if you could help us in return by providing more details in your question so that we could see what you are dealing with.
Thanks!
If you’re having trouble with a Windows application and Excel, it’s important to figure out if the problem is with Excel itself or with another program that uses Excel files. If Excel is the issue, make sure you’re using the latest version, like Microsoft Office Professional Plus 2021, because updates can often fix problems.
You might want to check if your Office suite is up to date, as new updates can solve bugs. You can also try repairing your Office installation through the Control Panel, which might help. Resetting Excel options to their defaults through the Options menu can sometimes fix issues too.
Hi there,
Thank you very much for your topic. Please note that it may take a little while before a member of our community or from Katalon team responds to you.
Thanks!
This usually happens when Katalon Studio can’t start Excel properly.
Fix:
-
Make sure Excel is installed & opens normally
-
Update/reinstall Windows App Driver
-
Run Katalon as admin
-
Check file path & permissions
Also for Office setup, I got mine from Digitlogs for $25 ![]()
Check for Excel Drivers
For Windows application testing with Excel, the application path must point to the Excel executable (e.g., C:\Program Files\Microsoft Office\root\Office16\EXCEL.EXE), not the .xlsx file itself. The .xlsx file is a document, not an application.
If you need Excel to open a specific file on launch, pass the file path as a start-up argument in your Windows test configuration. In Katalon Studio, go to Project Settings > Desired Capabilities > Windows, or configure it in the startApplication keyword:
Windows.startApplication('C:\\Program Files\\Microsoft Office\\root\\Office16\\EXCEL.EXE')
Then use Windows keywords to interact with the opened file via the Excel UI. If the file is already open elsewhere, close it first to avoid file lock conflicts.
Totally agree with your solution @depapp
That error is occuring because Katalon failing to attach its Windows driver to Excel during startup—usually due to WinAppDriver not running, Excel already being open, or launching Excel via the .xlsx file instead of the Excel executable.
If you’re trying to automate Excel, you shouldn’t treat the .xlsx file itself as a Windows app. You either need to automate the Excel application, or just work with the file using a library depending on your use case.

