Forum Discussion

saravdeep's avatar
saravdeep
Visitor
8 years ago

Object spy not recognizing buttons in an application

Hi,

 

My team working on automation of a clinical application.

The toolbars on the application are configured such that object spy cannot resolve them into unique objects (this only happened after a recent code upgrade, before the upgrade object spy was resolving them without any problems).

 

I have talked to developers of the application to make the toolbar objects uniquely available but to no avail.

 

I am assuming that a lot of you folks must have faced the same problem some time and have come up with strategies/work-arounds to overcome this problem.

 

Could you please share some of those ideas with me.

This is business critical for me.

 

PS - We are using TestComplete9.

 

2 Replies

  • NisHera's avatar
    NisHera
    Valued Contributor

    What is your application?

    from which version to which version was the upgrade?

    Did your devs used third party tools while compiling new version?

     

    I had a similer problem in Delphi upgrade to XE-8 

    Devs had used some third-party tools which not compatible with TC

     

    You may read this for more information

    • Colin_McCrae's avatar
      Colin_McCrae
      Community Hero

      Indeed. Need more info than this.

       

      What type of toolbar? (Classnames and the language used would help!)

       

      Also some idea of the properties available to you. (And be aware you may need to drill down deeper than the top layer to get what you need)

       

      I have toolbars like this in Delphi (probably similar to NisHera). I have to get button counts and then use the tooltip info to match them as each button is not seen as an object, but simply as a list within the toolbar object.