--
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.
You have to put the for loop in a keyword and then have Run Keyword If call that keyword.
On Tue, Jul 25, 2017 at 2:56 AM, Wentao Wu <wuwent...@gmail.com> wrote:
Hi AllRobot can support this format::FOR ${var} IN @{values}\\ Run Keyword IF '${var' == 'EXIT' . EXIT For Loop\\ Do Something ${var}But how to support add [FOR LOOP] in [Run Keyword If] :Run Keyword IF "${var_list}" is not "${None}" :FOR ${var} . IN . ${var_list}... \\ Do Something ${var}ELSE Do SomethingThanks!
--
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.
Thanks very much for your reply, seems robot can't support add for loop after run keyword if ?as I don't want to add more keywords, it's really a very simple line.Why I need this feature?1. I'm writing more keywords, the input keyword argument will have empty vaule/list value2. in my keyword content,I will do check ,if the value is not None, then do for loop to use the list value in ${var}We have too many this keywords, if we need to write 20 keyword in this format, we will add 40 keywords to do it? it's not a good solution for us.Thanks!
You have to put the for loop in a keyword and then have Run Keyword If call that keyword.
On Tue, Jul 25, 2017 at 2:56 AM, Wentao Wu <wuwent...@gmail.com> wrote:
Hi AllRobot can support this format::FOR ${var} IN @{values}\\ Run Keyword IF '${var' == 'EXIT' . EXIT For Loop\\ Do Something ${var}But how to support add [FOR LOOP] in [Run Keyword If] :Run Keyword IF "${var_list}" is not "${None}" :FOR ${var} . IN . ${var_list}... \\ Do Something ${var}ELSE Do SomethingThanks!
--
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+unsubscrib...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
--
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.