0

我正在为我的应用程序使用GWT-CKEditor。我想通过selenium测试它。但我无法在 selenium 中找到 Ckeditor 的目标参数。我无法在 Selenium 中找到它。我怎样才能做到这一点?

提前致谢。

4

1 回答 1

0

在 Selenium IDE 中使用以下命令来记录这个..

focus | class=html-editor portlet portlet-message-boards cke_show_borders

typeKeys | class=html-editor portlet portlet-message-boards cke_show_borders | Description

在上面的命令中,class=html-editor portlet portlet-message-boards cke_show_borders 是我的应用程序的 CKEditor 的类 id,所以请使用 firebug 检查 GWT-CKEditor 类 id。

于 2012-06-27T06:36:29.200 回答