addCommentOnLockedDocument
setTimeout 30000
open restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium addCommentOnLockedDocument
open logout
open nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/Note%20to%20be%20modified@view_documents
type username jdoe
type password jdoe1
clickAndWait Submit
verifyTextPresent jdoe
verifyTextPresent Locked
clickAndWait link=Comments
verifyElementPresent link=Add a comment
clickAndWait link=Add a comment
type //textarea First comment on a locked document
clickAndWait //input[@value='Add']
verifyTextPresent First comment on a locked document
verifyElementPresent link=Delete
clickAndWait link=Log out
open nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/Note%20to%20be%20modified@view_documents
type username bree
type password bree1
clickAndWait Submit
verifyTextPresent bree
clickAndWait link=Comments
verifyTextPresent First comment on a locked document
clickAndWait link=Reply
type //textarea First answer on a locked document
clickAndWait //input[@value='Add']
verifyTextPresent First answer on a locked document
verifyElementPresent link=Delete
clickAndWait link=Add a comment
type //textarea Second comment on a locked document
clickAndWait //input[@value='Add']
verifyTextPresent Second comment on a locked document
clickAndWait link=Log out