Ask a Question

Windows Defender Firewall-unable to collect object using Object Spy

SOLVED
sathashiv5
Occasional Contributor

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? 

 

1 ACCEPTED SOLUTION

Accepted Solutions
mattb
Staff

Re: Windows Defender Firewall-unable to collect object using Object Spy

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

View solution in original post

5 REPLIES 5
mattb
Staff

Re: Windows Defender Firewall-unable to collect object using Object Spy

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/...


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

 

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

Best,
Matt


sathashiv5
Occasional Contributor

Re: Windows Defender Firewall-unable to collect object using Object Spy

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
Staff

Re: Windows Defender Firewall-unable to collect object using Object Spy

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

View solution in original post

sathashiv5
Occasional Contributor

Re: Windows Defender Firewall-unable to collect object using Object Spy

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
Staff

Re: Windows Defender Firewall-unable to collect object using Object Spy

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

cancel
Showing results for 
Search instead for 
Did you mean: