Tuesday, September 11, 2007

Extraction Rules - Extract Form Field

This type of Extraction Rule is used to verify Form Fields exist on the page. Use an Internet Explorer add-in utility to find the form field names.

Here is the download site for the Internet Explorer Developer Toolbar:

Steps to find the form field names:
  1. View Developer Toolbar
  2. View DOM
  3. Find>Select Element by Click (under the menu of the window in the lower half of the screen)
  4. Click on the control to be tested
  5. Find Name, double click in the Value column, and Copy the text under the Value (in the middle section)

Add the form field to an Extraction Rule
  1. Add an extraction rule to the web test
  2. Select Extract Form Field
  3. Enter a descriptive name under Context Parameter Name (user defined name)
  4. Paste the Form Field Name copied from the DOM Explorer

No comments: