serialReviewOK
setTimeout 120000
open restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium serialReviewOK
open logout
open nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/testNote1@view_documents
type username jdoe
type password jdoe1
clickAndWait Submit
verifyTextPresent jdoe
clickAndWait link=Workflow
click //table[@class="dataInput"]/tbody/tr/td[2]/span/table//tr[2]//input
click //input[@value="workflowDocumentModificationAllowed"]
clickAndWait //input[@value="Start"]
verifyTextPresent Modification allowed
verifyTextPresent Serial workflow
select //div[@class="tabsContent"]//div[4]//table[@class="dataInput"]//tr[1]/td[2]/select label=serial_review_list
clickAndWait //input[@value="Load selected for the current workflow"]
verifyElementPresent //input[@value="Start the workflow"]
verifyElementNotPresent link=Approve
clickAndWait //input[@value="Start the workflow"]
verifyElementPresent link=Approve
verifyElementPresent link=Remove
clickAndWait link=Modification
verifyTextPresent Increment minor version
type //td[@class="fieldColumn"]/textarea desc testNote1 modified during a serial review
click //input[@value="ACTION_INCREMENT_MINOR"]
clickAndWait //input[@value="Save"]
verifyTextPresent 1.3
verifyTextPresent desc testNote1 modified during a serial review
clickAndWait link=Workflow
type //div[@class="tabsContent"]/div/div[3]//form//textarea allright for me
clickAndWait link=Approve
verifyElementNotPresent link=Approve
verifyElementNotPresent link=Modification
verifyTextPresent Select reviewers
clickAndWait link=Log out
type username jsmith
type password jsmith1
clickAndWait Submit
verifyTextPresent jsmith
clickAndWait link=Home
clickAndWait link=testNote1
clickAndWait Link=Modification
verifyTextPresent Increment minor version
clickAndWait link=Workflow
type //div[@class="tabsContent"]/div/div[3]//form//textarea Allright for me as well
clickAndWait link=Approve
verifyElementNotPresent link=Modification
verifyTextNotPresent Select reviewers
clickAndWait link=Log out
type username bree
type password bree1
clickAndWait Submit
verifyTextPresent bree
clickAndWait link=Home
clickAndWait link=testNote1
verifyElementPresent link=Modification
clickAndWait link=Workflow
clickAndWait link=Reject
verifyTextPresent Please add a comment
type //div[@class="tabsContent"]/div/div[3]//form//textarea I don't agree!
clickAndWait link=Reject
verifyElementNotPresent Modification
verifyElementNotPresent link=Approve
verifyElementNotPresent link=Reject
verifyTextNotPresent Select reviewers
clickAndWait link=Log out
type username jsmith
type password jsmith1
clickAndWait Submit
verifyTextPresent jsmith
clickAndWait link=Home
clickAndWait link=testNote1
clickAndWait link=Modification
verifyTextPresent Increment minor version
type //td[@class="fieldColumn"]/textarea desc testNote1 modified during a serial review again
click //input[@value="ACTION_INCREMENT_MINOR"]
clickAndWait //input[@value="Save"]
verifyTextPresent 1.4
verifyTextPresent desc testNote1 modified during a serial review again
clickAndWait link=Workflow
verifyTextPresent Select reviewers
type //div[@class="tabsContent"]/div/div[3]//form//textarea I still agree
clickAndWait link=Approve
verifyElementNotPresent link=Modification
verifyElementNotPresent link=Approve
verifyElementNotPresent link=Reject
verifyTextNotPresent Select reviewers
clickAndWait link=Log out
type username bree
type password bree1
clickAndWait Submit
verifyTextPresent bree
clickAndWait link=Home
clickAndWait link=testNote1
clickAndWait link=Modification
verifyTextPresent Increment minor version
type //td[@class="fieldColumn"]/textarea desc testNote1 modified during a serial review again and again
click //input[@value="ACTION_INCREMENT_MINOR"]
clickAndWait //input[@value="Save"]
verifyTextPresent 1.5
verifyTextPresent desc testNote1 modified during a serial review again and again
clickAndWait link=Workflow
verifyTextPresent Select reviewers
type //div[@class="tabsContent"]/div/div[3]//form//textarea allright, allright!
clickAndWait link=Approve
verifyElementNotPresent link=Modification
verifyTextPresent Project
verifyTextNotPresent workflow
clickAndWait link=Workflow
verifyTextNotPresent Select reviewers
verifyTextPresent No workflows are currently active on this document.
clickAndWait link=testFolder1
verifyTextNotPresent workflow
clickAndWait link=Log out