【发布时间】:2019-06-21 11:12:06
【问题描述】:
我有一个包含图像、文本和数字的值表。 我想点击一个特定的文本,但没能做到。我是使用量角器进行 e2e 测试的新手,所以请帮忙。
我需要点击文本“由测试自动化创建”
<td class="custom-t-act mat-cell cdk-column-name mat-column-name ng-tns-c15-3 ng-star-inserted"
_ngcontent-c15="" mat-cell="" role="gridcell">
<h5 _ngcontent-c15="" class="mb-0 pointer" tabindex="0"
ng-reflect-router-link="/projects/created-by-test-auto">
<b _ngcontent-c15="" class="ng-tns-c15-3">Created by Test Automation</b>
</h5>
</td>
【问题讨论】:
标签: javascript angularjs automation protractor automated-tests