title: How to get the number of row where I could find a specific value in RobotFramework?
body: <p>I already written something like that:</p>
  
  <pre><code>Check privileges for PDTA
      ${end}=    Get Matching Xpath Count    //*[@id="listForm:displayDataTable:tbody"]/tr
      ${start}=    Set Variable    0
      : FOR    ${index}    IN RANGE    ${start}    ${end}
      \    ${status}=    Run Keyword And Ignore Error    Element Should Contain    listForm:displayDataTable:${index}    su    ${index}
  </code></pre>
  
  <p>And the log output is:</p>
  
  <p><a href="https://i.stack.imgur.com/HuCJa.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HuCJa.png" alt="output.html"></a></p>
  
  <p>As you can see I want to get the number of row where I could find the value 'su'. This value can be found in a row number 6. Variable ${end} equals the number of all rows in the table.</p>
  
  <p>Does anyone know how to get that number? Maybe there's a keyword which could help me, isn't it? Thanks in advance !!!</p>