Forum Discussion

Adeel's avatar
Adeel
New Contributor
13 years ago

An error occurred.


Error: Error

An error occurred.

Possible reasons:

1. The application stopped responding.

2. The application was compiled incorrectly (see the Open Applications topic in the help system).

3. An error occurred in TestComplete.





Technical information:

97 0x80020006 (Unknown name.) Items



I am unable to expand wItems in a navigation tree control and facing the above error. TestComplete also records the Click steps on tree but unable to playback it. What could be the reason any help will be appreciated.



Thanks,

Adeel


3 Replies

  • Hi,



    What is the exact name, vendor and version of your control? Such errors can occur if you map your control as a wrong class in object mapping, or if your application doesn't contain debug info for it.
  • Adeel's avatar
    Adeel
    New Contributor
    Its Microsoft .net Tree View Control. We modified it according to our need. Its WinFormsObject().




  • Hi,



    Add your control's class to the 'Win32 Controls and Windows | Tree View' group in Object Mapping settings of your project and make sure that it is not present in any other groups. If this doesn't help, make sure that your control has the Items property specified in the error message. If there's no such property, you need to work with your control via its native properties and methods as you do it in your application.