Click to Rate and Give Feedback
MSDN
MSDN Library
Visual Studio 2008
Test Edition
Test Types
 How to: Add Data Binding to a Web R...

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2008/.Net Framework 3.5

Other versions are also available for the following:
Visual Studio Team System
How to: Add Data Binding to a Web Request

Before you can add data binding to a Web request, you must add a data source to your Web test. For more information, see one of the following topics:

After you add data binding to a Web request, you must configure the test run to access one or more rows of data. For more information see the following topic:

To add data binding to a Web test

  1. In the Web Test Editor, find a request that you want to bind. You might have to expand the Form Post Parameters folder, and locate a specific form field.

  2. Click the node that you want to bind.

  3. In the Properties window, find the Value property.

  4. Click the property, and then click the down arrow that appears.

  5. Expand the data source that you want to use, expand the table that you want to use, and then click the column that you want to use.

    The request is now bound to the data source.

    ms182546.alert_note(en-us,VS.90).gifNote:

    If the data source you want to bind to is not available, click Add Data Source at the bottom of the property pane to add a new data source. If a data source changes after you bind to it, you can click Refresh Columns at the bottom of the property pane to update the columns available.

  6. On the File menu, click Save to save the Web test.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker