I am trying to evaluate below expression in Robot framework
Run Keyword If '${buttondisplayed}' == 'PASS' and '${ReturnedInfo}' == ' PASS', Some Keyword,
else if, '${buttondisplayed}' == 'PASS' and '${ReturnedInfo}' == 'FAIL', Some Keyword ,
else if, '${buttondisplayed}' == 'FAIL' and '${ReturnedInfo}' == 'PASS', Some Keyword,
else, Some Keyword
Where the value of both ${buttondisplayed} and ${ReturnedInfo} = FAIL.
Based on above condition , else part mentioned in the end should be executed however in Log output I am getting following result
Documentation:
Runs the given keyword with the given arguments, if condition is true. Start / End / Elapsed: 20170806 11:15:14.448 / 20170806 11:15:14.448 / 00:00:00.000
Could anyone please indicate what is wrong here in this expression ?
Aucun commentaire:
Enregistrer un commentaire