multiplePublication
setTimeout 30000
open restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium multiplePublication
open logout
type username bree
type password bree1
clickAndWait Submit
open nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/Note%20to%20be%20modified@view_documents
clickAndWait link=Publish
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink
waitForA4jRequest 20000
watchA4jRequests publishTreeForm:publishTree
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink
waitForA4jRequest 20000
watchA4jRequests publishTreeForm:publishTree
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink
waitForA4jRequest 20000
open nxpath/default/default-domain/sections/testSection1/testSection2/Note%20to%20be%20modified@view_documents
verifyTextPresent This document is waiting for a publication approval
open logout
type username lbramard
type password lbramard1
clickAndWait Submit
open nxpath/default/default-domain/sections/testSection1/testSection2@view_documents
verifyTextPresent This folder contains no document.
open nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/Note%20to%20be%20modified@view_documents
clickAndWait link=Publish
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink
waitForA4jRequest 20000
open logout
type username jdoe
type password jdoe1
clickAndWait Submit
open nxpath/default/default-domain/sections/testSection1/testSection2/Note%20to%20be%20modified@view_documents?tabId=&conversationId=0NXMAIN
verifyTextPresent This document is waiting for a publication approval
clickAndWait link=Home
waitForOpensocialGadgetsToLoad nxDocumentListData 60000
selectOpenSocialGadgetFrame tasks
verifyTextPresent Publish document
selectWindow null
open logout
type username linnet
type password linnet1
clickAndWait Submit
open nxpath/default/default-domain/sections/testSection1/testSection2@view_documents
verifyTextPresent This folder contains no document.
open logout
type username jdoe
type password jdoe1
clickAndWait Submit
open nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/Note%20to%20be%20modified@view_documents
clickAndWait link=Publish
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink
waitForA4jRequest 20000
open nxpath/default/default-domain/sections/testSection1/testSection2/Note%20to%20be%20modified@view_documents
verifyTextPresent This document is published
open logout
type username linnet
type password linnet1
clickAndWait Submit
open nxpath/default/default-domain/sections/testSection1/testSection2/Note%20to%20be%20modified@view_documents
verifyTextPresent This document is published
open logout
type username lbramard
type password lbramard1
clickAndWait Submit
open nxpath/default/default-domain/sections/testSection1/testSection2/Note%20to%20be%20modified@view_documents
verifyTextPresent This document is published
open logout
type username bree
type password bree1
clickAndWait Submit
open nxpath/default/default-domain/sections/testSection1/testSection2/Note%20to%20be%20modified@view_documents
verifyTextPresent This document is published
open logout
type username jdoe
type password jdoe1
clickAndWait Submit
clickAndWait link=Home
waitForOpensocialGadgetsToLoad nxDocumentListData 60000
selectOpenSocialGadgetFrame tasks
verifyTextPresent Your dashboard is empty. There are no tasks that require your intervention.
selectWindow null
open nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/Note%20to%20be%20modified@view_documents
clickAndWait link=Publish
watchA4jRequests
click link=Unpublish
waitForA4jRequest 20000
open nxpath/default/default-domain/sections/testSection1/testSection2@view_documents
assertTextPresent This folder contains no document.
open logout
type username bree
type password bree1
clickAndWait Submit
open nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/Note%20to%20be%20modified@view_documents
clickAndWait link=Publish
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink
waitForA4jRequest 20000
open nxpath/default/default-domain/sections/testSection1/testSection2/Note%20to%20be%20modified@view_documents
verifyTextPresent This document is waiting for a publication approval
open logout
type username lbramard
type password lbramard1
clickAndWait Submit
open nxpath/default/default-domain/sections/testSection1/testSection2@view_documents
verifyTextPresent This folder contains no document.
open nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/Note%20to%20be%20modified@view_documents
clickAndWait link=Publish
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink
waitForA4jRequest 20000
watchA4jRequests
click publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink
waitForA4jRequest 20000
open logout
type username jdoe
type password jdoe1
clickAndWait Submit
open nxpath/default/default-domain/sections/testSection1/testSection2/Note%20to%20be%20modified@view_documents
verifyTextPresent This document is waiting for a publication approval
clickAndWait link=Home
waitForOpensocialGadgetsToLoad nxDocumentListData 60000
selectOpenSocialGadgetFrame tasks
verifyTextPresent Publish document
selectWindow null
open logout
type username linnet
type password linnet1
clickAndWait Submit
open nxpath/default/default-domain/sections/testSection1/testSection2@view_documents
verifyTextPresent This folder contains no document.
open logout
type username jdoe
type password jdoe1
clickAndWait Submit
open nxpath/default/default-domain/sections/testSection1/testSection2/Note%20to%20be%20modified@view_documents
type document_view:nxl_grid_summary_layout:rejectPublishingComment very good
clickAndWait //input[@value="Approve"]
verifyTextPresent This document is published
clickAndWait link=Home
waitForOpensocialGadgetsToLoad nxDocumentListData 60000
selectOpenSocialGadgetFrame tasks
verifyTextPresent Your dashboard is empty. There are no tasks that require your intervention.
selectWindow null
open logout
type username linnet
type password linnet1
clickAndWait Submit
open nxpath/default/default-domain/sections/testSection1/testSection2/Note%20to%20be%20modified@view_documents
verifyTextPresent This document is published
open logout
type username lbramard
type password lbramard1
clickAndWait Submit
open nxpath/default/default-domain/sections/testSection1/testSection2/Note%20to%20be%20modified@view_documents
verifyTextPresent This document is published
open logout
type username bree
type password bree1
clickAndWait Submit
open nxpath/default/default-domain/sections/testSection1/testSection2/Note%20to%20be%20modified@view_documents
verifyTextPresent This document is published
open logout
type username jdoe
type password jdoe1
clickAndWait Submit
clickAndWait link=Home
waitForOpensocialGadgetsToLoad nxDocumentListData 60000
selectOpenSocialGadgetFrame tasks
verifyTextPresent Your dashboard is empty. There are no tasks that require your intervention.
selectWindow null
open nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/Note%20to%20be%20modified@view_documents
clickAndWait link=Publish
watchA4jRequests
click link=Unpublish
waitForA4jRequest 20000