【发布时间】:2016-12-29 13:57:28
【问题描述】:
如何使用 Selenium IDE 获取给定表的行数?
当我右键单击我的表时,我只能断言/验证以下内容:
- 标题
- 价值
- 文字
- 表
- 元素存在
目标是
//div[@id='reports']/div[n]` where `n` is the number of rows.
【问题讨论】:
-
@ThiagoCustodio 我做了,两个答案都无关紧要。一个是用于 Selenium WebDriver 的,另一个是过时的或不正确的。虽然我只是想出了一个解决方案
标签: selenium testing automated-tests selenium-ide