Understanding the code generated by “Coded UI Test” – Part 2

This blog post has been updated to reflect changes in VS 2010 RC or later build.  If you are on VS 2010 Beta 2, please upgrade before trying this post.  This is Part 2 of two part series.  In Part 1 we focused on – Why is generated code not a straight-line code? In this part,…

18

Understanding the code generated by “Coded UI Test” – Part 1

This blog post has been updated to reflect changes in VS 2010 RC or later build.  If you are on VS 2010 Beta 2, please upgrade before trying this post.  This is Part 1 of two part series.  In this part we will focus on – Why is generated code not a straight-line code? In the…

0

Is Coded UI Test under Load Test supported?

I have seen multiple queries on “Is running Coded UI Test under Load Test supported?”. Well, the short answer is – yes, it is supported with restriction of one user-load per test agent and in most cases it does not make sense in using Coded UI Test under Load Test. If that left you baffled,…

1

Logging a message in test result as part of an automated test

Multiple folks have asked in forums on how to log a message from a Coded UI Test for tracing\debugging purpose.  I know of as many as 5 ways of doing this from any test type (Coded UI Test, Unit Test etc).  Try this code out – 1: [TestMethod] 2: public void CodedUITestMethod1() 3: { 4:…

10

How To: Enable Tracing for “UI Test” Components

Like any other good product, the Testing Tools in VS also have tracing support to generate the extra trace logs that can help the product team debug the customer issues better.  Though this trace logs could be used by the customers in certain scenarios, these are meant for the product team only.  When reporting a…

9

Back to blogging

If starting a blog is difficult, restarting it is more difficult.  For several weeks I have been planning to start on the blogs again but it is not easy to shed of rust of 3 years.  Apart from the fact that some of my blogs in past have more than 20K views and the fact…

0