Getting started with CUITe 1.0.6

Feb 28, 2013 at 4:16 PM
I need help with getting started with CUITe 1.0.6
I downloaded the CUITe_for_.NET_v4.zip file but it does not seem to be an installation package.
Also, my application is a WPF application and I am OK with using the CodedUITest reocorder.
So, would i be able to use CUITe?

Thanks.

Bey
Coordinator
Feb 28, 2013 at 4:34 PM
Hi Bey,

Installation is not necessary; you can just reference CUITe.dll from your test project.

Yes, CUITe 1.0.6 supports WPF applications.

There is example code in .\Sample_CUITeTestProject_WpfControls\WpfControlTests.cs, available from the "Source Code" tab.

Thank you.
Feb 28, 2013 at 5:22 PM
Thanks for the (very) quick response.
I looked at some sample code and have a better idea how it works.

(Very) nice job.

Another question:
Suppose i have multiple search criteria, how do i specify those with CUITe?

Also, is it possible to get some consulting time from you?

Bey
Coordinator
Mar 1, 2013 at 12:25 AM
Hi Bey,

You can separate multiple search criteria property key and values with a semicolon.

For example,
public CUITe_WpfButton btnDefault { get { return Get<CUITe_WpfButton>("AutomationID=btnDefault;Name=Default"); } }
I may be available for consulting depending on the requirements. You can contact me privately here

Thank you.
Mar 1, 2013 at 12:47 PM
Thanks,
Does that means that semicolon will never appear in the property value?
Coordinator
Mar 2, 2013 at 12:29 AM
Yes, that seems to be a limitation currently, but support for property values with a semicolon can be added if/when needed.