Syntax
| browser.ID.HTML.get.element.attribute(TagName, AttributeName1, AttributeValue1, AttributeName2, AttributeValue2, Attribute) |
Parameters
| STRING | TagName | Name of the tag (case sensitive)
| | STRING | AttributeName1 | Filter 1: name of an attribute (case sensitive)
| | STRING | AttributeValue1 | Filter 1: value of the specified attribute (case sensitive)
| | STRING | AttributeName2 | Optional. Filter 2: name of an attribute (case sensitive)
| | STRING | AttributeValue2 | Optional. Filter 2: value of the specified attribute (case sensitive)
| | STRING | Attribute | Name of the attribute to retrieve |
Return value
Description
| The function search in the HTML document to find a tag with the specified name and attributes, and returns the value of the requested attribute. |
MioScript Sample Code
// Retrieving the value of an input text field
browser.&brId.HTML.get.element.attribute("INPUT", "ID", "myField", null, null, "value") |
|