Software Testing with Visual Studio 2012
Question No: 51
You are a test developer using Microsoft Test Manager (MTM).
You are developing a test case that must be run multiple times with different input values for a specific field each time. You have a list of values that will be used for the input.
You need to modify the test to enter each value into the field.
What should you do?
Insert a parameter into the Action column of the test step and enter the input values into the Parameter Values pane.
Insert a parameter into the Expected Results column of the test step and enter the input values into Parameter values pane.
Insert a parameter into the Action column of the test step.
Create test steps for each input value in the Action column.
Explanation: Add parameters to a test case
Create a parameter by typing a name preceded by quot;@quot; in the actions and expected results of your test steps.
Note: When you write a manual test, you often want to specify that the test should be repeated several times with different test data. For example, if your users can add different quantities of a product to a shopping cart, then you want to check that a quantity of 200 works just as well as a quantity of 1.
To do this, you insert parameters in your test steps. Along with the test steps, you provide a table of parameter values.
Reference: Repeat a test with different data
Question No: 52
You are using Microsoft Test Manager (MTM) to manage test cases. You want to review all test cases with shared steps.
You need to build a direct links query that will generate a list of all test cases in the team project that use a shared step.
Which three actions should you perform? (Each correct answer presents part of the solution. Choose three.)
Set the linked work items filter to Work item type = Shared Steps.
Set the main query to Team Project = @Project AND Work Item Type = Test Case.
Return all top-level work items.
Return only items that have the specified links.
Return only items that do not have the specified links.
Answer: A,B,D Explanation:
Q: How do I link test cases, shared steps, and test results?
A: The link types, Tested and Tested By are used to link test cases to work items, and Test Case and Shared Steps are used to link Shared steps to test cases. Using Microsoft Test Manager, you can create test cases and test plans which define and manage these associations. Also, Test Manager creates and manages the associations of test results to test cases and test plans.
Question No: 53
You are managing test cases by using Microsoft Test Manager (MTM).
You plan to test a part of your product on a specific configuration you create.
You need to ensure that new test cases in a specific test suite default to use this configuration without impacting other test suites.
What should you do?
Create a new test plan for testing with the specific configuration.
Select all test cases in the test suite and select the specific configuration.
Select the specific configuration as the default configuration for the test plan.
Select the specific configuration as the default configuration for the test suite.
Explanation: At any time when you are planning what to test, you can add test configurations and set them as the default configurations for your test plan. When you next add test cases to the test plan, a pairing of each default configuration with the test case is added to the test plan. When you run the tests from the test plan, these pairings called test points are shown and each can be run individually. Test results are saved for each test point.
You can also override the default test configurations for the plan and set different default configurations for a specific test suite. When test cases are added to these test suites, a pairing of each default configuration for the test suite with the test case is added to the test plan as shown in the following illustration.
Reference: How to: Select Different Test Configurations For a Test Plan or a Test Suite
Question No: 54
You are using Microsoft Test Manager (MTM). You plan to reduce the maintenance of test suites.
You need to create test suites for which the test cases are automatically added.
What are two possible types of test suites that achieve this goal? (Each correct answer presents a complete solution. Choose two.)
Explanation: C: Query-based suites show the results of a query that you define. For example, you could select all the test cases that have Priority = 1.
D: Requirements-based suites are derived from Product Backlog Items, User Stories, or other requirements. The suite contains all the test cases that are linked to its requirement. This type helps you track how well each requirement has been tested.
Question No: 55
You are using Microsoft Test Manager (MTM) to perform exploratory testing.
You need to ensure that any bugs or test cases created during an exploratory test session are associated with a specific requirement for the purposes of traceability.
What should you do?
From the Test activity, select View Exploratory Test Sessions. Open a session and click
the Copy Link button.
From the Run Tests activity, select a test case that is a part of a requirement suite and select Run.
Create a requirement suite in the test plan, right-click on the suite, and select Explore Requirement.
From the Do Exploratory Testing activity, select Explore.
Explanation: Add a Requirement to your Test Plan
Once your Requirement is in your Test Plan, right mouse click and select Explore requirement
Reference: Exploratory Testing – What#39;s new for Microsoft Test Manager 2012 RTM
Question No: 56
You are using Microsoft Test Manager (MTM).
Your company plans to support SQL Server and third-party databases for the application under test.
You need to test both the SQL Server and third-party databases using one test case to capture test results.
What are two possible ways to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
Add new database run options.
Add new database test settings.
Add a new database test configuration.
Add new database test configuration variables.
Explanation: A test configuration is a combination of configuration variable values. Your configuration variables could be, for example, operating system, browser, CPU type, database.
Reference: Setting Up Machines and Collecting Diagnostic Information Using Test Settings
Question No: 57
You are using Microsoft Test Manager (MTM). You have created some shared steps for a recurring test sequence.
You plan to use these shared steps with fast-forward playback in multiple test cases. You need to create an action recording for the shared steps.
What are two possible ways to accomplish this goal? (Each correct answer presents a complete solution. Choose two.)
Include the shared steps work item in the test case. Start running the test case with action recordings enabled. When the shared steps are reached, select Start and record.
Include the shared steps work item in the test case. Right-click the shared steps and click Create action recording.
Open the shared steps work item in Shared Steps Manager and select the tab for Create action recording.
From the Shared Steps Manager, select the shared steps work item and click Create action recording.
Explanation: * You can create an action recording for shared steps in two ways:
In Test Runner while you are running a test that includes shared steps.
In Microsoft Test Manager while you organize and manage your shared steps.
A (not B) : Record an Action Recording on a Shared Step Set in Test Runner
First you must load a test that contains shared steps for which you want to create an action recording into Test Runner.
->Upon loading a test from Microsoft Test Manager into Test Runner, you are
prompted to Start Test with the option Create action recording. SelectCreate action recording and choose Start Test.
->Perform the steps of the test case and mark each step with a result.
->When you reach the shared steps, choose the down-arrow next to the shared steps icon and select Start and record.
D (not C): Creating an Action Recording for Shared Steps in Microsoft Test Manager You can create an action recording for a shared step in Microsoft Test Manager that will automatically run when the shared step is included in test cases.
To create an action recording for shared steps in Microsoft Test Manager
->Open Microsoft Test Manager.
->On the center group switcher, choose the down-arrow and then choose Testing Center.
->On the center group menu bar, choose Organize.
->On the menu, choose Shared Steps Manager.
->In the list of shared step, choose the row for the shared step for which you want to create an action recording.
->Choose Create action recording.
Reference: How to: Create an Action Recording for Shared Steps
Question No: 58
Your team uses the Microsoft Visual Studio Scrum 2013 process template in Microsoft Test Manager.
Your team wants to link all test cases to the related product backlog item or bug that they test.
You have a test case ID 121 and a product backlog item with ID 79. What should you do?
Open the test case, and add a Parent link to product backlog item #79.
Open the product backlog item, and add a Related link to test case #121.
Open the product backlog item, and add a Child link to test case #121.
Open the test case, and add a Tests link to product backlog item #79.
Explanation: http://msdn.microsoft.com/en-us/library/vstudio/ff731576(v=vs.110).aspx Reference: Product Backlog Item (Scrum)
Question No: 59
You are using Microsoft Test Manager (MTM). A test case is already in production.
You need to modify the test case to indicate it is being reworked. What should you do?
Change the test case state to Design.
Change the test case to Blocked.
Change the test case state to Closed.
Change the test plan state to Inactive.
Explanation: No test cases are ready to be run.
When all test cases remain in a design state for a long time, some issue is blocking progress. You might want to investigate the cause of the blockage.
Note: Update the state of each test case as it progresses from Design to Ready to Closed.
Question No: 60
You are using Microsoft Test Manager (MTM).
You plan to design a shared steps work item with the possibility that it will be used with multiple rows of test data.
You need to create a test case that contains the shared steps in multiple iterations. You also need to provide different test data for each iteration.
What should you do?
Create a copy of the shared steps work item and provide different values for the parameters in the original shared steps work item and its copy. Use the different shared steps work items in the test cases to get different test data.
Create an action recording of the shared steps work item and specify multiple parameter values while recording.
Provide default parameter values in the shared steps work item and provide different data in the test case for multiple iterations.
Provide multiple values for parameters in the shared steps.
|Lowest Price Guarantee||Yes||No||No|
|Free VCE Simulator||Yes||No||No|