|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Extract the value of an attribute from a specified HTML tag.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
This extraction rule searches for the first occurrence of an attribute value located in an HTML tag that meets the extraction criteria. The pass/fail status of this test is determined by whether the test is required to find the attribute value to pass and if the criteria are met. To use this extraction rule, an HTML tag name and the attribute to find must be specified with the TagName and AttributeName properties. Additional criteria can be identified with the MatchAttributeName and MatchAttributeValue properties.