CUITe supports desktop app with WPF ribbon?

Oct 25, 2013 at 10:05 AM

I am working on a desktop application developed using WPF ribbon. I can use Codded UI for recording tests successfully, but I can't convert the UIMap.Designer to CUITe objectrepository class. I looked at the CUITe project source code and tried in many ways without any success.

Nov 8, 2013 at 6:50 AM
Hi Rony,

Can you provide the code that you are having issues with?

Thank you.
Nov 12, 2013 at 7:20 AM

My first issue is not to understand "ClassName~ControlTemplateExamples.exe" from the below statement of object library class.

public winWpfControls() : base("ClassName~ControlTemplateExamples.exe") { }

Secondly, for a simple ribbon tab, I get following coded UI declaration,

WpfTabPage uIFormatTabPage = this.UIMainRibbonWindowWindow.UIRibbonTabList.UIFormatTabPage;

Is it possible to convert it simply in the following line?

public CUITe_WpfTabPage tabpageDefault { get { return Get<CUITe_WpfTabPage>("AutomationID=tabpageDefault"); } }

Thank you for the help.