Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

HtmlTag.GetAttributeValue Method (String)

 

Gets the value of a specified attribute.

Namespace:   Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

public HtmlAttribute GetAttributeValue(
	string attributeName
)

Parameters

attributeName
Type: System.String

The name of the attribute. Used as the key to look up the attribute value.

If the key does not exist in the dictionary, this method returns null.

Return to top
Show: