1

我正在尝试使用 Selenium 在 SmartGWT 表中选择一行。

我尝试了以下命令无济于事(点击肯定会发生,但表格小部件没有响应):

    selenium.mouseDownAt("isc_ContactListGrid_0_wrapper", "50,50");
    selenium.clickAt("isc_ContactListGrid_0_wrapper", "50,50");
4

1 回答 1

2

您需要安装 SmartGWT 用户扩展并使用特定的 SmartGWT 定位器 (scLocator)

在这里查看更多 - http://www.rhq-project.org/display/RHQ/Testing+SmartGWT+with+Selenium

于 2011-02-14T16:01:55.117 回答