In Workfusion I am iterating all elements in a HTML page that are to be found by xpath:
//*[starts-with(@id,"FormView1_hidRevElement")][${i}]
When ${i} = 1 I get what is expected but not when ${i} > 1.
In the HTML page I have elements like:
id="FormView1_hidRevElement12636"
id="FormView1_hidRevElement12637"
id="FormView1_hidRevElement12642"
etc,
Error thrown: ...
Caused by: org.openqa.selenium.NoSuchElementException: Unable to locate element: //*[starts-with(@id,"FormView1_hidRevElement")][2]
...
What is wrong?