A Walk Through of Camano and the Manual Test Runner for Quality Assurance Test Planning and Test Execution VSTS 2010 CPT (Rosario)

by Tawfiq Bajjali 9. October 2008 15:34

 

Introduction:

This is a walk through of the new functional testing tool codename “Camano” and the Manual Test Runner by Microsoft. These are very powerful tools put out by Microsoft that now allow you to efficiently plan and execute your QA Testing efforts. Also, all of your testing data is stored and integrate into Team Foundation Server. This is an amazing beneifit if you use TFS as one of your for project management tools. Camano is released with Visual Studio Team System code name “Rosario”. You can download a virtual machine image of Rosario from the Microsoft web site.

 

Camano Overview:

To start off I will go over all the entities in Camano. The most basic entity is a Test Case. A Test Case is work item type in that mostly consists of a sequenced set of steps and their expected results. A group of Test Cases make up a Test Suites, which also could be made up of other Test Suites also containing Test Cases. A Test Configuration is an entity that allows you to specify the name of the environment you will be testing in and provide a description for it. A Test Suite, a Test Configuration, and Test Settings make up a Test Pass. A Test Pass or a combination of Test Passes make up a Test Plan. A Test Pass can have its own “Global” Test Settings. I will cover each of these entities in detail later on. Here is a diagram of how these entities fit together that you can refer back to if needed.

clip_image002


Should you keep reading? What you'll get out of this post:

After highlighting some things regarding navigating through the application, I will create a couple of Test Cases, add them to a Test Suite, create a Test Configuration, create a Test Pass, create Test Settings, and create a Test Plan. I will introduce the Microsoft Manual Test Runner and use it to execute my Test Plan. I will then go over a report generated based on my testing activities.  

My examples, and the data I use in creating each entity, assume that I am testing the User Management functionality of a web site in Internet Explorer. I don't have an actual web site developed to test, so I will pretend I am executing my test cases and just worry about analyzing.

 

Before you fire up Camano:

First I start by creating a new team project from within Visual Studio. I used the CMMI template and finish the wizard. Once this is done we are ready to start working in Camano.

clip_image004

 

Navigating through Camano:

I took a screen shot of the Home Activity Center Screen below and split it up into 3 main sections to go over.

Section 1 lists all of the categories, or menu options in Camano. Once you click on one of the menu items, all of its sub menu options are loaded into Section 2. Other sub menu items are accessible by clicking on the little down arrow below each menu item. Section 3 lists all active windows you have open, or any unsaved screens. It took me a while navigating the application using the Working Progress section (Section 3), but its pretty handy once you get used to it.

clip_image006

 

Creating, Configuring and Planning your Testing Effort:

Start by connecting to the team project you created in Visual Studio. This is done by clicking the Home menu option and selecting Connect to a Team Project.

clip_image008

I will now start planning my testing effort. The first step will be creating the Test Cases.

First click on the Planning menu option.

clip_image002

Click on New Test Case.

clip_image004[6]

Populate the Test Case's title, Actions or Steps, and Expected Results and any other fields you wish populated. I am going to create a second Test Case that will come in to play later on.

clip_image006

Click on New Test Case to create the second Test Case then populate the fields on the screen.

clip_image008[5]

After creating the Test Cases, I proceed to create a Test Suite that will consist of both Test Cases created earlier.

Click on Manage Test Suites. Click on the Test suites, then click on the New Suites button and give it a name. I will call mine “User Management Test Suite” and reference it throughout the remainder of this post.

clip_image010

Once I created the Test Suite, I want to add or associate my Test Cases to it.

In the right pane, click on Add Tests. Make sure that the Test Case Suite you created is still highlighted in the left pane.

clip_image012

From the window that pops up, select the Test Cases and click the Add Tests button.

clip_image014

After creating my Test Cases and grouping them into a Test Suite, I will create a Test Configuration. A Test Configuration will allow me to associate the name and a description of my test environment with my Test Suite.

Click on Planning, then on New Test Configuration. Specify the Name and Description then click on Save and Close.

clip_image016

After creating a Test Configuration, I will create my Test Settings and then a Test Plan.

Click on Planning, then on New Test Plan, then click New Test Settings.

clip_image018

On the left pane, there are 7 options. I will briefly go over each one and and highlight what is needed to get through this walk through. I will not include screen shots for every option.

In the General tab, specify the name of the Test Setting.

In the Execution Criteria tab, select whether you want to execute the test locally or on a remote server. If you select Remote you must specify the server IP in the drop down box, or select it if it from a list if the list was automatically populated. Also in the Execution Criteria tab, you can enable the type of logging (Collectors) you want to happen.

In the Deployment tab, you can add files you wish to deploy with your test pass. These could be files used by the application your testing.

In the Setup and Cleanup Scripts tab, browse to script files that you want to run before and after the test run. These could be scripts to automate setup steps.

In the Hosts tab, select the Host Type (or platform) you want the test to run in (i.e. Your Machine, ASP.net, Device)

In the Test Timeouts tab, you can enable aborting or failing a Test Run its execution exceeds a specified time limit.

The data I used in the walk through:

  • Under General, I set this Test Setting’s name to “Administrator Functionality Test Settings”
  • Under Execution Criteria, I select “Execute Tests Locally” and collect “Event Log”, “System Information”
  • Under Deployment, I disable deployment
  • Under Test Timeouts, I Uncheck “Mark an individual test as failed if its execution time exceeds”

Once I am done, I proceed to create my Test Plan.

Click on Save and Close. This will take you to the New Test Plan Screen.

image

The Test Plan is where everything we've been creating so far comes together.

These are the Steps I took to create my test Plan:

  1. Enter the Name, Description, Start/End Dates, and a State for the Test Plan. A Test Plan has to have a state of In Progress to be visible/usable throughout the application.
  2. Select the Test Settings that were created earlier and saved
  3. Specify a name for the Test Pass. A Test Pass is the grouping of your Test Suite, Configuration, and Test Settings. I called the Test Pass used "Test User Management".
    1. Select the Test Suite created in step two containing both User Management Test Cases.
    2. Select the Configuration Created Earlier containing the name of the environment we are testing in.
    3. Select the Test Settings created earlier (or different ones if applicable).
    4. Set the State to In Progress, and the Type as Non Recurring. This Setting will be used by Camano to determine if the Test Plan shows up in the All Test Plans Page, accessible from Planning --> View All Test Plans.
    5. Save and Close.

clip_image020

To summarize what I did so far:

  1. I created 2 Test Cases to test the User Management section of a web site
  2. I added those to a Test Suite
  3. I created Test Settings and Test Configurations to give more detail about my test environment
  4. I created a Test Plan to test the Administrative Functionality of a web site
  5. I added my Test Suite, Settings and Configuration to a Test Pass under my Test Plan

 

Test Execution:

Click on the Testing menu option. In the left pane, right Click on the Test Pass (i.e. "Test User Management") and click “Start Testing this test Pass”

image

This will launch the Microsoft Manual Test Runner. This is a simple interface containing 3 expandable areas. In the first area is a list of all the Test Cases in the suite associated with the Test Pass. In the second area are the Steps for the Selected Test Case. In the third area are the Properties of the selected Test Case.

image

Select the Test Case you want to execute from the top pane.

Click on Actions, then on Start Test Case. This will Start the test case and, focus on one of your open windows and start recording. Since I haven’t prepared a web site for this demo, I ran a blank solution in Visual Studio to demonstrate how the recording behaves (indicated in the upper left corner of the browser window) I also launched MS paint and it also started recording my window there.

clip_image022

clip_image024

I am going to minimize my screens, open the Manual Test Runner and pass all my test steps. This is done by right clicking on each step and selecting pass. When I am done, I am going to click on End Test Case.

clip_image026

Notice that every time something is recorded and a test case is passed (or set to fail/inconclusive), a blue triangle is added. This is the a marker in the automation strip. When you double click on a marker, it and its corresponding end marker will change color and a menu will pop up. This menu allows you to Play the selected clip, save the clip for sharing, or preview the clip.

Notice that it also created and attached an xml file and an ActionLog text file under test case results.

After I am done, I can click on Actions and Publish (or alternatively click Publish Test Results listed under the Test Cases). This will gray out my test case and only allow me to run the remaining test cases. You are also able to create a Work Item Type Bug for any test cases that fail. This Bug will be stored in TFS and could be managed there.

clip_image028

Go back to my Testing Activity Center, click the Refresh Button, right click on my Test Pass and select “View Test Pass Details”. You will get the following report.

clip_image030

This report will tell you:

  • How many test cases there are
  • How many test cases were ran and how many weren’t.
  • How many test cases passed, failed, or were marked as inconclusive.
  • How many test cases were blocked and how many failed by regression, new issues, or known issues
  • The test configuration name
  • The test suite name
  • The date testing should start
  • The date testing should end

The report also allows you to assign test cases to TFS users.

 

Conclusion:

The Manual Test Runner is an independent tool of Camano, but they work together nicely. In a real world scenario, Test Cases can be prepared using Camano (or in Visual Studio), assigned to the testers that will be executing each test case, and organized into Test Suites and Test Plans. Once that planning effort is complete, each member of the execution team can fire up the Manual Test Runner and work with their own set of assigned Test Cases. Logging/environment settings and execution start/end constraints can be put in place for better control over the testing effort. The project manager can depend on real time reporting and work item customization to capture the data they need for keeping the porject on budget and on schedule.

 

Resources:

http://msdn.microsoft.com/en-us/vstudio/bb725993.aspx

http://ozgrant.com/2007/12/09/november-rosario-ctp-planning-a-testing-effort-with-camano/

Tags: ,

QA | TFS

Comments

7/22/2009 4:41:08 AM #

Acai

Thanks - Just the info I was looking for.. My search ends here..

Acai Denmark | Reply

2/19/2010 7:13:48 AM #

Howard Store

Howdy, nice day.. Your content is incredibly impressive. I never imagined that it was feasible to accomplish something like that until after I checked out your write-up. You undeniably gave an excellent understanding on how this kind of whole scheme performs. I will always visit for more advice. Keep it up!

Howard Store United States | Reply

3/1/2010 12:30:06 AM #

Online Festgeldkonten Vergleich

There is obviously a lot to know about this. I like to stress that you have made lots of good points in your post.

Online Festgeldkonten Vergleich Germany | Reply

3/2/2010 4:10:48 PM #

Daniel Millions

I've been here a few times and it looks like your post get more informative each time. Keep it up I enjoy reading them.

Daniel Millions United States | Reply

3/3/2010 12:47:49 AM #

stock quotes

Great blog it's not often that I comment but I felt you deserve it.

stock quotes United States | Reply

3/3/2010 8:47:26 AM #

personal loans

Have you considered adding some sort of bookmarking buttons or links to your website?

personal loans United States | Reply

3/3/2010 10:16:11 AM #

Troy Tinserly

Thats a great post and a good read and will surely bookmark this site for reference.

Troy Tinserly United States | Reply

3/3/2010 2:45:12 PM #

personal trainer certification online

thank you for writing this, I enjoyed it.

personal trainer certification online United States | Reply

3/3/2010 9:57:24 PM #

facebook zynga

lol a handful of of the feedback individuals enter are just absurd, mostly i ponder whether they honestly read the content pages and reports before posting or whether or not they barely skim the title of the post and pen the initial thought that drifts into their heads. in either case, it is actually relaxing to read through keen commentary every now and then instead of the identical, classic oppinion vomit that i mainly observe on the web

facebook zynga United States | Reply

3/5/2010 9:46:46 AM #

teeth whitening free kit

Questions provide the key to unlocking our unlimited potential.

teeth whitening free kit United States | Reply

3/5/2010 12:41:10 PM #

Lucio Krumins

Good blog. I got a lot of great data. I've been watching this technology for awhile. It's fascinating how it keeps shifting, yet some of the core elements stay the same. Have you seen much change since Google made their most recent acquisition in the field?

Lucio Krumins United States | Reply

3/6/2010 9:31:36 AM #

Pok Speth

Rather superb entry, definitely useful stuff. Never ever considered I'd find the facts I need right here. I have been looking everywhere in the internet for some time now and had been starting to get discouraged. Fortunately, I happened across your blog and received precisely what I was searching for.

Pok Speth United States | Reply

3/6/2010 4:56:05 PM #

Davis Sawdo

Well said, you just earned another subscriber

Davis Sawdo United States | Reply

3/6/2010 5:15:03 PM #

budget wedding

Although I don't see eye to eye with all you staded, I must confess I do admire your style of writing.

budget wedding Slovenia | Reply

3/7/2010 4:23:13 AM #

Sammy Bockhorst

Although I would’ve preferred if you went into a little bit more detail, I still got the gist of what you meant. I agree with it. It might not be a popular idea, but it makes sense. Will definitely come back for more of this. Great work

Sammy Bockhorst United States | Reply

3/7/2010 7:37:39 AM #

Emmanuel Swedlund

Although I would’ve preferred if you went into a little bit more detail, I still got the gist of what you meant. I agree with it. It might not be a popular idea, but it makes sense. Will definitely come back for more of this. Great work

Emmanuel Swedlund United States | Reply

3/8/2010 12:20:16 PM #

moon in my room

Thanks for taking this opportunity to talk about this, I feel strongly about it and I benefit from learning about this subject. If possible, as you gain data, please update this blog with new information. I have found it extremely useful.

moon in my room United States | Reply

3/8/2010 10:38:41 PM #

Kourtney Czaja

This is a very intriguing post, I was looking for this info. Just so you know I found your webpage when I was checking for blogs like mine, so please check out my site sometime and leave me a comment to let me know what you think.

Kourtney Czaja United States | Reply

3/9/2010 6:29:57 AM #

mortgage loan modification

Hello, I have browsed most of your posts. This page is probably where I got the most useful information for my research. Thanks for posting, maybe we can see more on this. I also like this layout can you tell me where to get it  

mortgage loan modification United States | Reply

3/9/2010 9:42:47 AM #

watch the pacific online

Olla.Hello.Sorry but my english is not very good.however i just desire to say that i appreciate this post very much.Say thank you!

watch the pacific online United States | Reply

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen

About me

 

My name is Tawfiq Bajjali. I work in IT, and my current interest is functional and business strategy around application lifecycle management. I am very big on TFS and how powerful this server product is. My day to day job is software development, software quality assurance, and project management. This blog will discuss topics from the areas I work in. I am MBA student with undergraduate degrees in computer science and business management. I work for Magenic


Calendar

<<  March 2010  >>
MoTuWeThFrSaSu
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar

Page List