Select a check-box where the label contains text

Tags: 

Here was the GUI:

Here was the code behind:

And here is the code to select the checkbox where the SPAN tag contains some value:

<tr>
    <td>click</td>
    <td>//span[contains(text(),'Attributed')]/parent::node()/input[contains(@class, 'displayFilterCheckBox')]</td>
    <td></td>
</tr>