setTimeout |
120000 |
|
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium serialReviewAbandon |
|
open |
nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/testNote1@view_documents |
|
open |
logout |
|
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="workflowDocumentModificationNotAllowed"] |
|
clickAndWait |
//input[@value="Start"] |
|
verifyTextPresent |
Serial workflow |
|
verifyTextPresent |
Modification not allowed |
|
verifyElementPresent |
//input[@value="Start the workflow"] |
|
verifyElementNotPresent |
link=Modification |
|
verifyElementNotPresent |
link=Approve |
|
clickAndWait |
link=Summary |
|
verifyTextPresent |
Project |
|
verifyTextNotPresent |
Review |
|
clickAndWait |
link=Home |
|
verifyTextPresent |
workflow |
|
clickAndWait |
link=testNote1 |
|
clickAndWait |
link=Workflow |
|
type |
//div[@class="tabsContent"]/div/div[2]//div[@class="boxBody"]//td[@class="labelField"]//input |
bree |
submitAndWait |
//div[@class="tabsContent"]//form/ |
|
verifyTextPresent |
Bree Van de Kaamp |
|
click |
link=Add to selection |
|
waitForCondition |
var value = selenium.getText('//div[@class="tabsContent"]/div/div[2]//div[@class="boxBody"]//table[@class="rightsAddManager"]'); value.match(/Remove/); |
15000 |
select |
//table[@class="dataInput"]//tr[3]//select |
label=Diffusion |
type |
//div[@class="tabsContent"]/div/div[2]//div[@class="boxBody"]//table//textarea |
Serial comment for bree |
clickAndWait |
//input[@value="Add"] |
|
verifyTextPresent |
Serial comment for bree |
|
verifyElementNotPresent |
link=Approve |
|
verifyNotVisible |
//div[@class="tabsContent"]/div/div[2]//div[@class="boxBody"]//form |
|
click |
link=Select reviewers |
|
waitForVisible |
//div[@class="tabsContent"]/div/div[2]//div[@class="boxBody"]//form |
|
type |
//div[@class="tabsContent"]/div/div[2]//div[@class="boxBody"]//td[@class="labelField"]//input |
jsmith |
submitAndWait |
//div[@class="tabsContent"]//form/ |
|
verifyTextPresent |
John Smith |
|
click |
link=Add to selection |
|
waitForCondition |
var value = selenium.getText('//div[@class="tabsContent"]/div/div[2]//div[@class="boxBody"]//table[@class="rightsAddManager"]'); value.match(/Remove/); |
15000 |
select |
//table[@class="dataInput"]//tr[3]//select |
label=Check |
type |
//div[@class="tabsContent"]/div/div[2]//div[@class="boxBody"]//table//textarea |
Serial comment for jsmith |
clickAndWait |
//input[@value="Add"] |
|
verifyTextPresent |
Serial comment for jsmith |
|
type |
//div[@class="tabsContent"]//div[4]//form[2]//table[@class="dataInput"]//textarea |
serial_review_list |
clickAndWait |
//input[@value="Save the current workflow as a new participant list"] |
|
verifySelectedLabel |
//div[@class="tabsContent"]//div[4]//table[@class="dataInput"]//tr[1]//select |
serial_review_list |
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/testNote1@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
jsmith |
|
verifyElementNotPresent |
link=Modification |
|
verifyElementNotPresent |
//div[@id="lock_unlock_button"] |
|
clickAndWait |
link=Workflow |
|
verifyElementNotPresent |
//input[@value="Start the workflow"] |
|
clickAndWait |
link=Home |
|
verifyTextPresent |
Your dashboard is empty. |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/testNote1@view_documents |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
bree |
|
verifyElementNotPresent |
link=Modification |
|
verifyElementNotPresent |
//div[@id="lock_unlock_button"] |
|
clickAndWait |
link=Workflow |
|
verifyElementNotPresent |
//input[@value="Start the workflow"] |
|
clickAndWait |
link=Home |
|
verifyTextPresent |
Your dashboard is empty. |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testWorkspace1/testFolder1/testNote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
jdoe |
|
clickAndWait |
link=Workflow |
|
verifyElementNotPresent |
link=Approve |
|
clickAndWait |
//input[@value="Start the workflow"] |
|
type |
//div[@class="tabsContent"]/div/div[3]//form//textarea |
ok for me |
clickAndWait |
link=Approve |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementNotPresent |
link=Reject |
|
clickAndWait |
link=Summary |
|
verifyTextPresent |
Project |
|
verifyElementNotPresent |
link=Modification |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=Log out |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
jsmith |
|
clickAndWait |
link=Home |
|
verifyTextPresent |
Serial comment for jsmith |
|
clickAndWait |
link=testNote1 |
|
verifyElementNotPresent |
link=Modification |
|
clickAndWait |
link=Summary |
|
verifyElementNotPresent |
//div[@id="lock_unlock_button"] |
|
clickAndWait |
link=Workflow |
|
type |
//div[@class="tabsContent"]/div/div[3]//form//textarea |
ok for me |
clickAndWait |
link=Approve |
|
verifyElementNotPresent |
link=Reject |
|
verifyElementNotPresent |
link=Approve |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
bree |
|
clickAndWait |
link=Home |
|
verifyTextPresent |
Serial comment for bree |
|
clickAndWait |
link=testNote1 |
|
clickAndWait |
link=Summary |
|
verifyElementNotPresent |
link=Modification |
|
verifyElementNotPresent |
//div[@id="lock_unlock_button"] |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
jdoe |
|
clickAndWait |
link=Home |
|
clickAndWait |
link=testNote1 |
|
clickAndWait |
link=Workflow |
|
clickAndWait |
//input[@value="Abandon workflow"] |
|
verifyTextPresent |
Value is required |
|
type |
//div[@class="tabsContent"]//div[5]/form//textarea |
Abandoning serial workflow |
clickAndWait |
//input[@value="Abandon workflow"] |
|
verifyElementPresent |
link=Modification |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Home |
|
verifyTextPresent |
Your dashboard is empty |
|
clickAndWait |
link=testNote1 |
|
verifyTextPresent |
Project |
|
clickAndWait |
link=testFolder1 |
|
verifyTextNotPresent |
workflow |
|
clickAndWait |
link=Log out |
|