Is it in any way possible to access the Tags of a keyword which is defined in a resource file, but in the python code?
Example:
*** Settings ***
library my_dummy_library.py
*** Keywords ***
My dummy keyword
[Tags] MyTag
my_python_keyword
And in my_dummy_library.py
@library
class DummyClass:
....
@keyword(my_python_keyword)
def my_python_keyword(self):
tags = <SOMEHOW GET THE TAGS FROM HERE USING E.G BuiltIn>
I am not able to input the tags etc as variables.
Is there any way to access the tags of the source keyword using e.g. BuiltIn()?
Something like
BuiltIn().get_variable_value("@{KEYWORD TAGS}")
And if not, is there any way I could implement such a feature?
Thanks!