open |
restAPI/systemLog?token=dolog&level=INFO&message=----- Selenium approbationReviewAbandon |
|
setTimeout |
120000 |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworkspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Workflow |
|
click |
//input[@id='startWorkflow:workflowDefinitionId:1'] |
|
click |
//input[@id='startWorkflow:lifeCycleDestinationStateTransition:3'] |
|
clickAndWait |
//input[@value='Start'] |
|
verifyTextPresent |
Approval workflow |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Approval workflow |
|
clickAndWait |
link=testNote1 |
|
typeKeys |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
bre |
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('addReviewers:nxl_add_workflow_task:nxw_actors_suggestionBox').style.display != 'none' |
10000 |
verifyText |
//*[@id='addReviewers:nxl_add_workflow_task:nxw_actors_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Bree Van de Kaamp |
click |
//*[@id='addReviewers:nxl_add_workflow_task:nxw_actors_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('addReviewers:nxl_add_workflow_task:nxw_actors_list:0:nxw_actors_listItem') != null |
10000 |
type |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('addReviewers:nxl_add_workflow_task:nxw_actors_suggestionBox').style.display == 'none' |
10000 |
select |
//select[@id='addReviewers:nxl_add_workflow_task:nxw_directive'] |
label=Diffusion |
type |
//textarea[@id='addReviewers:nxl_add_workflow_task:nxw_comment'] |
Approval comment for bree |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
Approval comment for bree |
|
verifyElementNotPresent |
link=Approve |
|
typeKeys |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
jsmith |
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('addReviewers:nxl_add_workflow_task:nxw_actors_suggestionBox').style.display != 'none' |
10000 |
verifyText |
//*[@id='addReviewers:nxl_add_workflow_task:nxw_actors_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
John Smith |
click |
//*[@id='addReviewers:nxl_add_workflow_task:nxw_actors_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('addReviewers:nxl_add_workflow_task:nxw_actors_list:0:nxw_actors_listItem') != null |
10000 |
type |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('addReviewers:nxl_add_workflow_task:nxw_actors_suggestionBox').style.display == 'none' |
10000 |
select |
//select[@id='addReviewers:nxl_add_workflow_task:nxw_directive'] |
label=Check |
type |
//textarea[@id='addReviewers:nxl_add_workflow_task:nxw_comment'] |
Approval comment for jsmith |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
Approval comment for jsmith |
|
verifyElementNotPresent |
link=Approve |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworkspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
verifyElementPresent |
//div[@id='lock_unlock_button'] |
|
clickAndWait |
link=Workflow |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty. There are no tasks that require your intervention. |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworkspace1/testfolder1/testnote1@view_documents |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as bree |
|
verifyElementNotPresent |
link=Edit |
|
verifyElementPresent |
//div[@id='lock_unlock_button'] |
|
clickAndWait |
link=Workflow |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty. There are no tasks that require your intervention. |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworkspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Workflow |
|
verifyElementNotPresent |
link=Approve |
|
clickAndWait |
//input[@value='Start the workflow'] |
|
type |
//textarea[@id="reviewTasksTable:taskActionComment"] |
ok for me |
clickAndWait |
link=Approve |
|
verifyElementPresent |
link=Approve |
|
verifyElementPresent |
link=Reject |
|
clickAndWait |
link=Summary |
|
verifyTextPresent |
Project |
|
verifyElementPresent |
link=Edit |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=Log out |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Approval comment for jsmith |
|
clickAndWait |
link=testNote1 |
|
verifyElementPresent |
link=Edit |
|
clickAndWait |
link=Summary |
|
verifyElementPresent |
//div[@id='lock_unlock_button'] |
|
clickAndWait |
link=Workflow |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Dashboard |
|
verifyTextNotPresent |
Approval comment for bree |
|
clickAndWait |
link=testNote1 |
|
clickAndWait |
link=Summary |
|
verifyElementNotPresent |
link=Edit |
|
verifyElementPresent |
//div[@id='lock_unlock_button'] |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
clickAndWait |
link=Workflow |
|
clickAndWait |
//input[@value='Abandon workflow'] |
|
verifyTextPresent |
Value is required |
|
type |
//textarea[@id='abandonProcess:userWorkflowComment'] |
Abandoning approval workflow |
clickAndWait |
//input[@value='Abandon workflow'] |
|
verifyElementPresent |
link=Edit |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty |
|
clickAndWait |
link=testNote1 |
|
clickAndWait |
link=Summary |
|
verifyTextPresent |
Project |
|
clickAndWait |
link=testFolder1 |
|
verifyTextNotPresent |
workflow |
|
clickAndWait |
link=Log out |
|