Forum Discussion

sathashiv5's avatar
sathashiv5
Contributor
4 years ago
Solved

Windows Defender Firewall-unable to collect object using Object Spy

Hi,

Test case: Read available networks and check for connectivity status in Windows Defender Firewall window. 

 

Using Object Spy, Domain networks Private and Public Networks are not detecting as object.

 

How to detect those and get connectivity status? 

 

  • mattb's avatar
    mattb
    4 years ago

    Sounds good! You can store it in arrays or in individual variables at the different test/project/projectsuite scopes 

5 Replies

  • Once I enabled MSAA and Text Recognition within the current project properties I was able to identify those objects.

    https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/properties/open-apps/text-recognition.html


    https://support.smartbear.com/testcomplete/docs/working-with/managing-projects/properties/open-apps/msaa.html

     

    Enable the asterisk on both of those settings, and then save and restart the application under test (Windows firewall) 

    Best,
    Matt


    • sathashiv5's avatar
      sathashiv5
      Contributor
      Hi,

      Thanks mattb. And sorry for the late reply.
      >From this approach, I shall store text recognized as Objects in an array.
      And will get the status of network connectivity by reading adjacent private
      and public networks.


      --
      Regards,
      Sadasivam Arumugam,
      • mattb's avatar
        mattb
        Icon for Staff rankStaff

        Sounds good! You can store it in arrays or in individual variables at the different test/project/projectsuite scopes 

    • sathashiv5's avatar
      sathashiv5
      Contributor

      Okay, if UIAObject("On") and UIAObject("Off") are showing in Object browser as childs for network status checking. How to get exact state of this network? Is it possible?

       

      For example: For Autoplay from settings, use autoplay from all media and devices have both UIAObject("On") and UIAObject("Off") in object browser. How to detect the state of this option.

      • mattb's avatar
        mattb
        Icon for Staff rankStaff

        Hi is there another property we could use? wChecked is a common one for radio buttons but something like that should be available.