Decoding the Coded UI Test playback failure – "Search may have failed at ControlX as it may have virtualized children …"

While automating WPF controls in Coded UI Test, the playback would sometimes through an exception with the following error message: “Search may have failed at <ControlX> as it may have virtualized children. If the control being searched is descendant of <ControlX> then including it as the parent container may solve the problem.” In this blog,…


Adding new Control support in a Coded UI Test Plugin

In this blog post, Tapas describes the various key points that need to be addressed while implementing a new control support in a Coded UI Test Plugin (a  WPF plugin in this case). A sample WPF Calendar control example gives an in-depth on the various implementation details.   For more details – http://blogs.msdn.com/b/tapas_sahoos_blog/archive/2010/12/10/adding-new-control-support-in-a-coded-ui-test-plugin.aspx


How to re-target unit-tests to .Net Framework 3.5 in VS 2010 SP1

Visual Studio 2010 Service Pack 1 enables basic support for unit tests that target .Net framework 3.5.  With this support the users can: Create new unit-test projects and target them to the .NET Framework 3.5. Upgrade VS 2008 unit-test projects to VS 2010 SP1 and then re-target them to .NET Framework 3.5 Run unit tests that…


FAQ: Editing test case while using test runner

Note: Cross posted from Gautam Goenka (MSFT). Permalink Many folks have requested that they want to edit the test case while they are running it in test runner. While this is not possible in the current release (Microsoft Test Manager 2010), there is a poor… Note: Cross posted from Gautam Goenka (MSFT). Permalink


FAQ: Why am I getting “access denied” during recording?

Note: Cross posted from Gautam Goenka (MSFT). Permalink If you are using recording feature of Coded UI Test or Fast Forward feature of Microsoft Test Manager (MTM) and getting the following error – The last action was not recorded because access to the application was denied… Note: Cross posted from Gautam Goenka (MSFT). Permalink


Additional Steps for enabling re-targeting of Test Projects to .Net Framework 3.5 in VS 2010 SP1 Beta

  Visual Studio 2010 Service Pack 1 enables basic support for unit tests that target .Net framework 3.5.  If the devenv.exe.config file has been modified by the user before applying this Service Pack, then additional steps are required to enable the feature. (This can typically happen if you have installed Visual Studio add-ons/plugins that have…


Test Attachment Cleaner powertool released!!!

We have released the “Test Attachment Cleaner” powertool on Visual Studio Gallery today.   Overview: In Visual Studio 2010, with the introduction of Visual Studio Test Professional 2010 & Visual Studio Premium/Ultimate 2010 SKUs, testers can author manual and automated Test cases, configure the different diagnostic data collectors (as part of Test Settings), associate the…


Issues with using Custom Counter in Goal Based Load Pattern inside Load Test

If you are using custom counter in goal based load pattern inside load test then you may come across this kind of error while running load test: Exception        LoadTestGoalCounterNotFoundException        1        A goal based load pattern can not be applied because it specifies a performance counter (RUBELSVM1\MyCategory1\MyCounter1\) that could not be read: Category does not exist….


Visual Studio 2010 Feature Pack 2– Pre-requisite hotfix details

Visual Studio 2010 Feature Pack 2 is now available. This required some changes in the core Visual Studio 2010 product to enable the new functionality. We have created a hotfix (KB2403277) for these product changes. A detailed description of each change is given below.   Fix 1- Issue/Description: A new startup attribute has been added…