Comment #3 on issue 633 by jussi.ao.malinen: Run Keyword Unless problem
http://code.google.com/p/robotframework/issues/detail?id=633

...and if the condition in these cases is the same (and does not have side effects) you could also do:

  ${var1} =  Run Keyword If  '${test}' == 'PASS'  blaa blaa
  ${var2} =  Run Keyword Unless  '${test}' == 'PASS'  blaa blaa
  ${var} =   Set Variable If  '${test}' == 'PASS'  ${var1}  ${var2}


Reply via email to