Troubleshooting launch issues with xaml based apps using Coded UI Test

This blog assumes that you have a prior understand of functional testing with Coded UI Test on Windows Store. If not, please go through the introduction blog for Windows Store Apps. Here I would cover troubleshooting issues with the XamlWindow.Launch() API that has been explained in detail here. To summarize from the later blog the… Read more

Coded UI MTM Issues on Internet Explorer with KB2870699

        Update: Fix for VS 2012 is now available here Fix for VS 2010 SP1 is now available here         There was a recent security update (KB2870699) rolled out on Internet Explorer which has made some changes on IE11IE10IE9, affecting Coded UI Tests, MTM Record and Playback and MTM… Read more

Launching a Windows Store Application using Coded UI Test

This blog assumes that you have a prior understanding of Coded UI Test for Windows Store Apps. If not, Please read the “Introduction” blog of Coded UI Test for Windows Store Apps. This blog explains how to launch a Windows Store Application using Coded UI test. API Definition and Usage: In Visual Studio 2013, Users… Read more

Introducing JavaScript Execution on InternetExplorer and CrossBrowser in Coded UI Test

This blog assumes that you have a prior understanding of Coded UI Test and some experience with Recording and Playback on either Internet Explorer or Cross Browser.  A good starting point for Cross Browser testing would be here. This blog explains the new “JavaScript Execution” capability of the Coded UI test on Internet Explorer as… Read more

Retrying failed playback actions with Coded UI

This blog assumes that you have basic understanding of Coded UI and are familiar with the code generated from a recording on Winforms, WPF or Web applications. A lot of times, while running a UI test, our test runs into an unexpected page\state, say an unexpected error dialog, dismissing which would make our test work,… Read more

Migrating Coded UI Test Projects on VS 2012

In Visual Studio 2012, Coded UI Test projects provide silent upgrade features where if you open a Coded UI Test project which was created in Visual Studio 2010 SP1, it will get repaired automatically to support both Visual Studio 2012 & Visual Studio 2010 SP1. Similarly if you create any new Coded UI Test project… Read more

Coded UI Test: Why does application close after each test in Visual Studio 2012?

 In Visual Studio 2010 SP1, Coded UI Test added a flag CloseOnPlaybackCleanup to ApplicationUnderTest class. For cases where an application is launched during test run, this flag helps determine whether to close the application under test after test is over.  Default value for the flag was set to true (closes the application) as it is not advisable to… Read more

Enabling Tracing and HtmlLogger in Coded UI Test

Enabling HtmlLogger & Tracing in Coded UI Test   There have been a few changes in Visual Studio 2012 how Coded UI Test are run & how to enable logging. Now we can have both .NET v4.0 & v4.5 type Coded UI Test projects. Note this is an extension to previous blog on enabling tracing… Read more

UI Testing SharePoint 2010 with Visual Studio 2012

Microsoft Visual Studio 2012 provides complete record and play support through Coded UI for performing UI validations on Sharepoint 2010 applications. Recording and playing back on a sharepoint application is no different from recording on any webpage on Internet Explorer as internally the Coded UI IE plugin is being used. This blog assumes that you… Read more