This message is displayed when you are recording a test and trying to perform any action over a Silverlight application that was not properly prepared for testing with TestComplete and its Silverlight Application Support plugin, or when you are trying to use the target glyph with such an application. In order for TestComplete to get the full access to internal objects, methods and properties of a Silverlight application, it must be prepared in a special way. You need to process the application’s package file (the .xap file in which the Silverlight application’s functionality is implemented) with the tcAgPatcher.exe command-line utility shipped along with TestComplete. By default, this utility is located in the <TestComplete>\Open Apps\Silverlight folder.
After you process your Silverlight application’s package file with the tcAgPatcher.exe utility, TestComplete treats the application as Open Application and gets scripting access to the application’s internal objects, methods, properties and fields. Otherwise, if the application was not processed with tcAgPatcher.exe, the test engine of TestComplete cannot get the full access to the application’s internals, and you can test your Silverlight application only via the functionality provided by the UI Automation engine.
|You must process the .xap file that is loaded by the application’s web page. For instance, if the web page loads the tested Silverlight application from a web server, you must process the application’s .xap file and put it to the server. If you process a local copy of the .xap file stored in your web browser’s cache without replacing the initial .xap file on the web server, the application will not become Open to TestComplete.|
To better learn how to prepare your Silverlight application and make it Open to TestComplete, see Preparing In-Browser Silverlight Applications for Testing.