Forum Discussion
When I do a google search on the error message I get that this "(The application will be closed for safety reasons) usually indicates that the application is trying to access a file that is incompatible with its current version, potentially causing instability or security risks, leading to the program shutting down to prevent further issues".
I know this might be an annoying answer, but are you sure you are opening the application being tested in the same way when manually opening versus opening via TestComplete? A software (app) is not usually classified as a file (like you show in the error message you got). It is as if the software under testing was given an argument to open a particular file and the file was not compatible with that version of the software (whatever software it is that you are testing). When opening via TC, are you sure you are only opening that software and nothing else or does the test open the software and attempt to open a file in the software ... a file that is no longer compatible with the version of software being tested?
Another thing I would suggest is try running the test with both x64 TestComplete and x86 TestComplete. More than likely this is not the issue but it helps to eliminate this as the source of the error message.
x86: C:\Program Files (x86)\SmartBear\TestComplete 15\Bin
x64: C:\Program Files (x86)\SmartBear\TestComplete 15\x64\Bin
It might also be a good test to try running TestComplete as administrator if you haven't already. Here are some other troubleshooting tips from the search:
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Possible reasons for this error:
Outdated file format:
You might be trying to open a file created with a newer version of the software than what you currently have installed.
Corrupted file:
The file itself could be damaged or corrupted, preventing the application from reading it properly.
File permission issues:
You might not have the necessary permissions to access the file.
Software compatibility issues:
Sometimes, updates or conflicts with other programs can cause file version incompatibility.
How to troubleshoot:
Update the application:
Check for available updates to your software and install them.
Check file format:
Ensure the file format is compatible with your current application version.
Repair the file:
If possible, use the application's built-in repair function to try to fix the file corruption.
Save as a different format:
Try saving the file in a compatible format that your application version can read.
Check file permissions:
Verify that you have the necessary permissions to access the file.
Reinstall the application:
If the issue persists, consider uninstalling and reinstalling the application.
Related Content
Recent Discussions
- 17 hours ago
- 21 hours ago
- 2 days ago