Freigeben über


Update on Coded UI Test support for Silverlight

The blog is last updated on July 14th, 2010.

For latest on "Coded UI Test support for Silverlight", please refer here.

For latest on "Platform support matrix for Coded UI Test", please refer here.

Whenever we talk about platform coverage for UI automation one of the frequent requests is support for Silverlight app testing. We have been hard at work trying to cater to this need and I wanted to update you all on where we are with this effort and provide a roadmap.

We are working on adding support for Silverlight controls for “Fast forward for manual testing” and “Coded UI Test”. The focus is on line-of-business applications built with Silverlight 4 for both in-browser and on the desktop. The initial investigation is in progress and we are working with the Silverlight team to close on the overall design. We are planning to release a CTP version of a plugin around Q2CY2010. This will be delivered out of band to active MSDN subscribers (Test Professional, Premium or Ultimate) only.

We are establishing the final release timeline and will let you know of that in one of my future updates.

Comments

  • Anonymous
    June 08, 2010
    The comment has been removed

  • Anonymous
    July 13, 2010
    Any update on support for Silverlight 4.0 ?

  • Anonymous
    July 13, 2010
    The comment has been removed

  • Anonymous
    June 21, 2011
    Walkthrough: Creating, Editing and Maintaining a Coded UI Test for Silverlight Application msdn.microsoft.com/.../gg413374.aspx Here is FULL SAMPLE hand coded UI script for Silverlight   application    [TestMethod]  public void SilverlightHANDCODINGTest()  {   BrowserWindow br = BrowserWindow.Launch(@"http://localhost:1377/SilverlightApplication1TestPage.html");   UITestControl sCustom = new UITestControl(br);   sCustom.TechnologyName = "Web";   sCustom.SearchProperties.Add("ControlType", "Custom");   sCustom.SearchProperties.Add("TagName", "OBJECT");   sCustom.SearchProperties.Add("Type", "application/x-silverlight-2");   sCustom.SearchProperties.Add("TagName", "OBJECT");   // sCustom.DrawHighlight();   SilverlightControl sframe = new SilverlightControl(sCustom);   sframe.TechnologyName = "Silverlight";   sframe.SearchProperties.Add(SilverlightControl.PropertyNames.MaxDepth, "-1");   sframe.DrawHighlight();   SilverlightEdit sTextBox = new SilverlightEdit(sCustom);   sTextBox.TechnologyName = "Silverlight";   sTextBox.DrawHighlight();   Playback.Wait(2000);   sTextBox.SetProperty(SilverlightEdit.PropertyNames.Text, "Thank god");   SilverlightButton sButton = new SilverlightButton(sCustom);   sButton.TechnologyName = "Silverlight";   sButton.SearchProperties.Add(SilverlightButton.PropertyNames.DisplayText, "Button");   sButton.DrawHighlight();   Playback.Wait(2000);   Mouse.Click(sButton);   SilverlightComboBox sComboBox= new SilverlightComboBox(sCustom);   sComboBox.TechnologyName = "Silverlight";   sComboBox.DrawHighlight();   Playback.Wait(2000);   sComboBox.SetProperty(SilverlightComboBox.PropertyNames.SelectedItem,"Kishore");  } Thanks, Kishore raavi.kishore@hotmail.com

  • Anonymous
    November 23, 2011
    The comment has been removed

  • Anonymous
    November 29, 2011
    The comment has been removed