setTimeout |
30000 |
|
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium createTopicWithModeration |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testWorkspace1/testForum1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
clickAndWait |
link=New topic |
|
type |
//input[@class="dataInputText"] |
testTopicWithModeration |
click |
//input[@type="radio"] |
|
typeKeys |
//input[@name='createThread:nxl_user_group_prefixed_suggestion:nxw_selection_suggest'] |
bre |
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('createThread:nxl_user_group_prefixed_suggestion:nxw_selection_suggestionBox').style.display != 'none' |
10000 |
verifyText |
//*[@id='createThread:nxl_user_group_prefixed_suggestion:nxw_selection_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Bree Van de Kaamp |
click |
//*[@id='createThread:nxl_user_group_prefixed_suggestion:nxw_selection_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('createThread:nxl_user_group_prefixed_suggestion:nxw_selection_list:0:nxw_selection_listItem') != null |
10000 |
type |
//input[@name='createThread:nxl_user_group_prefixed_suggestion:nxw_selection_suggest'] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('createThread:nxl_user_group_prefixed_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 |
|