Microsoft KB Archive/919902

= FIX: The Web test recorder does not record a Web test in Microsoft Visual Studio 2005 Team System Test Edition =

Article ID: 919902

Article Last Modified on 5/1/2007

-

APPLIES TO


 * Microsoft Visual Studio 2005 Team System Test Edition

-



SYMPTOMS
When you try to record a Web test by using Microsoft Visual Studio 2005 Team System Test Edition, the Web test recorder does not record the Web test.

This problem occurs if the following conditions are true:
 * The Web site that is being recorded contains forms that have the content type set to multipart/form-data.
 * The forms that have content type set to multipart/form-data do not contain file upload parameters.



CAUSE
This problem occurs because Visual Studio 2005 Team System Test Edition does not handle the multipart/form data content type if there are no file upload parameters.



RESOLUTION
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft Visual Studio 2005 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
The default content type of the form is URL encoded (application/x-www-form-urlencoded). If the form contains file upload parameters, the content type of the HTML form is set to multipart/form-data. You can change the content type by using the FormPostHttpBody.ContentType property.

For more information about the FormPostHttpBody.ContentType property, visit the following Microsoft Developer Network (MSDN) Web site:

http://msdn2.microsoft.com/en-us/library/microsoft.visualstudio.testtools.webtesting.formposthttpbody.contenttype(VS.80).aspx

For more information about similar problems with Web tests in Visual Studio 2005, click the following article number to view the article in the Microsoft Knowledge Base:

919899 FIX: Hidden field parameters in a Web page may be modified when you record a Web test in Microsoft Visual Studio 2005 Team System Test Edition

919898 FIX: Error message when you try to start the Web test recorder in Visual Studio 2005 Team System Test Edition: &quot;Recorder must be started from Visual Studio&quot;

Additional query words: web test team system recorder

Keywords: kbpubtypekc kbhotfixserver kbqfe kbfix kbprb KB919902

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.