We are having this same problem.
While trying to test our latest Release Candidate we discovered that TestComplete is recognizing objects in our app differently from it has in the past. Specifically VCL Objects were being recognized as Windows. We were able to trace this issue down to build 579/580. 579 doesn’t have any issues with TestComplete but 580 does. Below is a list of exercises we have tried to fix this issue:
- Examined the content of Build 580 for issues that could have caused this (found none)
- Cleared the build Workspace and rebuilt the application (no difference)
- Restarted the testing server that the test is running on. (no difference)
- Development pulled up the build box and attempted to pinpoint issues (found none)
- After finding someone who has the exact issue we are having (per this link http://community.smartbear.com/t5/Getting-Started-with/VCL-object-recognized-as-Window/td-p/90707) we eliminated that Command-Line Parameters were not causing the issue
- After noticing that TestComplete output while object-spying the sign on form was different, we began using our app’s object identifier to determine difference
-NOTE: Working Build’s output: http://i.imgur.com/y7oLrws.png
-NOTE: Broken build’s output: http://i.imgur.com/zXRBn0W.png
-We noticed that when we opened up an older build where the issue didn’t exist, we could use the object identifier (in the app) to Disable then Enable the main form. After than we would run a new build (where the issue persisted) and logged onto that application. At this point we would have two instances of the application open. If we object-spyed the old one, then spyed the new one, the issue would resolve itself and TestComplete would recognize the new form as if it were the old form. While this trick was handy, once the application was closed and reopened, this issue would return.