I am trying to use Run Keyword If
with or but for some reason it does not work and I could not understand why. It shows me an error No keyword with name 'or' found. I assume there is some syntax error. I also tried with OR but it did not work.
Keyword 1
Check Walkthrough Guide Opened
Go to ${WALKTHROUGH_URL}
Open Walkthrough Guide If It's Closed
Wait Until Element Is Visible ${WELCOME_POPUP} ${WFE_TIMEOUT}
Page Should Contain Element ${POPUP_TITLE}
Keyword 2
${ELEMS}= Execute JavaScript return localStorage.getItem('peopleAnalyticsTourDismiss')
Run Keyword If ('${ELEMS}' == 'true') or (${ELEMS}' == 'None') Run Keywords
... Execute Javascript localStorage.setItem('peopleAnalyticsTourDismiss', 'false')
... AND Reload Page