Record not recongizing SL controls.

Sep 18, 2012 at 3:30 PM

I am using VS 2010 Ultimate, with FP 2, and CUITe 1.04a.

 

I have walked through the quick start and I am assuming I am missing something.

 

I have a locally running web page at - http://localhost:2856/Default.aspx - The page holds a SL app, which has 4 buttons, 3 data grids, 2 text blocks on it.  I set the page above as my URL in the CUITe recorded, hit record, go through the actions, hit code.  At the end of everything, all it writes to the Object Repository file is...

 

using CUITe.Controls.HtmlControls;


namespace GearUnitTest.Tests.ObjectRepository

{   

public class GUTHome : CUITe_BrowserWindow 

  {     

  public new string sWindowTitle = "GearUnitTest";   

}

}

 

 

Any ideas on what I am missing?

Coordinator
Sep 21, 2012 at 4:20 AM

Hi forresthaynes42,

The CUITe Object Recorder does not support silverlight controls.

See FAQ #8 here: http://cuite.codeplex.com/wikipage?title=Frequently Asked Questions

I recommend using the Visual Studio Coded UI Test Recorder and then translate the generated code manually.