mardi 28 juin 2016

is there a way to find a specific checkbox and check it using Selenium-Webdriver?

I am having trouble making my Selenium-Webdriver script check Susie's checkbox. I have tried using clicking and sending space keys, and also changing my xpaths. Could someone please help me find a way of specifying that I need Susie's checkbox, and also help me click it?

<tr class="dataRow">
    <td class="jtable-selecting-column">
         <input type="checkbox">
    </td>
    <td class=" FirstName ">Laura</td>
    <td class=" LastName ">Test</td>
    <td class=" SMSNumber ">4444444444</td>
    </tr>
<tr class="dataRow">
    <td class="jtable-selecting-column">
         <input type="checkbox">
    </td>
    <td class=" FirstName ">Susie</td>
    <td class=" LastName ">Test</td>
    <td class=" SMSNumber ">5555555555</td>




Aucun commentaire:

Enregistrer un commentaire