Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Microsoft Visual Studio 2015 Coded UI Test Plugin for Silverlight

Microsoft Visual Studio 2015 Coded UI Test Plugin for Silverlight

Atin Bansal

|
4,610 installs
| (0) | Free
Using the Microsoft Visual Studio 2015 Coded UI Test plugin for Silverlight, you can create Coded UI Tests or action recordings for Silverlight 5.0 applications

Using the Microsoft Visual Studio 2015 Coded UI Test plugin for Silverlight, you can create Coded UI tests or action recordings for Silverlight 5 applications.

This plugin supports Silverlight 5 applications hosted in Internet explorer versions 8, 9, 10 and 11. It requires Microsoft Visual Studio 2015 RTM or higher.

If you are using Microsoft Visual Studio 2012, please use this version of the UI Test plugin.  For Microsoft Visual Studio 2013, please usethis version

 

Installation Steps

0. Prerequisites

You need to have any one of the following Microsoft Visual Studio 2015 SKUs installed on the machine - Enterprise, Test Professional, Test Controller, Test Agent or Team Foundation Server.

You should have Microsoft Visual Studio 2015 RTM or higher on the machine.

1. Download the installer

2. Double click on the UITestPluginForSilverlightVS2015.msi to install.

Steps to enable this feature

1. Setup your Silverlight application to include a helper assembly which enables UI testing.

a. Add a reference to Microsoft.VisualStudio.TestTools.UITest.Extension.SilverlightUIAutomationHelper in your Silverlight application.

b. Verify that each Silverlight control has a unique identification property.

Detailed description of the procedure is given in the MSDN article - How to: Setup your Silverlight application for Testing. This MSDN article describes the steps applicable for Silverlight 4 applications. These same instructions apply for Silverlight 5 applications.

2. Use Microsoft Visual Studio to create Coded UI Tests to test Silverlight applications.

3. Add a reference to Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight in your Coded UI Test project. This assembly can be found in %Program Files%\Common Files\Microsoft Shared\VSTT\14.0\UITestExtensionPackages

Detailed steps are given in this MSDN article - Walktrhough: Creating, Editing and Maintaining a Coded UI Test for Silverlight applications.


Additional Resources:

  1. Testing Silverlight Applications with Coded UI Tests or Action Recordings [MSDN]
  2. How to fetch properties of a Silverlight Control [Blog]
  3. Understand the search logic for Silverlight Controls  [Blog]
  4. How to validate properties of nested controls in Silverlight [Blog]
  5. Test Automation for Silverlight DataGrid in Coded UI Test [Blog] 
  6. Visual Studio UI Automation Testing (includes CodedUI) [MSDN Forums] – We encourage you to use the Q and A section
    of this Visual Studio Gallery for questions pertaining to this plugin.
  7. For more information on Coded UI Test - Content Index for Coded UI Test
  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft