且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Selenium - 如何计算表中的行数?

更新时间:2023-02-06 10:30:10

要将行数存储到表中,您可以使用 storeXpathCount

To store Number of rows into table you can use storeXpathCount

storeXpathCount | id=listBalances | NumberOfRows
echo  | ${NumberOfRows}

storeXpathCount将行计数存储到变量NumberOfRows
并且echo将返回计数。

storeXpathCount will store rows count into variable NumberOfRows And echo will return count.