I just started using Robot Framework and I wrote simple tests that should pass but they don't. The screenshot clearly shows that the elements are on the website. These are a couple of examples:
Page Should Contain Element name websiteRegistration
or
Page Should Contain Sign in and start watching
to look for the text.
The entire resource.txt is described below:
*** Settings ***
Documentation A resource file with reusable keywords and variables.
...
... The system specific keywords created here form our own
... domain specific language. They utilize keywords provided
... by the imported Selenium2Library.
Library Selenium2Library
*** Variables ***
${SERVER} localhost:8080
${BROWSER} Firefox
${DELAY} 20
${HOME URL} http://${SERVER}/some-link-that-works
*** Keywords ***
Open Browser To Welcome Page
Open Browser ${HOME URL} ${BROWSER}
Check If It Works
Set Selenium Speed ${DELAY}
Page Should Contain Sign in and start watching
Thank you for your help!!