I need to execute some keywords conditionally in robot framework, but I dont know how to do it, it does not work. I tried many options, but I guess I have the \"IF-ELSE\" statem
Thank you so much, Laurent, your solution is right! I just had to do some small changes to make it working:
Choose Particular Filter ${FILTER} And Uncheck All Values
${is_filter_opened}= is filter opened ${AVAILABLE FILTERS} ${FILTER}
run keyword if ${is_filter_opened} actions_when_unchecked ${FILTER}
... ELSE actions_when_checked ${FILTER}
actions_when_unchecked ${FILTER}
${uncheck_all_button}= uncheck all in filter ${AVAILABLE FILTERS} ${FILTER}
click element ${uncheck_all_button}
actions_when_checked ${FILTER}
${particular_filter}= find particular filter ${AVAILABLE FILTERS} ${FILTER}
click element ${particular_filter}
${uncheck_all_button}= uncheck all in filter ${AVAILABLE FILTERS} ${FILTER}
click element ${uncheck_all_button}