verifyRightsOnTopicWithoutModeration
setTimeout 30000
open restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium verifyRightsOnTopicWithoutModeration
open logout
open nxpath/default/default-domain/workspaces/testWorkspace1/testForum1/testTopicWithoutModerati@view_documents
type username jdoe
type password jdoe1
clickAndWait Submit
verifyTextPresent jdoe
verifyElementNotPresent //input[@value="Lock"]
verifyElementNotPresent link=Access rights
verifyElementNotPresent link=History
clickAndWait link=Topic
verifyTextPresent Add a comment
verifyElementPresent //input[@value="Add"]
clickAndWait link=Log out
open nxpath/default/default-domain/workspaces/testWorkspace1/testForum1/testTopicWithoutModerati@view_documents
type username linnet
type password linnet1
clickAndWait Submit
verifyTextPresent linnet
verifyElementNotPresent //input[@value="Lock"]
clickAndWait link=Topic
verifyTextPresent Add a comment
verifyElementPresent //input[@value="Add"]
verifyElementNotPresent link=Access rights
verifyElementNotPresent link=History
clickAndWait link=Log out
open nxpath/default/default-domain/workspaces/testWorkspace1/testForum1/testTopicWithoutModerati@view_documents
type username jsmith
type password jsmith1
clickAndWait Submit
verifyTextPresent jsmith
verifyElementNotPresent //input[@value="Lock"]
clickAndWait link=Topic
verifyTextPresent Add a comment
verifyElementPresent //input[@value="Add"]
verifyElementNotPresent link=Modification
clickAndWait link=Manage
clickAndWait //form[@name="document_manage"]//a[text()="Alerts"]
verifyElementPresent //input[@value="Register"]
clickAndWait link=Access rights
verifyTextPresent No local right
verifyElementNotPresent link=History
clickAndWait link=Log out
open nxpath/default/default-domain/workspaces/testWorkspace1/testForum1/testTopicWithoutModerati@view_documents
type username bree
type password bree1
clickAndWait Submit
verifyTextPresent bree
verifyElementNotPresent //input[@value="Lock"]
clickAndWait link=Topic
verifyTextNotPresent Add a comment
verifyElementNotPresent //input[@value="Add"]
verifyElementNotPresent link=Manage
clickAndWait link=Log out
open nxpath/default/default-domain/workspaces/testWorkspace1/testForum1/testTopicWithoutModerati@view_documents
type username lbramard
type password lbramard1
clickAndWait Submit
verifyTextPresent lbramard
verifyElementNotPresent //input[@value="Lock"]
clickAndWait link=Topic
verifyTextNotPresent Add a comment
verifyElementNotPresent //input[@value="Add"]
verifyElementNotPresent link=Modification
verifyElementNotPresent link=Manage
verifyElementNotPresent link=Access rights
verifyElementNotPresent link=History
clickAndWait link=Log out