MyTechFinds.com

  • Increase font size
  • Default font size
  • Decrease font size
Home Articles Software Testing Manual Testing Editing Manual tests in TFS 2010 from MS Excel 2010

Editing Manual tests in TFS 2010 from MS Excel 2010

E-mail Print PDF

Manual test cases created in Team Foundation Server 2010 can be easily edited from MS Excel. The TFS 2010 and Excel 2010 integration is native. I really liked this feature, though it comes with some shortfalls. Lets see what you can do and what you can not in more detail.

Edit/Add Test cases

To edit test cases, first create/open a query to return test cases that you wish to edit. I am going to work with a pre-built query that comes out of the box -  my test cases.

image

 

Once you have the results of the query open, click on image button located at the top of the result window. You will see other options along with an option “Open query in Microsoft Excel”. On selecting this option, it will open MS Excel with a table showing the results of the query. This is not “Export to excel”, this is viewing the results of the query in Excel which means any changes done to the fields can be synced back to the TFS database.

image

 

You can now makes changes to multiple test cases in a single go, you can edit almost any column contents. Similarly, you can add new test cases by inserting new rows and filling out the required columns with appropriate contents. You can choose “Choose columns” button to select more columns associated with TFS test case.

Once you are done making changes to the test case metadata, you can click on image button. All your changes will be saved back to the TFS database instantly.

Advantages

I find this very helpful in following situations -

  1. You want to set/reset priorities of multiple test cases,
  2. You want to assign test cases to different testers,
  3. You want to change state of test cases and mark them ready for execution,
  4. You want to review test cases to find automation candidates and mark automation status as planned or automated,
  5. Close test cases for a feature that got dropped or for tests that are no longer applicable,
  6. Change area path or iteration,
  7. etc.

I’m sure there are more uses of this than above list,

Things you can not do

There are some important things you may wish to do from this excel view that you currently can not. I treat this more as a wishlist  -

  1. Edit test steps. Yes, you can not edit test steps from excel. You have to do it from the test manager. You can not even do that from Visual Studio
  2. Execute test cases. You can not execute test cases from excel and mark them pass/fail/blocked. The only possible way to do that today is from the test manager.

( 0 Votes )
Comments
Search
Only registered users can write comments!

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."

Last Updated on Thursday, 20 May 2010 14:02  

Our valuable member Ajay Majgaonkar has been with us since Thursday, 23 April 2009.

Show Other Articles Of This Author

Software Testing

Login

Like it? Share it!


Search

Polls

Which of the following are characteristics of testable software?
 

MyTechFinds

Advertisement

Help us
We have 3 guests online