Winforms Warnings in Log
Posted: Wed Apr 13, 2011 4:39 pm
I am receiving a couple of new Winforms warnings in my log with 3.0.1, I did not receive them in 2.x
1) Level - Warn Category - WinForms
The above warning comes the first time I call this line of code (that particular line of code is called hundreds of times during this particular test):
2) Level - Debug Category - Plugins
The above debug message comes when I search for a window using its class. And it does not happen every time I call that code.
Which in turn runs this line of code from the WaitForWindowWithClass method in my framework:
1) Level - Warn Category - WinForms
Code: Select all
Failed to load the assemblies containing the definition of this control. UI element identification capabilities for this control are limited. Failed assemblies:
The following website provides more information on this technology limitation:
http://www.ranorex.com/support/user-guide-20/technology-instrumentation/general-troubleshooting.html#c3250
(This message is only shown once per report.)
Code: Select all
Ranorex.Tree HDReportTree = HDReportsForm.FindSingle(".//tree[@accessiblerole='Outline']", 30000);
Code: Select all
Getting attribute 'title' failed on FlavorElement with flavor 'winforms'. Unable to cast object of type 'Ranorex.Libs.WinForms.ControlProxy' to type 'Ranorex.Libs.WinForms.InvokeResult'.
Code: Select all
HDReportError = RFW.WaitForWindowWithClass("HD", "#32770", 2);
Code: Select all
HDForm = Host.Local.FindSingle("/form[@title='" + WindowName + "' or @controlname='" + WindowName + "' and @class='" + strClass + "']", Timeout * 1000);