Team System 2010 Beta 2 “Microsoft Test And Lab Management” – Introduction

יום רביעי, נובמבר 18, 2009

I have posted about the “Microsoft Test and Lab Management” (MTLB) first when the Beta 1 was introduced. In this post I will show the changes made since Beta 1, you can read my post here. The menu in Beta 1 was this: In Beta 2 you can only find 2 sections: The Organize section is now part of the Testing Center sub menus. lets take a peek at the sub menus in the Beta 2:   If you will compare that to Beta 1 you will see that the same functionality and menus stayed the same but is reorganized in the...

When To Stop Testing An Application?

יום ראשון, יוני 7, 2009

I have seen many answers to this question, all talking about matrixes, what should I test, How should I test etc. Not many answers to this question talked about the overall process of development, the bigger picture… The testing process is part of much bigger picture of development that involves the developers, testers, managers, stockholders, marketing and more. Lets start with what stops the development in general, that will be the time to market of course, no product no matter how good it is will worth anything if it wont be sold. When we come to manage a project we slice the time...

Bugs Life – How To Manage Bugs Part 2

יום רביעי, מאי 6, 2009

We have seen that our little bug was caught and documented on the last Bugs Life post, if you didn’t read that yet you can read it here. “Dear diary, Today I have got my verdict,  Obama the Project Manager has decided to “Fix” me. They say that it will be expansive to “fix” me but it will cost more to leave me unfixed, they say that this part of the software is not a critical part but still will be used by part of the customers and loosing there trust will cost more than the “fix” cost. Dennis the programmer said that...
תגובה אחת

How To Create A Custom Extraction Rule In Team System Web Test

יום שני, אפריל 20, 2009

There are times when you need to write your own extraction rule, it is very simple to do that just follow these steps: Step 1: Create a new project, make it a “Class Library” type. Step 2: Add a reference to: Microsoft.VisualStudio.QualityTools.WebTestFramework.dll located in “Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PublicAssemblies\”. Step 3: Add the following using: using Microsoft.VisualStudio.TestTools.WebTesting; using Microsoft.VisualStudio.TestTools.WebTesting.Rules; using System.ComponentModel; Note: The last using is not related to the Team System but it will let us the use of attributes in order to make the implementation simple. Step 4: Next step is to add the following: namespace CustomExtraction {         [Description("Rule...

How To Run A Recorded Web Test On Different Servers

יום חמישי, מרץ 26, 2009

Many times when I record a web test, I do that on my local machine, the result is all the requests are directed to my localhost. A very nice feature added in Team System 2008 is the “Parameterize Web Server” button added to my Web Test GUI. Clicking on it will open a new window with one new parameter with the default name of “WebServer1”. We can also see that the “Web Server” parameter is the server that the web test was recorded on.     Click OK and see that two things have happened a folder was added to your Web...

How To Extract A Web Test Out Of An Existing Web Test In Team System

יום ראשון, מרץ 22, 2009

There are times when you have a part of a scenario that needs to be repeated in other scenarios. There are two options available: Record the steps each time for each of the scenarios. Create a Web Test that includes these scenario steps and embed the Web Test in other web tests. Option 2 is obviously preferable because it saves valuable time, take in account that you are not just recording steps but you also adds roles to it and modify it, wouldn’t you prefer to do that one time only? In Team System 2008 there is a nice feature that allow...
תגובה אחת

How To Add More Browsers and Network Types To The Web Test List

יום חמישי, מרץ 19, 2009

I have asked by clients that use the Web Test and Load Test how to add more Browsers and Network Types in order to simulate them. First I will start with how can you get to these lists. Step 1: Go to your Test Config file that is located in a solution that contains test projects and open it. Step 2: Go to the Web Test tab This is where you can find the list of “Browser type” and “Network type”. Now lets add a new network, we will call it Demo. Step 1: Go to “Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Templates\LoadTest\Networks” Step 2: Copy...
תגובה אחת

Are All Bugs Should Be Fixed?

יום ראשון, מרץ 15, 2009

The answer to this question is defiantly NO!!! All bugs should be managed but not all bugs should be fixed. Many times when I talk with my customers about the way they develop software I hear the wrong concept of fixing all the bugs before the release. So why not to fix all the bugs? An application without bugs is not better than an application with bugs? Well lets start with a very important fact: There are no applications without bugs, there are applications that have unfound bugs. But we still left with the bugs that we have found why not to fix them...
אין תגובות

What is Test Driven Development? (TDD)

יום שני, מרץ 9, 2009

Test Driven Development or TDD is a relatively new way of writing code. In short TDD is writing the tests before you write the code. What does it mean to write the tests before you write your code? How is that possible? To be more specific the way to do that is as follow: Step 1: Know the purpose of the code you are about to write. This step is trivial, with no requirements how can you know what to write. Step 2: Write a Unit Test that will test only one scenario in the code you are about to write. It is important...
תגובה אחת