title: Validation of text objects or handling on objects that dont appear in all cases in robot framework
body: <p>I have to validate a page text after logging into an application,
  Text/ that page dont appear everytime but if the page appears then I have to do some actions and if it dont appear then I have to proceed.</p>
  <p>I tried the below methods :
  1.</p>
  <pre><code>Run Keyword If    Page Should Contain   ${txt_HomePage}  Login Successful
       Else    Login Unsuccessful
     
  Login Successful
       Log     Successfully logged into application
       
  Login Unsucessful
       Log     Please verify userid and password
  </code></pre>
  <ol start="2">
  <li></li>
  </ol>
  <pre><code>${Result}=   Page Should Contain    ${txt_HomePage} 
  Run Keyword Unless  '${RESULT}'=='PASS'    Log   Unsucessfull
  </code></pre>
  <p>Both the cases are failing, any other suggestion? How to handles that objects that dont appear in all cases</p>