Forum Discussion
AlexeyKolosov
14 years agoStaff
Hi Dmitriy,
Thanks, this narrows down the problem a little. We know now that the tested application is not recognized as Open and this is the root cause of the problem. The objects can be accessed via MSAA, but using MSAA for .NET applications is not a very good idea, since the .NET Open applications feature can give you better recognition and more details. Now, let's work on the .NET Open applications problem. Please answer the following questions:
1. A possible cause of the problem is that some complex actions which take long to be complete are performed in the application's GUI threads when the application is started (the application's main window may become blank or unresponsive in such cases). If so, try increasing the "Method invoke timeout" option described in the "Project Properties - General Open Applications Options" help topic, check whether the problem persists and let us know your results.
2. Is your tested application compiled for an x86 platform or for a x64 platform?
3. Exactly how is the application launched? Is it launched as an item of the Tested Applications collection? Is it launched under another account (in RunAs mode)? Is it launched before or after TestComplete is launched? Please send us a detailed description of the steps you perform to launch the application.
4. Is the application launched from a network folder or from a folder having specific Runtime Security Policy settings? If it is, please make sure that the Runtime Security Policy settings for the folder from which the application is started are set as it is described in the "Working With Network and No-Touch-.NET-Deployment Applications" help topic.
5. The problem can be caused by the fact that TestComplete is terminated incorrectly and the tested application is not restarted after that. Is this your case?
6. Does your tested application use components that are not a part of the Windows Forms application framework by default (e.g. VCL.NET) or WPF components?
Related Content
- 2 years agoSiKing
- 6 years agoAdagio
- 14 years agomadhavisri01
Recent Discussions
- 2 days agoMW_Didata