Forum Discussion
ArtemS
Alumni
14 years agoHello Canan,
The 'Unable to find the object' message indicates that something has changed in the tested application, and its state differs from that it was in during the test recording or creation. Various reasons can cause this error. The Handling the 'Unable to Find the Object' Error help topic explains how to diagnose and resolve the error.
Besides that, the issue can be caused by the following specifics of web application testing:
a) The respective web page could not be fully loaded, and thus, the needed editor is not available yet. In this case, you need to wait for the page before addressing the objects. See Waiting For Web Pages topic.
Note: This and other on-line helps topic relate to the most recent TestComplete 9. In this version, web testing was significantly improved, namely, the way of addressing the browser process and web pages. To obtain the tested web page in TestComplete 7 instead of
page = Sys.Browser().Page("http://example.com/") you need to use page = Aliases.ieexplore.pageGruplar
b) Internet Explorer 8 may launch several instances of itself displaying each opened web-page in an individual instance of the iexplore.exe process. At that, the exact instance your page is displayed in may vary from one run to another. To learn more about this behavior and how TestComplete reflects the structure of IE8 processes, see the Internet Explorer ver. 8 subsection of the Web Testing and Tabbed Browsers article.
Regards.