I already written something like that:
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}
And the log output is:
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.
Does anyone know how to get that number? Maybe there's a keyword which could help me, isn't it? Thanks in advance !!!