setTimeout |
120000 |
|
open |
/nuxeo/logout |
|
open |
/nuxeo/nxpath/default/default-domain/workspaces/testworskspace1/testforum1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
clickAndWait |
link=New topic |
|
type |
//input[@class="dataInputText"] |
testTopicWithModeration |
click |
//input[@type="radio"] |
|
typeKeys |
//input[@name='createThread:nxl_user_group_suggestion:nxw_selection_suggest'] |
bre |
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('createThread:nxl_user_group_suggestion:nxw_selection_suggestionBox').style.display != 'none' |
10000 |
verifyText |
//*[@id='createThread:nxl_user_group_suggestion:nxw_selection_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Bree Van de Kaamp |
click |
//*[@id='createThread:nxl_user_group_suggestion:nxw_selection_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('createThread:nxl_user_group_suggestion:nxw_selection_list:0:nxw_selection_listItem') != null |
10000 |
type |
//input[@name='createThread:nxl_user_group_suggestion:nxw_selection_suggest'] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('createThread:nxl_user_group_suggestion:nxw_selection_suggestionBox').style.display == 'none' |
10000 |
clickAndWait |
//input[@value="Create"] |
|
verifyTextPresent |
testTopicWithModeration |
|
clickAndWait |
link=testForum1 |
|
verifyElementPresent |
link=testTopicWithModeration |
|
verifyTextPresent |
Yes |
|
clickAndWait |
link=Log out |
|