title: How to use if and else condition in robotframework ,If node a as a child it should click the child else it should click node b
body: <p>How to use if and else condition in robotframework ,If 'A'node as a child it should  click the child node, else it should click node 'B'.</p>
  
  <pre><code>xpath=(.//*[@id='functionals-tab-content']/ul/li/ul/li[${to clickplus firstplus}]/ul/li[${child node click value}]/ul/li[${child node click value1}]/div[1]/a)--- child node of A.
  
  xpath=(.//*[@id='functionals-tab-content']/ul/li/ul/li[${to clickplus firstplus}]/ul/li[${child node click value}]/ul/li[${child node click value1}])--- B node.
  </code></pre>
  
  <p>"Run Keyword If Element Should Be Visible   child node of A.  click element child node of A</p>
  
  <p>Run Keyword Unless   Element Should Be Visible    B node.    click element  B node.</p>
  
  <p>If give like this its not exceuting throwing error. how to write if and else condition for this. can anyone help me.</p>