Quantcast
Channel: Windows Desktop Development for Accessibility and Automation forum
Viewing all articles
Browse latest Browse all 585

Unable to Find Charms Bar using CodedUI

$
0
0

I am unable to find the Charms bar(on windows app) control using DirectUIControl in CodedUI.

 DirectUIControl charmsbarHwnd = new DirectUIControl();
 charmsbarHwnd.SearchProperties[UITestControl.PropertyNames.ControlType] = "Window";
 charmsbarHwnd.SearchProperties[UITestControl.PropertyNames.ClassName] = "NativeHWNDHost";
 charmsbarHwnd.SearchProperties[UITestControl.PropertyNames.Name] = "Charms";
 charmsbarHwnd.WaitForControlReady();

charmsbarHwnd.WaitForControlReady();

Also tried providing parent as DirectUIControl.Desktop.

Can anyone help me on this.



Viewing all articles
Browse latest Browse all 585

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>