VerifyAttribute
Last updated
Was this helpful?
Last updated
Was this helpful?
This ‘verifyAttribute’ is a pre-built Action that comes for the captured Element. The functionality of this Avo Assure to verify the attribute name provided in the input value and store the result in the output variable.
Input Value: <Attribute Name>;<Attribute Value (Optional)>;<css>(Optional)
<Attribute Name> (Requied)
The attribute name specifies the property or characteristic of an HTML element.
<Attribute Value> (Optional)
The value assigned to the attribute name. Typically appears in quotes.
<css> (Optional)
Used only if the attribute is defined in a CSS file. If verifying HTML attributes, CSS is not required.
Note: The attribute name specifies the property or characteristic of an HTML element. For example, id and class are attribute names. These are predefined in HTML and help define the purpose or behavior of the element.
The attribute value is assigned to an attribute name and specifies the particular property or behavior for the element. It typically appears in quotes.
When user want to verify attribute that is present inside the HTML tag, user don't need to mention the CSS. However, if the user wants to verify the attribute from the CSS file, then user must mention the CSS in the input field.
<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
This variable holds the status as True or False
Verifies an attribute of a captured element matches the expected input value
The VerifyAttribute action checks if the defined attribute of the captured element on the application interface matches the provided input value (ID). The result of this verification is stored in the {Status} variable as Ture Or False