GetAttribute Function

  • Updated

Returns the attribute value for an element as specified by the engine attribute for it.

Syntax 1

 

Returns the attribute value for an element as specified by the engine attribute for it.

 

GetAttribute(attributeName)

 

 

Arguments:

 

 

 

attributeName

String - The name of the supported engine attribute. Supported attributes are: entityid, elementid, name, entityname, index, xpath.

Syntax 2

 

Returns the attribute value for an element as specified by the engine attribute for it.

 

GetAttribute(attributeName, element)

 

 

Arguments:

 

 

 

attributeName

String - The name of the supported engine attribute. Supported attributes are: entityid, elementid, name, entityname, index, xpath.

 

 

element

Any - element for which the specified attribute value is to be determined.

Remarks

  • GetAttribute("entityid") returns the values for the entity in whose context the function is called. Only the attributes listed above are supported.
  • Example: GetAttribute("entityid") returns value.

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Article is closed for comments.