Azure DevOps Blog

DevOps, Git, and Agile updates from the team building Azure DevOps

Latest posts

Dec 11, 2012
Post comments count 0
Post likes count 0

Troubleshooting tips for cross browser testing in Coded UI Test

Saima_MSFT

I assume in this blog that you have basic knowledge of cross browser testing with Coded UI Test. You can visit this link which introduces cross browser testing with Coded UI Test , and also calls out the known limitations with this release. I also assume you are familiar with Coded UI Test Html logs used for troubleshooting.  This link is a good place to see an introductory session on troubleshooting your cross browser tests with Html Logs. Here, I will enumerate some common failure scenarios and how to fix them: (I) Search Failure: Error message: The playback failed to find the control with the given se...

Dec 10, 2012
Post comments count 0
Post likes count 0

Creating NGEN PDBs for Profiling Reports

Andrew B Hall - MSFT

Update: Visual Studio 2013 will generate PDBs automatically when using the CPU Sampling or the CPU Usage tool in the Performance and Diagnostics hub. See this post for more details! When profiling managed applications on Windows 8 any samples in an NGEN’d module will appear in the report as [NI module name] instead of showing the function name, which obviously makes it difficult to understand the report. For example in the screenshot below you see [mscorlib.ni.dll], and I can see in the output window that I failed to load symbols (PDB files) for mscorlib.ni.dll even though I enabled Microsoft Symbol Servers in ...

Dec 10, 2012
Post comments count 0
Post likes count 0

Asynchronous calls in C++ Windows Store Unit Tests

Anisha Pindoria

In Visual Studio 2012, we added support for the Async Test Methods in C#. You can call await inside the test method body and the unit test framework will appropriately wait for its completion. Here is a sample test method.         [TestMethod]         public async Task TestMethod1()         {             //Arrange             AtomPubClient client = new AtomPubClient();     &#...

Dec 9, 2012
Post comments count 0
Post likes count 0

Coded UI Test: Configuring Search Properties while recording on Internet Explorer

Sai Krishna Vajjala [MSFT]

This blog assumes that you have a prior understanding of Coded UI Test Search properties.  If not, a good starting point would be here. This blog explains the new “configurable properties" feature of the Coded UI test that we added in VS Update 1. Prior to VS Update 1, Coded UI Test records the controls with search properties and filter properties without any options of customization. For example, Recording a Mouse click on a button always generates the button with the same property list. Coded UI Test uses the search and filter properties to search for the control to complete the action during p...

Dec 9, 2012
Post comments count 0
Post likes count 0

How to execute tests locally using TCM.exe command-line?

Aseem Bansal [MSFT]

I have seen a lot of customers who use TCM.exe to execute tests on remote environments, but I have not seen many who use the same command-line to execute the tests locally. Here by locally, I mean tests running on the developer’s/tester’s box,  which does not have any test controller or test agent and has only MTM. Yes, it’s possible to do this in 2012 version. :) Now Let us go over the steps which you should follow to execute the tests locally. *tcm run /create /title:"Nightly Run" /planid:1 /suiteid:5 /configid:13 /settingsname:"" /collection: /teamproject: * Run created with ID: tcm run /execu...

Dec 9, 2012
Post comments count 0
Post likes count 0

Code Coverage in Microsoft Test Manager – Deep Dive

Importer

With the Quarterly Update1 for Visual Studio 2012, we have enabled collection of code coverage information for manual testing of ASP.Net web applications running under Internet Information Services (IIS). Testers will now be able to get data about how much code is covered as part of their manual testing effort using Microsoft Test Manager (MTM). This blog post by Mike Douglas provides an overview of how code coverage in MTM works. As his post points out, there are several features and improvements that have been introduced with this update. The topics discussed in this post include the important parts of the code...

Dec 7, 2012
Post comments count 0
Post likes count 0

Debugging on your Windows RT Device without a Network Connection

Brad Sullivan

Visual Studio 2012 allows you to debug your application on your Windows RT device so that you can develop the application the same way that your customers will use it.  Remote debugging is over your local network, which is really convenient when you are at home or at work and both machines are on the same network. To learn more about how to setup that please read on MSDN about Remote Debugging Windows Store apps. What if you are on the road and there is no suitable network available?  Often networks in hotels, airports, or coffee shops will block incoming connections. In this blog post you will learn how to achi...

Dec 6, 2012
Post comments count 0
Post likes count 0

Visual Studio 2012 ALM Virtual Machine with Update 1 and hands-on-labs / demo scripts now available

Charles Sterling

For anybody looking for training on the Microsoft Application Lifecycle tools one of the absolute best resources is Brian Keller’s ALM virtual machine.  Full details about the virtual machine can be found here: https://aka.ms/vs11almvm   The Visual Studio 2012 Update 1 ALM virtual machine and 21 hands-on-labs / demo scripts are now available for download. All of the existing hands-on-labs / demo scripts were updated to reflect UI and workflow changes included in Update 1. One entirely new lab / demo script was created focusing on new ALM tooling for SharePoint 2010 developers and testers. Finally...

Dec 6, 2012
Post comments count 0
Post likes count 0

Publishing test results through command line test runner

Mathew Aniyan MSFT

Generally, a subset of tests are executed as part of a build as Build Verification Tests. You may want to run the full set of automated tests on a local machine and publish them to a TFS build. You can then get cumulative report of all tests run for that particular build. Alternately, you may have other standalone systems which execute automated tests as part of testing process. Now you can report results from these systems to a build. TfsPublisher is a logger extension (see writing custom loggers for command line test runner) for Visual Studio 2012 Update 1 command line test runner, vstest.console.exe. It enabl...