Hello,I've been tried to find an information if syntax like:Run Keyword If (condition_1)Run Keyword If (condition_2) (new_keyword_1) ELSE (else_keyword_1)ELSE(else_keyword_2)
is supported. So far I only I've found any information on stackoverflow https://stackoverflow.com/questions/34590001/robot-framework-nested-if-statement saying "strickly speaking, no".
The reason, why I am asking is because ELSE for (condition_2) is used for both (condition_1) and (condition_2) without any error message saying syntax is not supported.Thanks in advance & Best Regards,-Adam.
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframework-users@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
No ,you cant use nested If or nester for loop.however if you want certain condition to execute inside if condition you can create saperate keyword for the condition and call it in if loop.
On 15-Jun-2018 11:34, <adam.wyp...@gmail.com> wrote:
Hello,--I've been tried to find an information if syntax like:Run Keyword If (condition_1)Run Keyword If (condition_2) (new_keyword_1) ELSE (else_keyword_1)ELSE(else_keyword_2)is supported. So far I only I've found any information on stackoverflow https://stackoverflow.com/questions/34590001/robot-framework-nested-if-statement saying "strickly speaking, no".The reason, why I am asking is because ELSE for (condition_2) is used for both (condition_1) and (condition_2) without any error message saying syntax is not supported.Thanks in advance & Best Regards,-Adam.
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.