2012-06-26 42 views
0

我正在使用GWT-CKEditor用於我的應用程序。我想通過進行測試。但我無法在硒中找到Ckeditor的目標參數。我無法在Selenium中找到它。我該如何實現這個目標?GWT CKEditor with Selenium

在此先感謝。

回答

0

使用後在硒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編輯器portlet的portlet的留言版cke_show_borders是我的應用程序是這樣的CKEditor的類ID,請使用螢火蟲檢查GWT-CKEditor類別ID。