Forum Discussion

Farinaz's avatar
Farinaz
Contributor
8 years ago

finding button inside of an object

Hi

I have a problem with select any thing inside of Object. we have an object that has button, table , some div , image , text and .... inside of itself. we could not select any thing inside of this object for insert check point. we try with testcomplete version 12.20.

do you have any solution ?  

9 Replies

  • sanjay0288's avatar
    sanjay0288
    Frequent Contributor

    Hi,

      Your question is too generic for people in this forum to answer. Can you specify the following details

     

    1. Technology the application is developed

    2. Technology of the control which you are currently trying to spy

    3. Screen shot of the Properties and Methods of the object browser in advanced view

  • if your Object has WndClass.Add WndClass to MSAA and Text Regonition  in Current Project Settings.

     

    By Adding it.we can find the internal objects and their properties

    • Colin_McCrae's avatar
      Colin_McCrae
      Community Hero

      As sanjay0288 says, we need more info. What is the object with all the embedded controls? (language & class name ideally)

       

      Generally speaking, if you reach a point in an object model where everything below a certain control is invisible, it's because that control is not being recognised correctly by TestComplete so not exposing it's child objects. This could happen for any number of reasons. Non-supported control. Custom version of a standard control. Bad mapping properties. Extensions not installed. All sorts.

       

      If we know what the problem object is, we may be able to help. Some embedded controls are easy to extract and work with, some are not. But a lot will depend on what the container is ....

    • tristaanogre's avatar
      tristaanogre
      Esteemed Contributor

      karthick7 wrote:

      if your Object has WndClass.Add WndClass to MSAA and Text Regonition  in Current Project Settings.

       

      By Adding it.we can find the internal objects and their properties


      Text Recognition does not expose internal objects and their properties.  All it does is take text fields of an object and turns them into objects that can be interacted with at a surface level.

      MSAA also works similarly.  It doesn't actually expose the actual objects and components, it simply uses the IAccessible interface to allow interaction.  

       

      If you want true support for your components, Colin_McCrae's suggestion is best.  We need to know a bit more about the specific application under test and the type of components being interacted with.  Once we have that, we can give some better solutions.

      • Farinaz's avatar
        Farinaz
        Contributor

        Hi

        Thanks fro your answer.

        our web application developed bye asp .net ( C# and jqueri).

        we could not select any objects inside of red Square, for example the object that shows with star in the picture.

        ( the red square appear when we want to select any object like one that show with star) 

        if we change object tag to iframe tag, tools can select any object. but i could not change. what is your suggestion ?