Microsoft KB Archive/926308

From BetaArchive Wiki

Article ID: 926308

Article Last Modified on 11/7/2006



APPLIES TO

  • Microsoft Visual Studio 2005 Team Edition for Software Testers



SYMPTOMS

Consider the following scenario. The language of Microsoft Windows differs from the language of the installed version of Microsoft Office 2003. You try to change the properties of a manual test. In this scenario, you receive an error message.

Note You can use Microsoft Visual Studio 2005 Team Edition for Software Testers to create manual tests in text format or in Microsoft Word format. The problem that is described in this article only applies to manual tests that are in Word format.

You also receive the same error message when you try to paste a manual test type that is in Word format into a project.

The error message text resembles the following:

Failed to set document property by using Word Automation

CAUSE

This problem occurs when the language of the Windows operating system differs from the language of Microsoft Office.

RESOLUTION

To resolve this problem, install a version of Office that has the same language as the Windows operating system.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Steps to reproduce the problem

Change the properties of a manual test that is in Word format

  1. On a computer that is running a Windows operating system with a language that differs from the Office language, start Microsoft Visual Studio 2005.
  2. On the File menu, point to New, and then click Project.
  3. Expand Test Projects, and then click Test Documents.
  4. Under Templates, click Test Project.
  5. In the Name box, type TestProject1, and then click OK.
  6. In Solution Explorer, right-click TestProject1, point to Add, and then click New Test.
  7. Click Manual Test (Word format), and then click OK.
  8. On the Test menu, point to Windows, and then click Test View.
  9. Select ManualTest1, and then press F4. The Properties pane shows the properties for the ManualTest1 test.
  10. Click the Owner box, type TestUser1, and then press ENTER.


You receive the error message that is mentioned in the "Symptoms" section.

Copy and then paste a manual test type that is in Word format into a project

  1. On a computer that is running a Windows operating system with a language that differs from the Office language, start Visual Studio 2005.
  2. On the File menu, point to New, and then click Project.
  3. Expand Test Projects, and then click Test Documents.
  4. Under Templates, click Test Project.
  5. In the Name box, type TestProject1, and then click OK.
  6. In Solution Explorer, right-click TestProject1, point to Add, and then click New Test.
  7. Click Manual Test (Word format), and then click OK.
  8. In Solution Explorer, right-click ManualTest1.mht, and then click Copy.
  9. In Solution Explorer, right-click TestProject1, and then click Paste.


You receive the error message that is mentioned in the "Symptoms" section.


Keywords: kbtshoot kberrmsg kbprb kbbug KB926308