Could you please help me out that how Run Keyword If works in RIDE?
I want to click the "EXIT" button if there is any online error in the page after clicking on "Create" Button. I have put the code like this. But it did not work. After running, the test case did not fail but at the same time, the EXIT button was not clicked also.
Click Button xpath=//*[@id="divHeader"]/table/tbody/tr/td[5]/input
${Result} Page Should Contain Element //*[@id="divError"]
Run Keyword If '${Result}'=='PASS' Click Button xpath=//*[@id="MyForm"]/div[4]/table/tbody/tr/td[2]/input
Expected: As there is an online error, It should click the "Exit" button.

