Connect to Cloud Team Foundation Server using Visual Studio Test Manager 11 Developer Studio

Introduction:

In this article we are going to see the option of connecting to Cloud Team Foundation Server using the Visual Studio Test Manager 11 Developer Preview released with Visual Studio 11. The Visual Studio 11 Developer Preview is presently available as a free download for evaluation purpose and Test Manager is available built into the installation of the VS 11 Package.

Overview:

Test Manager is a new tool introduced with VS 2010 specifically for testing the application by providing test cases, test suites and configurations based on the requirement by connecting to the Team foundation server where we maintain the versions, builds and the team details. So in this article we will see how to connect to the Team Foundation Server using the Test Manager 11 Developer preview and createa simple test case to update to team foundation server.

In our earlier article we have seen how to connect using the Visual Studio 2010 IDE , now in this article we will see the step by step process on connecting the Cloud TFS using Test Manager 11 Developer Preview. Before stepping forward we need to download and install the Visual Studio 11 Developer Preview version (Check my article on Downloading and Installing Visual Studio 11 Developers Preview ) to get clear idea on how to download and install the package.

Steps:

Once we registered with the Cloud TFS, we can see nice interface withthe list of options as shown in the screen below. Since we already donewith the Step 1 and Step 2, now we will move forward and do the step 3 (Downloading the required client software) as shown in the screen below.

VSTstMgr1.png

Taking into consideration that Visual Studio 11 Developer Preview is installed go to Start –> Programs and navigate to Microsoft Test Manager 11 Developer Preview as shown in the screen below.

VSTstMgr2.png

Clicking on Microsoft test Manager 11 Developer Preview, will open a nice splash screen indicating the loading of the application as shown inthe screen below.

VSTstMgr3.png

Once the Test Manager is opened it will first request for the Team Foundation Server details as shown in the screen below.

VSTstMgr4.png

Since we are going to connect to the Cloud Team Foundation Server provide the TFS url https://f5debug.tfspreview.com as shown in the screen below. Click on ADD to proceed further

VSTstMgr5.png

Clicking on ADD will move on to the next page where we can see the option to connect the server by clicking on the Connect Now button, if we want to specify different credentials we need to click on Use Different Credentials as shown in the screen below.

VSTstMgr6.png

As we can see, the Connect Now button is disabled. We need to navigate to the F5debug project and then we can see the Connect now button enabled as shown in the screen below.

VSTstMgr7.png

Once the Connect Now button is clicked we can see the Testing Center window opened as shown in the screen below. The Testing Center have options to enter the test case based on the requirement, for that initially we need to add a test plan which will have all the test cases with in it asshown in the screen below.

VSTstMgr8.png

To add the test plan click on the Add button at the top as shown in the screen below.

VSTstMgr9.png

Clicking on Add button will open a pop up requesting for the plan name, enter the plan name as per the requirement here we have entered asF5DebugTestPlan as shown in the screen below. Now Click on Add button to proceed further.

2011-09-17 10h24_54

Clicking on ADD button will add the plan to the list and we can see the F5DebugTestPlan as shown in the screen below.

2011-09-17 10h25_22

Now we can see the options to create the test plan as per our requirement in a new window where we can see the things listed under thetest plan which we created (F5DebugTestPlan) as highlighted in the screen below. We can simply click on the Add button and put on our test cases as per the requirements.

VSTstMgr12.png

Clicking on the Track button will list the test id if any and we can run the test case to create the test results as well.

VSTstMgr13.png

Conclusion:

So in this article we have seen the option of how to connect to the Cloud Team Foundation Server using Microsoft Test Manager 11 Developer Preview to create a basic test plan and create test cases.