Hey Chummers,
I f***ing love this Framework!!
However, it seems that I am way to stupid to use it. :-D Hope you can help me out!
I am trying to click on a button, but always get a NotFoundException. So I wrote a small test containing the following code:
01.var app = myManager.ActiveApplication.MainWindow;02. 03.app.Find.Strategy = FindStrategy.AlwaysWaitForElementsVisible;04.IList<FrameworkElement> buttonList = app.Find.AllByType("Button");05. 06.foreach (var element in buttonList)07.{08. Debug.WriteLine(element.Name);09.}The output is
PART_SysMinimizeButtonPART_SysMaximizeButtonPART_SysRestoreButtonPART_SysCloseButtonSo it seems my code is only able to address the buttons in the Window-frame so far and I have no idea what do do...
Any suggestions?
Greetings Stephan