WinForms ObjectLibrary class

Oct 11, 2012 at 6:25 PM

Thanks in advance for your time... I have been looking at the WinControls test project.  I'd like to make sure I'm not missing something obvious.  I haven't been able to figure out is how the winCalculator class in the ObjectLibrary folder was created.  The CUITe recorder doesn't record WinForms, from what I can see.  Did the author generate a UIMap and then copy the class names he/she wanted over to the class?  Or is there some easier method I'm missing?

Coordinator
Oct 11, 2012 at 6:37 PM

You are correct; the CUITe object recorder doesn't record desktop applications.

The author might have generated a UIMap from Visual Studio Coded UI Test Recorder and converted it to CUITe, might have written it from scratch, or a little of both.

I usually tend to do a little of both, whichever one seems like it will be faster depending on my knowledge of the application under test.

Visual UI Automation Verify can also be used to help figure out control types and automation property values.

http://uiautomationverify.codeplex.com