How would I locate / click the following element in Selenium IDE? The text "Sample XYZ5" is dynamically generated. So is the value 99999.
<td>
<input type="checkbox" value="99999" name="sample[]">
Sample #XYZ5
</td>
Because of the dynamic generation, the Selenium IDE 'record' function wasn't appropriate. It was only capturing the locator as 'name=sample[]' which can refer to any number of samples[] on this page.
This is a data driven test, so the text between the HTML tags can be read into a variable used by the Selenium IDE.