Forum Discussion

jyothi_km's avatar
jyothi_km
Occasional Contributor
9 years ago

Not able to spy on block images in the software

Hello,

 

I have a software where there are many blocks to be tested. These blocks are images in actual.

But i'm not able to spy on these blocks with object spy. I can only spy the entire window but not the individual blocks.

Attached the screenshot of the same.

 

Can anyone please provide me the solution as how to spy these blocks? Is there any plugin to be included.

  

5 Replies

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    -- What technology/tool the tested application was created with?

    -- What version of TestComplete are you using?

    -- Is this technology/tool supported by TestComplete? (https://support.smartbear.com/viewarticle/71622/)

    -- Was the tested application prepared as per requirements? (https://support.smartbear.com/viewarticle/69187/)

    -- What control implements the discussed graphic block? Is this control supported by TestComplete? (https://support.smartbear.com/viewarticle/68065/)

    • jyothi_km's avatar
      jyothi_km
      Occasional Contributor

      1. The tool is developed using DOT Net technology

      2. I am using TestComplete V10.2

      3. Yes, I am able to spy other controls like button, edit box, combo box and tree items also

      4. The blocks are not the controls but they are images created in MS paint. Got this information from the developers.

       

      I have to validate these blocks like pins, text and the block image. Please let me know how can this be done.

       

       

      • AlexKaras's avatar
        AlexKaras
        Champion Level 3

        Hi,

         

        .Net applications are open to TestComplete by default and thus the Object Browser must be able to get the container that contains the image. Then you should be able to get an image of this container using its .Picture property and compare then with the expected baseline image.

        Check if .Net support extension is installed and enabled in TestComplete (File | Install Extensions...) if the Object Browser cannot get internal details of the tested application.