Reputation: 38
I am trying run:
Run keyword if ${browser}='chrome' somekeyword
Else if ${browser}='ff' somekeyword
it's giving me a format error I am running as per doc. can anyone suggest the error?
Upvotes: 1
Views: 601
Reputation: 231
Run Keyword If ${browser}=='chrome' keyword
... ELSE IF ${browser}=='ff' keyword
... ELSE keyword
Keep proper space either tab or 2+ spaces as this may also be the reason as suggested by @Bryan Oakley
Hope this helps if not do post the exact keywords you have used with the error...
Upvotes: 2