hi how to use Get Element Attribute in Robot framework? in instruction I have Return value of element attribute.
attribute_locator consists of element locator followed by an @ sign and attribute name, for example element_id@class.
I have this xpath=${check_radio_xpath}@class is this right way?
where ${check_radio_xpath} = md-radio-11
I get this error:
${ischecked} = Selenium2Library . Get Element Attribute xpath=${check_radio_xpath}@class
Documentation:
Return value of element attribute.
TRACE Arguments: [ 'xpath=md-radio-11@class' ]
DEBUG Finished Request
FAIL ValueError: Element 'xpath=md-radio-11' not found.