Chen2025
7 months agoNew Contributor
TestExexute sometimes not recognizing object
When I execute my Desktop application using TestExecute, sometimes it would not recognize one of the objects. However, after rebooting the computer and restart the test again, the object could be rec...
- 7 months ago
When identifying desktop applications and objects, TestExecute (and TestComplete) uses the properties of the object and Windows processes to identify and recognize objects. If your test runs the application executable each time it runs a test, you may have issues if the application is already open on your system. If the application is already open, TestExecute will open a second instance, which will make it difficult to recognize and access objects.
The best practice is to make sure, when recording tests, that your application starts and ends in the same state for a given test. If TestExecute is having trouble recognizing objects, the first thing I'd check is making sure it's not opening multiple instances of the application.