Forum Discussion

DevaV's avatar
DevaV
Contributor
14 years ago

Object spy does not recognize the objects

Hi,



Testcomplete does not recognize the object through object spy. The window is recognized and the controls in it are recognized by test-complete. Even after adding the window class to MSAA, the controls are not recognized.



Please suggest is there any other ways to recognize the controls.



I have attached screenshot of the properties of the object.

3 Replies

  • Anonymous's avatar
    Anonymous

    Hi Deva,



    According to the screenshot you've posted, it looks like you're testing a Qt application. To help us investigate the problem, please answer the following questions:

    1. What version of TestComplete are you using?

    2. What version of Qt library are you using?



    Besides that, to learn how to test Qt applications in TestComplete 9, please refer to the Testing Qt Applications - Overview article. BTW, please make sure that the requirements listed in the Requirements for Testing Qt Applications article are met in your application.
  • Hi Tanya,



    Thanks for your suggestion.



    1. What version of TestComplete are you using? 
    - Tried with TC8.7 and TC9.0

    2. What version of Qt library are you using? 
    - In TC8.7 version of QT library is 8.70 and in TC9.0 version of QT library is 9.0



    It is not
    able to assign the controls to any Qt Controls category in TC object mapping.



    Kindly do suggest on this.
  • Anonymous's avatar
    Anonymous

    Hi Deva,



    By default, TestComplete 8.70 recognizes applications as Open if they use Qt library ver. 4.7.0, and TestComplete 9 - applications that use Qt library ver. 4.8.0. It looks like the version of the Qt library you are using in your application is other than 4.7.0 and 4.8.0. There are special TestComplete modules that provide support for earlier Qt module versions. These modules can be downloaded from this page on our web site.

    If this doesn't help, please specify the version of the Qt module used in your application.