Social Collaboration View-Member- Articles Visibility Management | ||
setTimeout | 120000 | |
open | restAPI/systemLog?token=dolog&level=INFO&message=-----Selenium createSocialWorkspace |
|
open | logout | |
type | username | memberSW |
type | password | pwd |
clickAndWait | Submit | |
clickAndWait | link=Document Management | |
clickAndWait | //form[@id='document_content']/table/tbody/tr/td[3]/div/a[1] | |
clickAndWait | link=SocialWorkspace_SocialCollaborationView_Visibility | |
clickAndWait | //img[@alt='Social Collaboration View'] | |
clickAndWait | link=Go to Articles | |
verifyElementPresent | //table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] | |
verifyElementPresent | //table[@class='dataOutput']/tbody/tr[2]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] | |
clickAndWait | //table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] | |
verifyElementPresent | //table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] | |
verifyElementNotPresent | //table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] | |
clickAndWait | id=title_One | |
clickAndWait | link=Restrict to the social workspace | |
clickAndWait | link=make it public | |
verifyElementPresent | link=Restrict to the social workspace | |
clickAndWait | link=Go to Articles | |
verifyElementPresent | //table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] | |
verifyElementPresent | //table[@class='dataOutput']/tbody/tr[2]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] | |
clickAndWait | //table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] | |
verifyElementPresent | //table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='make it public'] | |
verifyElementNotPresent | //table[@class='dataOutput']/tbody/tr[1]/td//ul[@class='actions']/li/ul/li[3]/a[text()='Restrict to the social workspace'] |