How to: Play Back a Web-Based Manual Test Using Firefox

You can create manual test cases to test your application. In a manual test case, you can document all the required test steps for a specific scenario and any other information that you must have to run the manual test. This might include attaching files to the manual test case. To be able to run manual test cases using Test Runner, you must add your manual test cases to a test plan. By adding your manual test cases to a plan, you can save the results every time that you run your test. Using the Microsoft Visual Studio 2010 Feature Pack 2, you can create an action recording for manual test steps that are performed on a website or on a Web-based application for your manual tests. You can record the tests using Windows Internet Explorer and then play back the tests using the Mozilla Firefox browser.

For more information about manual tests, see Creating Manual Test Cases and Running Manual Tests Using Test Runner.

Warning

After you have completed the installation of Microsoft Visual Studio 2010 Feature Pack 2, if you want to use the Test Package for Mozilla Firefox, you must install and configure the Test Helper Extension for Mozilla Firefox. For more information, see How to: Install the Test Helper Extension for Mozilla Firefox.

Warning

You can use the Firefox browser to play back only manual tests. Recording manual tests on websites and Web-based applications by using the Firefox browser is not supported. If you need to run a manual test that uses Mozilla Firefox, use a test settings that has action log and action recording turned off.

You can only use the Firefox browser to play back the manual tests. Recording manual tests on websites and Web-based applications by using the Firefox browser is not supported.

Play Back an Action Recording Using Mozilla Firefox

To play back the action recording

  1. Verify that you have installed Microsoft Visual Studio 2010 Feature Pack 2 and the Test Helper Extension for Mozilla Firefox. Information about installation is included in the introduction.

  2. Open Microsoft Test Manager.

    Note

    To display the Microsoft Test Manager window, click Start, and then click All Programs. Point to Microsoft Visual Studio 2010 and then click Microsoft Test Manager 2010.

  3. On the center group switcher, click the down-arrow and then click Testing Center.

  4. On the center group menu bar, click Test.

  5. In the menu under the center group menu bar, click Run Tests if it is not already selected.

  6. In the left pane, under Run Tests, select either the test plan or the test suite listed under the test plan that contains the test that you want to run.

    The right-side pane displays the test cases in the selected test suite.

  7. In the right-side pane, click a test case for a Web-based application or a website with an existing action recording and then click Run.

    Tip

    For more information about how to create action recordings, see Walkthrough: Playing Back Manual Tests Using Firefox and How to: Create an Action Recording.

    The Test Runner opens.

    Note

    Select Run with options to specify a build to run the test on, or to override the test settings and environment settings for the test plan.

  8. When you load a test from Microsoft Test Manager into Test Runner, you are prompted to Start Test with the option Create action recording. Leave Create action recording clear and click Start Test.

  9. In Test Runner, click the drop-down list next to Play in the toolbar and select Change browser for playback.

    The Change browser for playback dialog box is displayed.

    Change browser

  10. Click the drop-down list for Browser for playback and select the Firefox browser, as shown in the previous illustration. Click Save.

    Tip

    If you have various version of Firefox installed, they will be included in the drop-down list for Browser for playback. However, only Firefox versions 3.5 or 3.6 are supported. For more information, see Recording Tests Using Windows Internet Explorer and Playing Back Using Mozilla Firefox.

    Tip

    If most of your testing is for Firefox, you have the option to select Save this setting for all future action recordings.

  11. In Test Runner, click the drop-down list next to Play in the toolbar and select Play all.

    The action recording should play back using Firefox.

See Also

Tasks

Walkthrough: Playing Back Manual Tests Using Firefox

How to: Play Back an Action Recording Using a Third-Party Web Browser

Concepts

Creating Manual Test Cases

Running Manual Tests Using Test Runner

Other Resources

Recording Tests Using Windows Internet Explorer and Playing Back Using Mozilla Firefox