title: Check value of an xpath in if statement
body: <p>Hi i am trying to check if my table is sorted by using an IF statement i am attempting to use the value i get from an xpath as follows.</p>
  <pre><code>Check if sorted by alphabet
  sleep   3s
  ${stuurman}=    Stuurman
  ${sorted}=    Get Text    xpath:/html/body/div[1]/div/div[2]/div/div/div/div[1]/div/div[2]/table/tbody/tr[12]/td[2]
  IF    ${sorted} == ${stuurman}
      Log To Console  &quot;Sorted&quot;
  ELSE
      Log To Console  &quot;Not sorted&quot;
  END
  </code></pre>
  <p>But i get the following error:No keyword with name 'Stuurman' found.
  What am i doing wrong here?</p>