Skip to content

Customizing exploratory testing in MTM

When you create a bug or test case during an exploratory testing session with Microsoft Test Manager, only 10 steps are retained by default. Many of our clients complain that this number is too little. There are two ways to override this limitation — one globally (to the workstation), and one per bug.

Global customization

  1. Locate the MTM.EXE.CONFIG file on your machine (e.g., C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE)
  2. Open the config file in Notepad or Visual Studio, somewhere that you will be able to review and edit the settings.

You can review the settings in the Config file as all have explanatory text and there might be other things to tweak.

  1. In the file – locate the ‘DefaultNumberofActions,’ CTRL + F
  2. Change the default of 10 to some other, more suitable number.
  3. Save the file and restart MTM for the change to take effect.

Once you have changed the above, it will collect that number of actions during your exploration and pull those into the test cases you create, as well as the bugs you create while in that session.

Per-bug customization

When you create the bug, you may not want all those steps included. Before saving the bug, at the top of the description is a comment that allows you to change the steps.

  1. Do some exploratory testing.
  2. Click the Create Bug, and the Bug work item opens with your steps listed.
  3. Click the Change Steps link, and the Change Steps Window opens.
  4. You can use the mouse and shift to select multiple steps, being selective on what you want to pull into the bug and then click the Select button.
  5. Continue with the rest of your bug info entry, and now you have your modified steps.