Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Abhishek Sinha
Microsoft Visual Studio Team Foundation Server, the core of the application lifecycle management tools, provides version control, a build system, and tools and metrics for managing and organizing projects. With a license for Team Explorer, you can view and update data in Team Foundation Server by using Team Web Access, Visual Studio and other integrated development environments.
Application Lifecycle Management (ALM) with Visual Studio and Team Foundation Server (TFS)
By using the suite of tools in Visual Studio and combining those tools with Visual Studio Team Foundation Server, following results can be achieved Requirement Gathering Understanding Customers Need Designing of Application Coding Version Control Application Build Test Planning and Execution Requirement Tracking Test Reporting
http://msdn.microsoft.com/en-us/library/fda2bad5.aspx
Create and Manage Test - Create and manage both manual and automated tests as part of your plan. You can
create test cases to be run as manual tests with individual test steps from Microsoft Test Manager. Automated tests, such as unit tests, load tests and automated UI tests, can be created by using Visual Studio. Later, if you want, you can convert test cases to automated tests by linking automation to the test case.
Execute a Test - Run your manual, exploratory and automated tests from a test plan using Microsoft Test Manager,
save these test results, and use to measure your testing progress.
Bug Logging
Test Reporting - Measure your testing readiness, track your testing progress, and view the status of bugs. The bugs
include detailed information that is collected when you run your tests using Test Runner. You can also submit bugs from Microsoft Test Manager.
Review and track test results - After you run tests, review your test results to see which tests passed and which
tests failed. You can then assign a reason for a failed test, and assign a resolution. You can view all the test results for a test plan using pre-defined test reports or by creating your own custom reports. If your team uses a project portal, you can view the pre-defined reports on the Test Dashboard. Access the project portal from the Track view in the Testing Center in Microsoft Test Manager.
2.
4. If you successfully connect to this team project, the Testing Center is displayed.
7.
To select the plan you added, choose Select plan. The Contents view for your test plan is displayed. Now follow the steps in the next procedure to add the details of your test plan
To change to the properties view for your test plan, choose Properties.
(Optional) To change to a different iteration for your team project, choose Iteration.
(Optional) The default configuration provided for the test plan specifies that the tests should be run on the Windows 7 operating system using Internet Explorer 8.0 as the browser. You can just use this as a placeholder to get started, or you can create a different configuration with different default values, or different configuration variables. To add new configurations, choose In this plan under Configurations, and then choose Manage.
Choose Manage
Create new Test Case in the Test Suite of the Test Plan
Click here to add new steps within the Test Case Action and the Expected Result
New Test Case is added to the Test Suite of the Test Plan
Quick Start for Manual TestingTest tab MTM 1. Select the using
5. You can now start the test from Test Runner. You will be prompted to start a test and you will have the option to create an action recording. An action recording can be used to play back the actions that you perform when you run your test.
6. Start the application under test (AUT) and perform the test steps. As the test runs, mark steps as either passed or failed; add comments, files or screen shots; or create a bug, as shown in the following illustration.
Summary - To run manual tests 1. In the center group menu bar, choose Test. 2. To run the tests, select the test suite that contains the tests that you want to run. 3. Select the tests you want to run and then choose Run. Test Runner opens. In Test Runner, you are prompted to Start test and optionally you can select Create an action recording. Choose Start test. 4. Perform the steps in the test case. Any data associated with a test step is displayed with the step. 5. To mark the result of a test step, choose the drop-down for the active icon to the right of the test step and then choose either Pass or Fail. 6. To pause the test at any time, choose Pause. If you are recording the test case, choosing Pause also pauses an action or video recording. To resume the test and the action or video recording, choose Resume. 7. If you find a bug, choose Create bug. The New Bug dialog box is displayed. Any data that you have attached or collected will automatically be added to the bug. 8. When you have finished testing, choose End test. 9. A result for the test is now shown in Test Runner, based on the test step results. If you chose to record the test, the recording is automatically stopped and saved. The overall result for a test is based on the status for all the test steps that were marked. Therefore, if one test step is marked as failed then the test will have a status of failed. You must mark a test step with a status if it is a validation test step. Otherwise, the test will be automatically marked as failed. 10. To save your test results, choose Save and Close.
To Track Testing Progress 1. The progress bar is a graphic representation of your testing status, based on the percentage of tests in a particular state. Tests in a similar state are shown with the same color, so that you can quickly view your status. The states are defined in the following table.
2. You can also view the Test Results History of each time the test has been run for this test plan in these test results. To view a summary of your testing progress, move your mouse pointer over the progress bar in the Run Tests activity. The dialog box that shows a summary of the status of all your tests is displayed. To view the results for a specific test, select the test and then choose View results. The most recent test results are shown for that test together with all the details and any data