This post is the Second post out of Four that builds the Visual Studio 2010 Coded UI Test User Guide. See the first post: “Visual Studio 2010 Coded UI Test User Guide - Introduction”
On this post I will show how to create a simple Coded UI Test.
The example I will use in this guide created by Microsoft and is called: “IBuySpay”
The example is a web application but we will use its GUI in the Coded UI Test.
A few guide lines before we start:
To create a test you need to have a Test Project
Base every Automated Test on a predefined...
How many times you have spent hours on code just to understand what it does?
How many of these times it was your own code?
From my experience the answer to both of these questions is A LOT!
In Visual Studio 2010 we can find a set of tools that can help us understand the code a lot faster.
On This post I will show some of the abilities we get with the Visual Studio 2010 Architect Tools when investigating an existing code.
Note: The Architect Tools is in the Visual Studio Ultimate Edition only.
Lets start with ways to investigate an existing code,...
In TFS 2008 the Web Access was a different installation and it came as a Power Tool to the TFS.
In TFS 2010 the Web Access is installed automatically and is part of the TFS.
In order to get to the Web Access in TFS 2010 do the following:
In your preferred browser type:
YourServerName is the tfs name for example: http://tfs-srv:8080/tfs/web/
Or you can get to it from the Team Project SharePoint Site:
In Visual Studio 2010 Microsoft has added the Coded UI Test.
Back to history:
In Visual Studio 2005 Microsoft presented the Tester Edition, it contained the following parts:
Web Test Automation Test
Something that should have been a Manual Test, it was word or text documents contained the Test Cases. Practically no one used it.
In Visual Studio 2008 tester edition no significant changes has been made.
In Visual Studio 2010 Microsoft added more parts to the Tester Edition and created a new tool for the Tester called Microsoft Test and Lab Management (MTLM).
I will not get into all...
The Power Tools For the Team Explorer 2010 RC are available.
you can download the Power Tools from here.
I have installed the new Power Tools and it looks good!!!
One thing that always surprise me in the Power Tools installation: In the installation process the progress bar move fast until it gets to “Removing Backup Files”, it looks like the process stuck, they have this bug since the Team Explorer 2008 October release and its there to stay.
One of the new things they have done in this release of the Power Tools is update the BPA (Best Practice Analyzer) tool that...
There is a problem I have seen when installing Visual Studio 2010 Ultimate Edition RC On Windows XP with SP3, the screen just disappears in the middle of the installation.
At first I have seen it in one of my clients computers, the problem repeated itself on two computers both were Dell computers.
What we did is upgrading the Windows version to windows 7 and the installation succeeded.
Lately I am seeing the same problem on computers of different customers coming from different manufactures, same problem and same solution upgrade to Windows 7 and reinstall.
Some more problems I have seen in the...
From now on the TFS 2010 RC and Visual Studio 2010 RC are available to the public.
The link to download is: http://msdn.microsoft.com/en-us/vstudio/dd582936.aspx
Also after customers pressure to have Power Tools RC Brian Harry promised that it will be released by the end of next week no later than 02/19 so thank you Brian for the rescue.
The TFS 2010 Release Candidate and the Visual Studio 2010 Release Candidate are now available to MSDN subscribers and in a few days they will be available to the public.
I have already installed the TFS 2010 and the Team Explorer 2010, the installation was smooth but it is to early to give a feedback regarding the performance and changes made in the RC.
If you decide to install it or to upgrade to the RC version take in account the following considerations:
You will need to use the Server RC and the Client RC as well
The Power tools for the RC...
I am glad to announce that the TFS 2010 Work Items Basic User Guide Is finally and available to download.
I have worked hard to create this guide and I will be glad to hear what you think of it.
It is available to download from the TFS Guides site.
I will also like to know what other user guides you need.
The question that I am being asked a lot is: “In my Plan Settings I am recording the test steps of my manual tests, what can I do with the Coded UI recording that is created?”
The answer to this question is simple, you can easily create Coded UI tests and change them to suit your automation test effort based on these recordings.
How to create a Coded UI test out of an existing recording?
Step 1: Create or open a Test Project
Step 2: Add a new Coded UI Test
Step 3: In the window that Pops Up choose: “Use an existing...