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