Social Collaboration View-Administrator-Article and NewsItem visibility management | ||
open | restAPI/systemLog?token=dolog&level=INFO&message=----- Selenium login |
|
open | logout | |
type | username | Administrator |
type | password | Administrator |
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'] | |
clickAndWait | link=Go to News items | |
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()='make it public'] | |
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_NI one | |
clickAndWait | link=Restrict to the social workspace | |
clickAndWait | link=make it public | |
verifyElementPresent | link=Restrict to the social workspace | |
clickAndWait | link=Go to News items | |
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()='make it public'] | |
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'] |