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>
|
The Selenium IDE normally has a recording function. With this function you should be able to record a click on your element. Then you only have to watch how the IDE records it. But if you want to click on it using some other frameworks (like creating an automatic test in Java or Python or...) you should use XPaths to locate the element. But be aware of your XPath combination because if the element doesn't have an ID it's a little bit tricky to get a unique XPath. |
|||||||||||||
|