通过识别附近的元素单击按钮

时间:2014-02-06 06:22:11

标签: selenium uniqueidentifier

名称移动没有介绍人创建状态操作

Adill 6666655555 Nitesh 05-02-2014等待批准[按钮]

Adill 6666644444 Nitesh 05-02-2014待批准[按钮]

情况是这样的,我想通过检查他们独特的手机号码点击按钮。假设我想点击button2,其中手机号码是666644444.那么我该如何表演呢?

在此处输入代码:

<tr class="even">
<td class="">Adil Imroz</td>
<td class="">999933333</td>
<td class="">Adil</td>
<td class=" sorting_1">04-02-2014</td>
<td class="">
<span class="undefined">Pending For Approval</span>
</td>
<td class="">
<a id="editCustomerDetails" class="btn btn-info btn-small" onclick="showUpdateForm(2);">
<i class="halflings-icon edit halflings-icon"/>
</a>
</td>
</tr>
<tr class="odd">
<td class="">Adil Imroz</td>
<td class="">9999444444</td>
<td class="">Adil</td>
<td class=" sorting_1">04-02-2014</td>
<td class="">
<span class="undefined">Pending For Approval</span>
</td>
<td class="">
<a id="editCustomerDetails" class="btn btn-info btn-small" onclick="showUpdateForm(3);">
</td>

0 个答案:

没有答案