Hi all, I have a library and listener from wich I’m creating dynamic test cases. I’m trying to get the included tags from within the worker process using BuiltIn().get_variables(), but the Options.include is empty. I tried with sys.argv but the tags are not included either.
‘&{OPTIONS}’: {‘rpa’: False, ‘include’: [], ‘exclude’: [], ‘skip’: [], ‘skip_on_failure’: [], ‘console_width’: 78}, ‘&{SUITE_METADATA}’: Metadata()}
If I add a dynamic suite using pabotlib.remote.run_keyword(“add_suite_to_execution_queue“, […], {}) the tags are being included.
‘&{OPTIONS}’: {‘rpa’: False,‘include’: [‘TC001A’, ‘TC001B’],‘exclude’: [], ‘skip’: [], ‘skip_on_failure’: [], ‘console_width’: 78}, ‘&{SUITE_METADATA}’: Metadata()}
My issue is that I need the included tags to create a kind of filter to know if I shoud add a new suite or not. Unfortunatelly due to client requirements (I know this does not make sense) I can’t use resource files or prerun modifiers. Is there any way to get them using pabotlib from the main process?