./parallelReviewAbandon.html
parallelReviewAbandon |
setTimeout |
120000 |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Workflow |
|
click |
//input[@id='startWorkflow:workflowDefinitionId:0'] |
|
click |
//input[@id='startWorkflow:lifeCycleDestinationStateTransition:3'] |
|
clickAndWait |
//input[@value='Start'] |
|
verifyTextPresent |
Parallel workflow |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
clickAndWait |
link=Summary |
|
verifyTextPresent |
Project |
|
clickAndWait |
link=Workflow |
|
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'] |
Parallel comment for jsmith |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
Parallel comment for jsmith |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementPresent |
//input[@value='Start the workflow'] |
|
type |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
|
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'] |
Parallel comment for bree |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
Parallel comment for bree |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementNotPresent |
link=Reject |
|
verifyTextPresent |
Select reviewers |
|
clickAndWait |
//input[@value='Start the workflow'] |
|
verifyElementPresent |
link=Approve |
|
verifyElementPresent |
link=Reject |
|
verifyTextNotPresent |
Select reviewers |
|
clickAndWait |
link=Summary |
|
verifyTextNotPresent |
Review |
|
verifyTextPresent |
Project |
|
clickAndWait |
link=testFolder1 |
|
verifyTextNotPresent |
Review |
|
clickAndWait |
link=Log out |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Parallel comment for jsmith |
|
clickAndWait |
link=testNote1 |
|
verifyElementPresent |
link=Edit |
|
clickAndWait |
link=Summary |
|
verifyElementPresent |
//div[@id='lock_unlock_button'] |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Parallel comment for bree |
|
clickAndWait |
link=testNote1 |
|
verifyElementNotPresent |
link=Edit |
|
clickAndWait |
link=Summary |
|
verifyElementPresent |
//div[@id='lock_unlock_button'] |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Parallel workflow |
|
clickAndWait |
link=testNote1 |
|
verifyElementPresent |
link=Edit |
|
clickAndWait |
link=Summary |
|
verifyElementPresent |
//div[@id='lock_unlock_button'] |
|
clickAndWait |
link=Workflow |
|
clickAndWait |
//input[@value='Abandon workflow'] |
|
verifyTextPresent |
Value is required |
|
type |
//textarea[@id='abandonProcess:userWorkflowComment'] |
Abandon of parallel review |
clickAndWait |
//input[@value='Abandon workflow'] |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Dashboard |
|
verifyTextNotPresent |
Parallel workflow |
|
verifyTextPresent |
Your dashboard is empty. |
|
clickAndWait |
link=Log out |
|
|
|
./taskLists.html
Test task lists |
setTimeout |
120000 |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Workflow |
|
click |
//input[@id='startWorkflow:workflowDefinitionId:0'] |
|
click |
//input[@id='startWorkflow:lifeCycleDestinationStateTransition:3'] |
|
clickAndWait |
//input[@value='Start'] |
|
verifyTextPresent |
Parallel workflow |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
clickAndWait |
link=Summary |
|
verifyTextPresent |
Project |
|
clickAndWait |
link=Workflow |
|
clickAndWait |
//input[@value='Delete'] |
|
verifyTextPresent |
Please select a list |
|
clickAndWait |
//input[@value='Load'] |
|
verifyTextPresent |
Please select a list |
|
type |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
|
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'] |
Parallel comment for jsmith |
clickAndWait |
//input[@value='Add'] |
|
type |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
|
typeKeys |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
bree |
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] |
|
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 |
typeKeys |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
linnet |
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] |
Linnet Scavo |
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'] |
Parallel comment for bree and linnet |
clickAndWait |
//input[@value='Add'] |
|
type |
//input[@id='reviewTasksTable:listName'] |
list1 |
clickAndWait |
//input[@value='Save the list'] |
|
verifyTextPresent |
List saved |
|
clickAndWait |
//input[@value='Save the list'] |
|
verifyTextPresent |
Please choose a name |
|
type |
//textarea[@id="abandonProcess:userWorkflowComment" ] |
foo |
clickAndWait |
//input[@value="Abandon workflow"] |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Workflow |
|
click |
//input[@id='startWorkflow:workflowDefinitionId:0'] |
|
click |
//input[@id='startWorkflow:lifeCycleDestinationStateTransition:3'] |
|
clickAndWait |
//input[@value='Start'] |
|
verifyTextPresent |
Parallel workflow |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
select |
//select[@id='loadTaskList:selectedList'] |
label=list1 |
clickAndWait |
//input[@value='Load'] |
|
verifyTextPresent |
John Smith |
|
verifyTextPresent |
Parallel comment for jsmith |
|
verifyTextPresent |
Bree Van de Kaamp |
|
verifyTextPresent |
Linnet Scavo |
|
verifyTextPresent |
Parallel comment for bree and linnet |
|
select |
//select[@id='loadTaskList:selectedList'] |
label=list1 |
clickAndWait |
//input[@value='Delete'] |
|
type |
//textarea[@id="abandonProcess:userWorkflowComment" ] |
foo |
clickAndWait |
//input[@value="Abandon workflow"] |
|
open |
logout |
|
|
|
./taskOnDeletedDocument.html
taskOnDeletedDocument |
setTimeout |
120000 |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Workflow |
|
click |
//input[@id='startWorkflow:workflowDefinitionId:0'] |
|
click |
//input[@id='startWorkflow:lifeCycleDestinationStateTransition:3'] |
|
clickAndWait |
//input[@value='Start'] |
|
verifyTextPresent |
Parallel workflow |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
clickAndWait |
link=Summary |
|
verifyTextPresent |
Project |
|
clickAndWait |
link=Workflow |
|
type |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
|
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'] |
Parallel comment for jsmith |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
Parallel comment for jsmith |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementPresent |
//input[@value='Start the workflow'] |
|
clickAndWait |
//input[@value='Start the workflow'] |
|
verifyElementPresent |
link=Approve |
|
verifyElementPresent |
link=Reject |
|
verifyTextNotPresent |
Select reviewers |
|
clickAndWait |
link=Summary |
|
verifyTextNotPresent |
Review |
|
verifyTextPresent |
Project |
|
clickAndWait |
link=testFolder1 |
|
verifyTextNotPresent |
Review |
|
clickAndWait |
link=Log out |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Parallel comment for jsmith |
|
clickAndWait |
link=testNote1 |
|
verifyElementPresent |
link=Edit |
|
clickAndWait |
link=Summary |
|
verifyElementPresent |
//div[@id='lock_unlock_button'] |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Parallel workflow |
|
clickAndWait |
link=testNote1 |
|
verifyElementPresent |
link=Edit |
|
clickAndWait |
link=Summary |
|
verifyElementPresent |
//div[@id='lock_unlock_button'] |
|
clickAndWait |
link=testFolder1 |
|
click |
//input[@id="CHILDREN_DOCUMENT_LIST:nxl_document_listing_1:nxw_listing_selection_box_with_current_document_1"] |
|
waitForEditable |
//input[@value="Delete"] |
|
clickAndWait |
//input[@value="Delete"] |
|
assertConfirmation |
Delete selected document(s)? |
|
verifyTextNotPresent |
testNote1 |
|
clickAndWait |
link=Dashboard |
|
assertTextPresent |
testNote1 |
|
watchA4jRequests |
|
|
click |
dashboardDocumentProcessTable:refreshButton |
|
waitForA4jRequest |
3000 |
|
refreshAndWait |
|
|
assertTextNotPresent |
testNote1 |
|
clickAndWait |
link=Log out |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Dashboard |
|
assertTextPresent |
Your dashboard is empty. There are no tasks that require your intervention. |
|
clickAndWait |
link=Log out |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as Administrator |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Trash |
|
click |
//input[@id="CHILDREN_DOCUMENT_LIST:nxl_document_listing:nxw_listing_selection_box_with_current_document"] |
|
verifyChecked |
//input[@id="CHILDREN_DOCUMENT_LIST:nxl_document_listing:nxw_listing_selection_box_with_current_document"] |
|
waitForEditable |
//span[@id="CURRENT_SELECTION_UNDELETE"]/input |
12000 |
clickAndWait |
//input[@value="Restore"] |
|
assertConfirmation |
Undelete selected document(s)? |
|
verifyTextPresent |
1 Document(s) restored |
|
clickAndWait |
link=Log out |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Dashboard |
|
assertTextPresent |
testNote1 |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Dashboard |
|
assertTextPresent |
testNote1 |
|
clickAndWait |
link=testNote1 |
|
type |
//textarea[@id="abandonProcess:userWorkflowComment" ] |
foo |
clickAndWait |
//input[@value="Abandon workflow"] |
|
clickAndWait |
link=Log out |
|
|
|
./parallelReviewNoAddReviewers.html
parallelReviewNoAddReviewers |
setTimeout |
120000 |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Workflow |
|
clickAndWait |
link=Workflow |
|
click |
//input[@id='startWorkflow:workflowDefinitionId:0'] |
|
click |
//input[@id='startWorkflow:lifeCycleDestinationStateTransition:3'] |
|
clickAndWait |
//input[@value='Start'] |
|
verifyTextPresent |
Parallel workflow |
|
verifyElementPresent |
link=Edit |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
clickAndWait |
link=Summary |
|
verifyTextPresent |
Project |
|
verifyElementPresent |
//div[@id='lock_unlock_button'] |
|
clickAndWait |
link=Workflow |
|
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Value is required |
|
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'] |
Parallel comment for jsmith |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
Parallel comment for jsmith |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementPresent |
//input[@value='Start the workflow'] |
|
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'] |
Parallel comment for bree |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
Parallel comment for bree |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementNotPresent |
link=Reject |
|
verifyTextPresent |
Select reviewers |
|
verifyElementPresent |
//input[@value='Start the workflow'] |
|
clickAndWait |
link=Summary |
|
verifyTextNotPresent |
Review |
|
verifyTextPresent |
Project |
|
clickAndWait |
link=testFolder1 |
|
verifyTextNotPresent |
Review |
|
clickAndWait |
link=Log out |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Dashboard |
|
verifyTextNotPresent |
Parallel comment for jsmith |
|
clickAndWait |
link=testNote1 |
|
clickAndWait |
link=Workflow |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
verifyTextNotPresent |
Select reviewers |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Dashboard |
|
verifyTextNotPresent |
Parallel comment for bree |
|
clickAndWait |
link=testNote1 |
|
clickAndWait |
link=Workflow |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
verifyTextNotPresent |
Select reviewers |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Parallel workflow |
|
clickAndWait |
link=testNote1 |
|
clickAndWait |
link=Workflow |
|
clickAndWait |
//input[@value='Abandon workflow'] |
|
verifyTextPresent |
Value is required |
|
type |
//textarea[@id='abandonProcess:userWorkflowComment'] |
Abandon of parallel review |
clickAndWait |
//input[@value='Abandon workflow'] |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Dashboard |
|
verifyTextNotPresent |
Parallel workflow |
|
verifyTextPresent |
Your dashboard is empty. |
|
clickAndWait |
link=Log out |
|
|
|
./parallelReviewNotOK.html
parallelReviewNotOK |
setTimeout |
120000 |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Workflow |
|
click |
//input[@id='startWorkflow:workflowDefinitionId:0'] |
|
click |
//input[@id='startWorkflow:lifeCycleDestinationStateTransition:0'] |
|
clickAndWait |
//input[@value='Start'] |
|
verifyTextPresent |
Parallel workflow |
|
verifyElementPresent |
link=Edit |
|
clickAndWait |
link=Workflow |
|
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'] |
Parallel comment for jsmith |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
Parallel comment for jsmith |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementPresent |
//input[@value='Start the workflow'] |
|
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'] |
Parallel comment for bree |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
Parallel comment for bree |
|
verifyElementPresent |
//a[@id='reviewTasksTable:removeParticipant_0'] |
|
verifyElementPresent |
//a[@id='reviewTasksTable:removeParticipant_1'] |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementNotPresent |
link=Reject |
|
clickAndWait |
//input[@value='Start the workflow'] |
|
verifyElementPresent |
link=Approve |
|
verifyElementPresent |
link=Reject |
|
verifyElementNotPresent |
//a[@id='reviewTasksTable:removeParticipant_0'] |
|
verifyElementNotPresent |
//a[@id='reviewTasksTable:removeParticipant_1'] |
|
clickAndWait |
link=Log out |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
type |
//textarea[@id="reviewTasksTable:taskActionComment"] |
ok pour moi |
clickAndWait |
link=Approve |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
type |
//textarea[@id="reviewTasksTable:taskActionComment"] |
ok pour moi aussi |
clickAndWait |
link=Reject |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
verifyTextPresent |
Project |
|
verifyTextNotPresent |
Approved |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Log out |
|
|
|
./parallelReviewOK.html
parallelReviewOK |
setTimeout |
120000 |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Workflow |
|
click |
//input[@id='startWorkflow:workflowDefinitionId:0'] |
|
click |
//input[@id='startWorkflow:lifeCycleDestinationStateTransition:0'] |
|
clickAndWait |
//input[@value='Start'] |
|
verifyTextPresent |
Parallel workflow |
|
verifyElementPresent |
link=Edit |
|
clickAndWait |
link=Workflow |
|
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'] |
Parallel comment for jsmith |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
Parallel comment for jsmith |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementPresent |
//input[@value='Start the workflow'] |
|
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'] |
Parallel comment for bree |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
Parallel comment for bree |
|
verifyElementPresent |
//a[@id='reviewTasksTable:removeParticipant_0'] |
|
verifyElementPresent |
//a[@id='reviewTasksTable:removeParticipant_1'] |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementNotPresent |
link=Reject |
|
clickAndWait |
//input[@value='Start the workflow'] |
|
verifyElementPresent |
link=Approve |
|
verifyElementPresent |
link=Reject |
|
verifyElementNotPresent |
//a[@id='reviewTasksTable:removeParticipant_0'] |
|
verifyElementNotPresent |
//a[@id='reviewTasksTable:removeParticipant_1'] |
|
clickAndWait |
link=Log out |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
type |
//textarea[@id="reviewTasksTable:taskActionComment"] |
ok pour moi |
clickAndWait |
link=Approve |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
type |
//textarea[@id="reviewTasksTable:taskActionComment"] |
ok pour moi aussi |
clickAndWait |
link=Approve |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
verifyTextNotPresent |
Project |
|
verifyTextPresent |
Approved |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Log out |
|
|
|
./approbationReviewAfterParallel.html
approbationReviewAfterParallel |
setTimeout |
120000 |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
verifyTextPresent |
Approved |
|
clickAndWait |
link=Workflow |
|
click |
//input[@id='startWorkflow:workflowDefinitionId:1'] |
|
click |
//input[@id='startWorkflow:lifeCycleDestinationStateTransition:1'] |
|
clickAndWait |
//input[@value='Start'] |
|
verifyTextPresent |
Approval workflow |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
typeKeys |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
jdoe |
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 Doe |
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 |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
clickAndWait |
//input[@value='Start the workflow'] |
|
clickAndWait |
link=Approve |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=testNote1 |
|
verifyTextPresent |
Project |
|
clickAndWait |
link=Log out |
|
|
|
./approbationReviewAbandon.html
approbationReviewAbandon |
setTimeout |
120000 |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
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/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
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/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
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/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
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 |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
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 |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
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 |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
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 |
|
|
|
./approbationReviewAddReviewers.html
approbationReviewAddReviewers |
setTimeout |
120000 |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Workflow |
|
click |
//input[@id='startWorkflow:workflowDefinitionId:1'] |
|
click |
//input[@id='startWorkflow:lifeCycleDestinationStateTransition:0'] |
|
clickAndWait |
//input[@value='Start'] |
|
verifyTextPresent |
Approval workflow |
|
verifyElementPresent |
link=Edit |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
clickAndWait |
link=Summary |
|
verifyTextPresent |
Project |
|
verifyTextNotPresent |
Review |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
verifyElementPresent |
link=Edit |
|
clickAndWait |
link=Summary |
|
verifyElementPresent |
//div[@id='lock_unlock_button'] |
|
clickAndWait |
link=Workflow |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
clickAndWait |
link=Log out |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Dashboard |
|
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=Verification |
type |
//textarea[@id='addReviewers:nxl_add_workflow_task:nxw_comment'] |
Approval comment for bree #2 |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
Approval comment for bree #2 |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementPresent |
//input[@value='Start the workflow'] |
|
verifyElementPresent |
//a[@id='reviewTasksTable:removeParticipant_0'] |
|
clickAndWait |
//input[@value='Start the workflow'] |
|
verifyElementPresent |
link=Approve |
|
verifyElementPresent |
link=Reject |
|
verifyTextPresent |
Select reviewers |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
verifyTextPresent |
Select reviewers |
|
verifyTextNotPresent |
Abandon workflow |
|
typeKeys |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
lbramard |
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] |
Lucien Bramard |
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=Verification |
type |
//textarea[@id='addReviewers:nxl_add_workflow_task:nxw_comment'] |
First approval comment for lbramard |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
First approval comment for lbramard |
|
verifyElementPresent |
link=Approve |
|
verifyElementPresent |
//a[@id='reviewTasksTable:removeParticipant_0'] |
|
clickAndWait |
link=Approve |
|
verifyElementNotPresent |
link=Reject |
|
verifyElementNotPresent |
link=Approve |
|
verifyTextNotPresent |
Select reviewers |
|
clickAndWait |
link=Log out |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as lbramard |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
verifyTextPresent |
Select reviewers |
|
verifyTextNotPresent |
Abandon workflow |
|
typeKeys |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
jdoe |
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 Doe |
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=Verification |
type |
//textarea[@id='addReviewers:nxl_add_workflow_task:nxw_comment'] |
Approval comment for jdoe #2 |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
Approval comment for jdoe #2 |
|
verifyElementPresent |
//a[@id='reviewTasksTable:removeParticipant_0'] |
|
clickAndWait |
link=Approve |
|
verifyElementNotPresent |
link=Reject |
|
verifyElementNotPresent |
link=Approve |
|
verifyTextNotPresent |
Select reviewers |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
verifyTextPresent |
Select reviewers |
|
verifyTextNotPresent |
Abandon workflow |
|
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=Verification |
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 |
|
clickAndWait |
//a[@id='reviewTasksTable:removeParticipant_0']/img |
|
verifyTextNotPresent |
Approval comment for jsmith |
|
assertConfirmation |
Delete the task? |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Workflow |
|
type |
//textarea[@id='abandonProcess:userWorkflowComment'] |
Abandon approval review #2 |
clickAndWait |
//input[@value='Abandon workflow'] |
|
verifyElementPresent |
link=Edit |
|
clickAndWait |
link=Summary |
|
verifyElementPresent |
//div[@id='lock_unlock_button'] |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty |
|
clickAndWait |
link=testNote1 |
|
verifyTextPresent |
Project |
|
clickAndWait |
link=testFolder1 |
|
verifyTextNotPresent |
Review |
|
clickAndWait |
link=Log out |
|
|
|
./approbationReviewNoAddReviewers.html
approbationReviewNoAddReviewers |
setTimeout |
120000 |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Workflow |
|
click |
//input[@id='startWorkflow:workflowDefinitionId:1'] |
|
click |
//input[@id='startWorkflow:lifeCycleDestinationStateTransition:0'] |
|
clickAndWait |
//input[@value='Start'] |
|
verifyTextPresent |
Approval workflow |
|
verifyElementPresent |
link=Edit |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementNotPresent |
link=Reject |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
clickAndWait |
link=Summary |
|
verifyTextNotPresent |
workflow |
|
verifyTextPresent |
Project |
|
clickAndWait |
link=Workflow |
|
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=Verification |
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 |
|
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Value is required |
|
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 |
typeKeys |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
|
typeKeys |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
lbramard |
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] |
Lucien Bramard |
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 |
pause |
3000 |
|
typeKeys |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
jdoe |
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 Doe |
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 |
type |
//textarea[@id='addReviewers:nxl_add_workflow_task:nxw_comment'] |
Comment for the three new reviewers |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
Comment for the three new reviewers |
|
verifyElementPresent |
//a[@id='reviewTasksTable:removeParticipant_0'] |
|
clickAndWait |
//input[@value='Start the workflow'] |
|
verifyElementPresent |
link=Approve |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty |
|
clickAndWait |
link=testNote1 |
|
clickAndWait |
link=Workflow |
|
verifyTextNotPresent |
Select reviewers |
|
verifyTextNotPresent |
Participants management |
|
verifyTextNotPresent |
Abandon workflow |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty |
|
clickAndWait |
link=testNote1 |
|
clickAndWait |
link=Workflow |
|
verifyTextNotPresent |
Select reviewers |
|
verifyTextNotPresent |
Participants management |
|
verifyTextNotPresent |
Abandon workflow |
|
clickAndWait |
link=Log out |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as lbramard |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty |
|
clickAndWait |
link=testNote1 |
|
clickAndWait |
link=Workflow |
|
verifyTextNotPresent |
Select reviewers |
|
verifyTextNotPresent |
Participants management |
|
verifyTextNotPresent |
Abandon workflow |
|
clickAndWait |
link=Log out |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
clickAndWait |
//a[@id='reviewTasksTable:removeParticipant_0']/img |
|
assertConfirmation |
Delete the task? |
|
verifyTextNotPresent |
bramard |
|
type |
//textarea[@id='abandonProcess:userWorkflowComment'] |
Abandoning approbation review for the third time |
clickAndWait |
//input[@value='Abandon workflow'] |
|
verifyElementPresent |
link=Edit |
|
clickAndWait |
link=Summary |
|
verifyElementPresent |
//div[@id='lock_unlock_button'] |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty |
|
clickAndWait |
link=testNote1 |
|
verifyTextPresent |
Project |
|
clickAndWait |
link=testFolder1 |
|
verifyTextNotPresent |
workflow |
|
clickAndWait |
link=Log out |
|
|
|
./approbationReviewOK.html
approbationReviewOK |
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Workflow |
|
click |
//input[@id='startWorkflow:workflowDefinitionId:1'] |
|
click |
//input[@id='startWorkflow:lifeCycleDestinationStateTransition:0'] |
|
clickAndWait |
//input[@value='Start'] |
|
verifyTextPresent |
Approval workflow |
|
verifyElementPresent |
link=Edit |
|
verifyElementNotPresent |
//input[@value='Start the workflow'] |
|
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 |
|
typeKeys |
//input[@name='addReviewers:nxl_add_workflow_task:nxw_actors_suggest'] |
jdoe |
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 Doe |
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 jdoe |
clickAndWait |
//input[@value='Add'] |
|
verifyTextPresent |
Selected participant(s) successfully added to the workflow |
|
verifyTextPresent |
Approval comment for jdoe |
|
verifyElementNotPresent |
link=Approve |
|
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 |
|
verifyElementNotPresent |
link=Reject |
|
verifyElementPresent |
//input[@value='Start the workflow'] |
|
clickAndWait |
//input[@value='Start the workflow'] |
|
verifyElementPresent |
link=Approve |
|
verifyElementPresent |
link=Reject |
|
verifyElementPresent |
//a[@id='reviewTasksTable:removeParticipant_0'] |
|
type |
//textarea[@id="reviewTasksTable:taskActionComment"] |
Ok for me |
clickAndWait |
link=Approve |
|
verifyElementPresent |
link=Approve |
|
verifyElementPresent |
link=Reject |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
clickAndWait |
link=Approve |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementNotPresent |
link=Reject |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
type |
//textarea[@id="reviewTasksTable:taskActionComment"] |
not ok from bree |
verifyElementPresent |
link=Reject |
|
clickAndWait |
link=Reject |
|
verifyTextNotPresent |
Select reviewers |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementNotPresent |
link=Reject |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
verifyElementPresent |
link=Approve |
|
verifyElementNotPresent |
link=Reject |
|
clickAndWait |
link=Approve |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testNote1 |
|
verifyTextNotPresent |
Project |
|
verifyTextPresent |
Approved |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
No workflows are currently active for this document. You don't have the rights to start a workflow. |
|
clickAndWait |
link=History |
|
assertTextPresent |
not ok from bree |
|
assertTextPresent |
Workflow task rejected |
|
assertTextPresent |
Workflow task completed |
|
clickAndWait |
link=Log out |
|
|
|
./createWSToDelete.html
createWSToDelete |
open |
logout |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
mouseDown |
link=New document |
|
clickAndWait |
link=Workspace |
|
type |
//td[@class="fieldColumn"]/input[@type="text"] |
a WS to be deleted 1 |
type |
//td[@class="fieldColumn"]/textarea |
desc WS to be deleted |
clickAndWait |
//input[@value='Create'] |
|
verifyTextPresent |
a WS to be deleted 1 |
|
verifyTextPresent |
This folder contains no document. |
|
mouseDown |
link=New document |
|
clickAndWait |
link=Note |
|
type |
//table[@class="dataInput"]/tbody/tr//td[2]/input |
Note to be deleted |
clickAndWait |
//input[@value='Create'] |
|
verifyTextPresent |
Project |
|
verifyTextPresent |
1.0 |
|
clickAndWait |
link=testWorskspace1 |
|
mouseDown |
link=New document |
|
clickAndWait |
link=Workspace |
|
type |
//td[@class="fieldColumn"]/input[@type="text"] |
a WS to be deleted 2 |
type |
//td[@class="fieldColumn"]/textarea |
desc WS to be deleted 2 |
clickAndWait |
//input[@value='Create'] |
|
verifyTextPresent |
a WS to be deleted 2 |
|
verifyTextPresent |
This folder contains no document. |
|
mouseDown |
link=New document |
|
clickAndWait |
link=Note |
|
type |
//table[@class="dataInput"]/tbody/tr//td[2]/input |
Note2 to be deleted |
clickAndWait |
//input[@value='Create'] |
|
verifyTextPresent |
Project |
|
verifyTextPresent |
1.0 |
|
clickAndWait |
link=Log out |
|
|
|
./deleteWorkspace.html
deleteWorkspace |
open |
logout |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=a WS to be deleted 1 |
|
click |
//input[@id="CHILDREN_DOCUMENT_LIST:nxl_document_listing:nxw_listing_selection_box_with_current_document"] |
|
waitForEditable |
//span[@id="CURRENT_SELECTION_TRASH"]/input |
12000 |
verifyEditable |
//span[@id="CURRENT_SELECTION_TRASH"]/input |
|
verifyEditable |
//span[@id="CURRENT_SELECTION_ADDTOLIST"]/input |
|
clickAndWait |
link=testWorskspace1 |
|
click |
//input[@id="CHILDREN_DOCUMENT_LIST:nxl_document_listing:nxw_listing_selection_box_with_current_document"] |
|
waitForEditable |
//span[@id="CURRENT_SELECTION_TRASH"]/input |
12000 |
verifyChecked |
//input[@id="CHILDREN_DOCUMENT_LIST:nxl_document_listing:nxw_listing_selection_box_with_current_document"] |
|
clickAndWait |
link=Content |
|
chooseCancelOnNextConfirmation |
|
|
click |
//input[@value="Delete"] |
|
assertConfirmation |
Delete selected document(s)? |
|
clickAndWait |
//input[@value="Delete"] |
|
assertConfirmation |
Delete selected document(s)? |
|
verifyTextNotPresent |
a WS to be deleted 1 |
|
clickAndWait |
link=Log out |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as Administrator |
|
clickAndWait |
link=Workspaces |
|
click |
//input[@id="CHILDREN_DOCUMENT_LIST:nxl_document_listing:nxw_listing_selection_box_with_current_document"] |
|
waitForEditable |
//span[@id="CURRENT_SELECTION_TRASH"]/input |
12000 |
verifyEditable |
//span[@id="CURRENT_SELECTION_TRASH"]/input |
|
verifyEditable |
//span[@id="CURRENT_SELECTION_ADDTOLIST"]/input |
|
clickAndWait |
link=testWorskspace1 |
|
click |
//input[@id="CHILDREN_DOCUMENT_LIST:nxl_document_listing:nxw_listing_selection_box_with_current_document"] |
|
waitForEditable |
//span[@id="CURRENT_SELECTION_TRASH"]/input |
12000 |
chooseCancelOnNextConfirmation |
|
|
click |
//input[@value="Delete"] |
|
assertConfirmation |
Delete selected document(s)? |
|
verifyElementPresent |
link=a WS to be deleted 2 |
|
clickAndWait |
//input[@value="Delete"] |
|
assertConfirmation |
Delete selected document(s)? |
|
verifyTextNotPresent |
a WS to be deleted 2 |
|
clickAndWait |
link=Log out |
|
|
|
./verifyDeletedDocumentContent.html
verifyDeletedDocumentContent |
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as Administrator |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
assertText |
//form[@id="CHILDREN_DOCUMENT_LIST"]//table/tbody/tr[1]/td[3]//a |
testFolder1 |
click |
//form[@id="CHILDREN_DOCUMENT_LIST"]//table/tbody/tr[1]/td[1]//input |
|
verifyChecked |
//form[@id="CHILDREN_DOCUMENT_LIST"]//table/tbody/tr[1]/td[1]//input |
|
waitForEditable |
//span[@id="CURRENT_SELECTION_TRASH"]/input |
12000 |
verifyEditable |
//span[@id="CURRENT_SELECTION_TRASH"]/input |
|
verifyEditable |
//span[@id="CURRENT_SELECTION_ADDTOLIST"]/input |
|
clickAndWait |
//input[@value="Delete"] |
|
assertConfirmation |
Delete selected document(s)? |
|
verifyTextNotPresent |
testFolder1 |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Trash |
|
verifyTextPresent |
testFolder1 |
|
clickAndWait |
link=testFolder1 |
|
verifyTextPresent |
Note to be modified |
|
verifyTextPresent |
testNote1 |
|
verifyTextNotPresent |
New Document |
|
verifyTextNotPresent |
Import a file |
|
assertText |
//form[@id="CHILDREN_DOCUMENT_LIST"]//table/tbody/tr[1]/td[3]//a |
Note to be modified |
click |
//form[@id="CHILDREN_DOCUMENT_LIST"]//table/tbody/tr[1]/td[1]//input |
|
verifyChecked |
//form[@id="CHILDREN_DOCUMENT_LIST"]//table/tbody/tr[1]/td[1]//input |
|
waitForEditable |
//span[@id="CURRENT_SELECTION_DELETE"]/input |
12000 |
waitForEditable |
//span[@id="CURRENT_SELECTION_UNDELETE"]/input |
12000 |
clickAndWait |
//input[@value="Restore"] |
|
assertConfirmation |
Undelete selected document(s)? |
|
verifyTextPresent |
1 Document(s) restored |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
verifyTextPresent |
Note to be modified |
|
verifyTextPresent |
testNote1 |
|
clickAndWait |
link=Log out |
|
|
|
./searchUsers.html
rechercherUtilisateur |
open |
logout |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Users & groups |
|
clickAndWait |
//input[@id="searchForm:clearButton"] |
|
type |
//input[@id="searchForm:searchText"] |
j |
clickAndWait |
//input[@id="searchForm:searchButton"] |
|
verifyElementPresent |
link=jdoe |
|
verifyTextPresent |
John |
|
verifyTextPresent |
Doe |
|
verifyElementPresent |
link=jsmith |
|
verifyTextPresent |
Smith |
|
clickAndWait |
//input[@id="searchForm:clearButton"] |
|
type |
//input[@id="searchForm:searchText"] |
thing |
clickAndWait |
//input[@id="searchForm:searchButton"] |
|
verifyTextPresent |
No user matching the entered criteria |
|
clickAndWait |
link=Log out |
|
|
|
./searchGroup.html
searchGroup |
open |
logout |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as lbramard |
|
clickAndWait |
link=Users & groups |
|
clickAndWait |
link=Groups |
|
clickAndWait |
//input[@id="searchForm:clearButton"] |
|
type |
//input[@id="searchForm:searchText"] |
j |
clickAndWait |
//input[@id="searchForm:searchButton"] |
|
verifyElementPresent |
link=Johns |
|
clickAndWait |
//input[@id="searchForm:clearButton"] |
|
type |
//input[@id="searchForm:searchText"] |
thing |
clickAndWait |
//input[@id="searchForm:searchButton"] |
|
verifyTextPresent |
No group matching the entered criteria |
|
clickAndWait |
link=Log out |
|
|
|
./lockDocument.html
lockDocument |
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Lock |
|
verifyTextPresent |
locked |
|
verifyTextPresent |
the |
|
verifyElementPresent |
link=Unlock |
|
verifyElementPresent |
//div[@id="lock_unlock_button"] |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Relations |
|
verifyElementPresent |
link=Add a new relation |
|
clickAndWait |
link=Comments |
|
verifyElementPresent |
link=Add a comment |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
verifyTextPresent |
locked |
|
verifyTextPresent |
the |
|
verifyElementPresent |
//div[@id="lock_unlock_button"] |
|
verifyElementPresent |
link=Unlock |
|
clickAndWait |
link=Workflow |
|
verifyTextNotPresent |
Start a workflow |
|
clickAndWait |
link=Relations |
|
verifyElementNotPresent |
link=Add a new relation |
|
clickAndWait |
link=Comments |
|
verifyElementPresent |
link=Add a comment |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as linnet |
|
verifyElementPresent |
//div[@id="lock_unlock_button"] |
|
clickAndWait |
link=Workflow |
|
verifyTextNotPresent |
Start a workflow |
|
clickAndWait |
link=Relations |
|
verifyElementNotPresent |
link=Add a new relation |
|
clickAndWait |
link=Comments |
|
verifyElementPresent |
link=Add a comment |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as bree |
|
verifyElementPresent |
//div[@id="lock_unlock_button"] |
|
clickAndWait |
link=Workflow |
|
verifyTextNotPresent |
Start a workflow |
|
clickAndWait |
link=Relations |
|
verifyElementNotPresent |
link=Add a new relation |
|
clickAndWait |
link=Comments |
|
verifyElementPresent |
link=Add a comment |
|
clickAndWait |
link=Log out |
|
|
|
./addCommentOnLockedDocument.html
addCommentOnLockedDocument |
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as 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/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as 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 |
|
|
|
./unlockDocumentByLocker.html
unlockDocumentByLocker |
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
verifyElementPresent |
link=Unlock |
|
clickAndWait |
link=Unlock |
|
verifyElementPresent |
link=Lock |
|
clickAndWait |
link=Summary |
|
verifyElementPresent |
//div[@id="lock_unlock_button"] |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Relations |
|
verifyElementPresent |
link=Add a new relation |
|
clickAndWait |
link=Comments |
|
verifyElementPresent |
link=Add a comment |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
verifyElementPresent |
//div[@id="lock_unlock_button"] |
|
verifyElementPresent |
link=Lock |
|
verifyTextNotPresent |
This document is locked |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Relations |
|
verifyElementPresent |
link=Add a new relation |
|
clickAndWait |
link=Comments |
|
verifyElementPresent |
link=Add a comment |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as linnet |
|
verifyElementPresent |
//div[@id="lock_unlock_button"] |
|
verifyTextNotPresent |
This document is locked |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Relations |
|
verifyElementPresent |
link=Add a new relation |
|
clickAndWait |
link=Comments |
|
verifyElementPresent |
link=Add a comment |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as bree |
|
verifyElementPresent |
//div[@id="lock_unlock_button"] |
|
verifyTextNotPresent |
This document is locked |
|
clickAndWait |
link=Workflow |
|
verifyTextNotPresent |
Start a workflow |
|
clickAndWait |
link=Relations |
|
verifyElementNotPresent |
link=Add a new relation |
|
clickAndWait |
link=Comments |
|
verifyElementPresent |
link=Add a comment |
|
clickAndWait |
link=Log out |
|
|
|
./unlockDocumentByWSManager.html
unlockDocumentByWSManager |
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Lock |
|
verifyTextPresent |
This document is locked |
|
verifyElementPresent |
link=Unlock |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Relations |
|
verifyElementPresent |
link=Add a new relation |
|
clickAndWait |
link=Comments |
|
verifyElementPresent |
link=Add a comment |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
verifyElementPresent |
link=Unlock |
|
clickAndWait |
link=Unlock |
|
verifyTextNotPresent |
This document is locked |
|
verifyElementPresent |
link=Lock |
|
clickAndWait |
link=Summary |
|
verifyElementPresent |
link=Lock |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Relations |
|
verifyElementPresent |
link=Add a new relation |
|
clickAndWait |
link=Comments |
|
verifyElementPresent |
link=Add a comment |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
verifyElementPresent |
link=Edit |
|
verifyElementPresent |
link=Lock |
|
verifyTextNotPresent |
This document is locked |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Relations |
|
verifyElementPresent |
link=Add a new relation |
|
clickAndWait |
link=Comments |
|
verifyElementPresent |
link=Add a comment |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as linnet |
|
verifyElementPresent |
link=Lock |
|
verifyTextNotPresent |
This document is locked |
|
clickAndWait |
link=Workflow |
|
verifyTextPresent |
Start a workflow |
|
clickAndWait |
link=Relations |
|
verifyElementNotPresent |
link=Add a relation |
|
clickAndWait |
link=Comments |
|
verifyElementPresent |
link=Add a comment |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/testnote1@view_documents |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as bree |
|
verifyElementNotPresent |
link=Edit |
|
verifyElementNotPresent |
link=Unlock |
|
verifyTextNotPresent |
This document is locked |
|
clickAndWait |
link=Workflow |
|
verifyTextNotPresent |
Start a workflow |
|
clickAndWait |
link=Relations |
|
verifyElementNotPresent |
link=Add a new relation |
|
clickAndWait |
link=Comments |
|
verifyElementPresent |
link=Add a comment |
|
clickAndWait |
link=Log out |
|
|
|
./blockRights.html
blockRights |
setTimeout |
120000 |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1@view_documents |
|
open |
logout |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Access rights |
|
clickAndWait |
//form[@id="block_inherit"]/input[@type="checkbox"] |
|
verifyChecked |
//form[@id="block_inherit"]/input[@type="checkbox"] |
|
verifyTextNotPresent |
No local right |
|
verifyTextPresent |
administrators |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1@view_documents |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as bree |
|
verifyTextNotPresent |
link=testFolder1 |
|
clickAndWait |
link=Dashboard |
|
verifyElementNotPresent |
link=testFolder1 |
|
verifyElementNotPresent |
link=testNote1 |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
verifyElementNotPresent |
link=testFolder1 |
|
clickAndWait |
link=Dashboard |
|
verifyElementNotPresent |
link=testFolder1 |
|
verifyElementNotPresent |
link=testNote1 |
|
clickAndWait |
link=Log out |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as linnet |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
verifyElementNotPresent |
link=testFolder1 |
|
clickAndWait |
link=Dashboard |
|
verifyElementNotPresent |
link=testFolder1 |
|
verifyElementNotPresent |
link=testNote1 |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1@view_documents |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as lbramard |
|
verifyElementNotPresent |
link=testFolder1 |
|
clickAndWait |
link=Dashboard |
|
verifyElementNotPresent |
link=testFolder1 |
|
verifyElementNotPresent |
link=testNote1 |
|
clickAndWait |
link=Log out |
|
|
|
./unblockRights.html
unblockRights |
setTimeout |
120000 |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Access rights |
|
verifyTextNotPresent |
No local rights |
|
clickAndWait |
//form[@id="block_inherit"]/input[@type="checkbox"] |
|
verifyNotChecked |
//form[@id="block_inherit"]/input[@type="checkbox"] |
|
verifyTextNotPresent |
No local rights |
|
verifyTextPresent |
members |
|
verifyTextPresent |
administrators |
|
verifyTextPresent |
Administrator |
|
verifyTextPresent |
Bree |
|
verifyTextPresent |
Bramard |
|
verifyTextPresent |
Linnet |
|
verifyTextPresent |
Doe |
|
verifyTextPresent |
Smith |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=Dashboard |
|
verifyElementPresent |
link=testNote1 |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=Dashboard |
|
verifyElementPresent |
link=testNote1 |
|
clickAndWait |
link=Log out |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as linnet |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=Dashboard |
|
verifyElementPresent |
link=testNote1 |
|
clickAndWait |
link=Log out |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as lbramard |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=Dashboard |
|
verifyElementPresent |
link=testNote1 |
|
clickAndWait |
link=Log out |
|
|
|
./removeLocalRights.html
removeLocalRights |
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Access rights |
|
click |
//table[@id="rights_content:dataTable_local_rights"]//th[1]/input |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('rights_content:security_button_remove').getAttribute('disabled') == null |
15000 |
clickAndWait |
link=Access rights |
|
verifyChecked |
//table[@id="rights_content:dataTable_local_rights"]//th[1]/input |
|
clickAndWait |
//input[@value="Remove permission(s)"] |
|
verifyTextPresent |
No local right |
|
clickAndWait |
link=Log out |
|
|
|
./deleteUser.html
deleteUser |
setTimeout |
120000 |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as Administrator |
|
clickAndWait |
link=Users & groups |
|
clickAndWait |
link=Create a new user |
|
type |
//input[@id='createUser:nxl_user:nxw_username'] |
carlos |
type |
//input[@id='createUser:nxl_user:nxw_email'] |
sg+carlos@nuxeo.com |
type |
//input[@id='createUser:nxl_user:nxw_firstPassword'] |
carlos1 |
type |
//input[@id='createUser:nxl_user:nxw_secondPassword'] |
carlos1 |
typeKeys |
//input[@name='createUser:nxl_user:nxw_groups_suggest'] |
members |
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('createUser:nxl_user:nxw_groups_suggestionBox').style.display != 'none' |
10000 |
verifyText |
//*[@id='createUser:nxl_user:nxw_groups_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
members |
click |
//*[@id='createUser:nxl_user:nxw_groups_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('createUser:nxl_user:nxw_groups_list:0:nxw_groups_listItem') != null |
10000 |
clickAndWait |
//input[@value='Save'] |
|
clickAndWait |
link=Log out |
|
type |
username |
carlos |
type |
password |
carlos1 |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as carlos |
|
clickAndWait |
link=Users & groups |
|
type |
//input[@id='searchForm:searchText'] |
carlos |
clickAndWait |
//input[@id='searchForm:searchButton'] |
|
clickAndWait |
link=carlos |
|
verifyTextPresent |
members |
|
clickAndWait |
link=Log out |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
select |
//select[@class='langSelect'] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as Administrator |
|
clickAndWait |
link=Users & groups |
|
type |
//input[@id='searchForm:searchText'] |
carlos |
clickAndWait |
//input[@id='searchForm:searchButton'] |
|
clickAndWait |
link=carlos |
|
clickAndWait |
link=Delete |
|
assertConfirmation |
Delete user? |
|
clickAndWait |
link=Log out |
|
|
|
./createForum.html
createForum |
setTimeout |
120000 |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
mouseDown |
link=New document |
|
clickAndWait |
link=Forum |
|
type |
//table[@class="dataInput"]/tbody/tr//td[2]/input |
testForum1 |
clickAndWait |
//input[@value="Create"] |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
verifyTextPresent |
testForum1 |
|
clickAndWait |
link=Log out |
|
|
|
./verifyRightsForum.html
verifyRightsForum |
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
verifyElementPresent |
link=New topic |
|
clickAndWait |
link=Edit |
|
verifyElementPresent |
//input[@value="Save"] |
|
clickAndWait |
link=Edit |
|
verifyElementPresent |
//input[@value="Save"] |
|
clickAndWait |
link=My subscriptions |
|
verifyElementPresent |
//input[@value="Subscribe"] |
|
verifyTextPresent |
Edit |
|
verifyTextPresent |
Workflow changed |
|
verifyElementNotPresent |
link=Access Rights |
|
clickAndWait |
link=History |
|
verifyTextPresent |
Event log |
|
verifyTextPresent |
Creation |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1@view_documents |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as linnet |
|
verifyElementPresent |
link=New topic |
|
clickAndWait |
link=Edit |
|
verifyElementPresent |
//input[@value="Save"] |
|
clickAndWait |
link=Edit |
|
verifyElementPresent |
//input[@value="Save"] |
|
clickAndWait |
link=My subscriptions |
|
verifyElementPresent |
//input[@value="Subscribe"] |
|
verifyTextPresent |
Modification |
|
verifyTextPresent |
Workflow changed |
|
verifyElementNotPresent |
link=Access Rights |
|
clickAndWait |
link=History |
|
verifyTextPresent |
Event log |
|
verifyTextPresent |
Creation |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
verifyElementPresent |
link=New topic |
|
clickAndWait |
link=Edit |
|
verifyElementPresent |
//input[@value="Save"] |
|
clickAndWait |
link=Edit |
|
verifyElementPresent |
//input[@value="Save"] |
|
clickAndWait |
link=My subscriptions |
|
verifyElementPresent |
//input[@value="Subscribe"] |
|
verifyTextPresent |
Modification |
|
verifyTextPresent |
Workflow changed |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Subscriptions |
|
verifyElementPresent |
//input[@value="Register"] |
|
clickAndWait |
link=Access rights |
|
verifyTextPresent |
No local right |
|
clickAndWait |
link=History |
|
verifyTextPresent |
Event log |
|
verifyTextPresent |
Creation |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1@view_documents |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as bree |
|
verifyElementNotPresent |
link=New topic |
|
verifyElementNotPresent |
link=Edit |
|
clickAndWait |
link=My subscriptions |
|
verifyElementPresent |
//input[@value="Subscribe"] |
|
verifyTextPresent |
Modification |
|
verifyTextPresent |
Workflow changed |
|
verifyElementNotPresent |
link=Subscriptions |
|
verifyElementNotPresent |
link=Access rights |
|
clickAndWait |
link=History |
|
verifyTextPresent |
Event log |
|
verifyTextPresent |
Creation |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1@view_documents |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as lbramard |
|
verifyElementNotPresent |
link=New topic |
|
verifyElementNotPresent |
link=Edit |
|
clickAndWait |
link=My subscriptions |
|
verifyElementPresent |
//input[@value="Subscribe"] |
|
verifyTextPresent |
Modification |
|
verifyTextPresent |
Workflow changed |
|
verifyElementNotPresent |
link=Subscriptions |
|
verifyElementNotPresent |
link=Access rights |
|
clickAndWait |
link=History |
|
verifyTextPresent |
Event log |
|
verifyTextPresent |
Creation |
|
clickAndWait |
link=Log out |
|
|
|
./createTopicWithoutModeration.html
createTopicWhithoutModeration |
setTimeout |
120000 |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
clickAndWait |
link=New topic |
|
type |
//input[@class="dataInputText"] |
testTopicWithoutModeration |
check |
//input[@value="false"] |
|
clickAndWait |
//input[@value="Create"] |
|
verifyTextPresent |
testTopicWithoutModeration |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1@view_documents |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as bree |
|
verifyElementPresent |
link=testTopicWithoutModeration |
|
verifyTextPresent |
Moderation |
|
verifyTextPresent |
No |
|
clickAndWait |
link=Log out |
|
|
|
./verifyRightsOnTopicWithoutModeration.html
verifyRightsOnTopicWithoutModeration |
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithoutmoderati@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
verifyElementNotPresent |
//input[@value="Lock"] |
|
verifyElementNotPresent |
link=Modification |
|
clickAndWait |
link=My subscriptions |
|
verifyElementPresent |
//input[@value="Subscribe"] |
|
verifyTextPresent |
Modification |
|
verifyTextPresent |
Workflow changed |
|
verifyElementNotPresent |
link=Access rights |
|
verifyElementNotPresent |
link=History |
|
clickAndWait |
link=Topic |
|
verifyTextPresent |
Add a comment |
|
verifyElementPresent |
//input[@value="Add"] |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithoutmoderati@view_documents |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as linnet |
|
verifyElementNotPresent |
//input[@value="Lock"] |
|
clickAndWait |
link=Topic |
|
verifyTextPresent |
Add a comment |
|
verifyElementPresent |
//input[@value="Add"] |
|
verifyElementNotPresent |
link=Modification |
|
verifyElementNotPresent |
link=Modification |
|
clickAndWait |
link=My subscriptions |
|
verifyElementPresent |
//input[@value="Subscribe"] |
|
verifyTextPresent |
Modification |
|
verifyTextPresent |
Workflow changed |
|
verifyElementNotPresent |
link=Access rights |
|
verifyElementNotPresent |
link=History |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithoutmoderati@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
verifyElementNotPresent |
//input[@value="Lock"] |
|
clickAndWait |
link=Topic |
|
verifyTextPresent |
Add a comment |
|
verifyElementPresent |
//input[@value="Add"] |
|
verifyElementNotPresent |
link=Modification |
|
clickAndWait |
link=My subscriptions |
|
verifyElementPresent |
//input[@value="Subscribe"] |
|
verifyTextPresent |
Modification |
|
verifyTextPresent |
Workflow changed |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Subscriptions |
|
verifyElementPresent |
//input[@value="Register"] |
|
clickAndWait |
link=Access rights |
|
verifyTextPresent |
No local right |
|
verifyElementNotPresent |
link=History |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithoutmoderati@view_documents |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as bree |
|
verifyElementNotPresent |
//input[@value="Lock"] |
|
clickAndWait |
link=Topic |
|
verifyTextNotPresent |
Add a comment |
|
verifyElementNotPresent |
//input[@value="Add"] |
|
verifyElementNotPresent |
link=Modification |
|
clickAndWait |
link=My subscriptions |
|
verifyElementPresent |
//input[@value="Subscribe"] |
|
verifyTextPresent |
Modification |
|
verifyTextPresent |
Workflow changed |
|
verifyElementNotPresent |
link=Manage |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithoutmoderati@view_documents |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as lbramard |
|
verifyElementNotPresent |
//input[@value="Lock"] |
|
clickAndWait |
link=Topic |
|
verifyTextNotPresent |
Add a comment |
|
verifyElementNotPresent |
//input[@value="Add"] |
|
verifyElementNotPresent |
link=Modification |
|
clickAndWait |
link=My subscriptions |
|
verifyElementPresent |
//input[@value="Subscribe"] |
|
verifyTextPresent |
Modification |
|
verifyTextPresent |
Workflow changed |
|
verifyElementNotPresent |
link=Manage |
|
verifyElementNotPresent |
link=Subscriptions |
|
verifyElementNotPresent |
link=Access rights |
|
verifyElementNotPresent |
link=History |
|
clickAndWait |
link=Log out |
|
|
|
./addCommentsOnTopicWithoutModeration.html
addCommentsOnTopicWithoutModeration |
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithoutmoderati@view_documents |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as linnet |
|
clickAndWait |
//input[@value="Add"] |
|
verifyTextPresent |
Add a comment |
|
type |
//table[@class="dataInput"]/tbody/tr//td[2]/input |
testTopicWithoutModeration |
type |
//table[@class="dataInput"]//textarea |
comment n°1 in testTopicWithoutModeration |
clickAndWait |
//input[@value="Add"] |
|
verifyTextPresent |
comment n°1 in testTopicWithoutModeration |
|
verifyElementPresent |
link=Delete |
|
verifyElementPresent |
link=Reply |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
verifyTextPresent |
linnet |
|
verifyTextPresent |
1 |
|
clickAndWait |
link=testTopicWithoutModeration |
|
clickAndWait |
link=Topic |
|
verifyTextPresent |
comment n°1 in testTopicWithoutModeration |
|
verifyElementNotPresent |
link=Delete |
|
verifyElementPresent |
link=Reply |
|
clickAndWait |
//input[@value="Add"] |
|
type |
//table[@class="dataInput"]/tbody/tr//td[2]/input |
John Doe adds a comment |
type |
//table[@class="dataInput"]//textarea |
comment n°2 |
clickAndWait |
//input[@value="Cancel"] |
|
verifyTextNotPresent |
John Doe adds a comment |
|
verifyTextNotPresent |
comment n°2 |
|
clickAndWait |
//input[@value="Add"] |
|
type |
//table[@class="dataInput"]/tbody/tr//td[2]/input |
John Doe adds a comment |
clickAndWait |
//input[@value="Add"] |
|
verifyTextPresent |
Value is required |
|
verifyTextNotPresent |
John Doe adds a comment |
|
type |
//table[@class="dataInput"]//textarea |
comment n°2 |
clickAndWait |
//input[@value="Add"] |
|
verifyTextPresent |
John Doe adds a comment |
|
verifyTextPresent |
comment n°2 |
|
verifyElementPresent |
link=Delete |
|
verifyElementPresent |
link=Reply |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
verifyTextPresent |
jdoe |
|
verifyTextPresent |
2 |
|
clickAndWait |
link=testTopicWithoutModeration |
|
clickAndWait |
link=Topic |
|
verifyTextPresent |
comment n°1 in testTopicWithoutModeration |
|
verifyTextPresent |
comment n°2 |
|
verifyTextPresent |
John Doe adds a comment |
|
verifyElementNotPresent |
link=Delete |
|
verifyElementPresent |
link=Reply |
|
clickAndWait |
//input[@value="Add"] |
|
type |
//table[@class="dataInput"]//textarea |
comment n°3 |
clickAndWait |
//input[@value="Add"] |
|
verifyTextPresent |
Value is required |
|
clickAndWait |
//input[@value="Add"] |
|
type |
//table[@class="dataInput"]/tbody/tr//td[2]/input |
jsmith adds a comment |
clickAndWait |
//input[@value="Add"] |
|
verifyTextPresent |
jsmith adds a comment |
|
verifyTextPresent |
comment n°3 |
|
verifyElementPresent |
link=Delete |
|
verifyElementPresent |
link=Reply |
|
clickAndWait |
link=Log out |
|
|
|
./answerToCommentOnTopicWithoutModeration.html
answerToCommentOnTopicWithoutModeration |
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithoutmoderati@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Reply |
|
type |
//table[@class="dataInput"]//textarea |
reply n°1 |
clickAndWait |
//input[@value="Add"] |
|
verifyTextPresent |
reply n°1 |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
testTopicWithoutModeration |
|
clickAndWait |
link=Log out |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
link=testTopicWithoutModeration |
|
clickAndWait |
link=Topic |
|
verifyTextPresent |
reply n°1 |
|
clickAndWait |
link=testTopicWithoutModeration |
|
clickAndWait |
link=Log out |
|
|
|
./deleteCommentByAuthorOnTopicWithoutModeration.html
deleteCommentByAuthorOnTopicWithoutModeration |
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithoutmoderati@view_documents |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as linnet |
|
verifyTextPresent |
comment n°1 in testTopicWithoutModeration |
|
clickAndWait |
link=Delete |
|
verifyTextNotPresent |
comment n°1 in testTopicWithoutModeration |
|
verifyTextNotPresent |
reply n°1 |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithoutmoderati@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
verifyTextNotPresent |
comment n°1 in testTopicWithoutModeration |
|
verifyTextNotPresent |
reply n°1 |
|
clickAndWait |
link=Log out |
|
|
|
./deleteCommentByAdministratorOnTopicWithoutModeration.html
deleteCommentByAdministratorOnTopicWithoutModeration |
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithoutmoderati@view_documents |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
clickAndWait |
link=Delete |
|
verifyTextNotPresent |
John Doe adds a comment |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithoutmoderati@view_documents |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextNotPresent |
John Doe adds a comment |
|
clickAndWait |
link=Log out |
|
|
|
./createTopicWithModeration.html
createTopicWithModeration |
setTimeout |
120000 |
|
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
clickAndWait |
link=New topic |
|
type |
//input[@class="dataInputText"] |
testTopicWithModeration |
click |
//input[@type="radio"] |
|
typeKeys |
//input[@name='createThread:nxl_user_group_prefixed_suggestion:nxw_selection_suggest'] |
bre |
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('createThread:nxl_user_group_prefixed_suggestion:nxw_selection_suggestionBox').style.display != 'none' |
10000 |
verifyText |
//*[@id='createThread:nxl_user_group_prefixed_suggestion:nxw_selection_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Bree Van de Kaamp |
click |
//*[@id='createThread:nxl_user_group_prefixed_suggestion:nxw_selection_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('createThread:nxl_user_group_prefixed_suggestion:nxw_selection_list:0:nxw_selection_listItem') != null |
10000 |
type |
//input[@name='createThread:nxl_user_group_prefixed_suggestion:nxw_selection_suggest'] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('createThread:nxl_user_group_prefixed_suggestion:nxw_selection_suggestionBox').style.display == 'none' |
10000 |
clickAndWait |
//input[@value="Create"] |
|
verifyTextPresent |
testTopicWithModeration |
|
clickAndWait |
link=testForum1 |
|
verifyElementPresent |
link=testTopicWithModeration |
|
verifyTextPresent |
Yes |
|
clickAndWait |
link=Log out |
|
|
|
./verifyRightsOnTopicWithModeration.html
verifyRightsOnTopicWithModeration |
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
verifyElementNotPresent |
//input[@value="Lock"] |
|
verifyElementNotPresent |
link=Modification |
|
clickAndWait |
link=My subscriptions |
|
verifyElementPresent |
//input[@value="Subscribe"] |
|
verifyTextPresent |
Modification |
|
verifyTextPresent |
Workflow changed |
|
verifyElementNotPresent |
link=Access rights |
|
verifyElementNotPresent |
link=History |
|
clickAndWait |
link=Topic |
|
verifyTextPresent |
Add a comment |
|
verifyElementPresent |
//input[@value="Add"] |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as linnet |
|
verifyElementNotPresent |
//input[@value="Lock"] |
|
clickAndWait |
link=Topic |
|
verifyTextPresent |
Add a comment |
|
verifyElementPresent |
//input[@value="Add"] |
|
verifyElementNotPresent |
link=Modification |
|
clickAndWait |
link=My subscriptions |
|
verifyElementPresent |
//input[@value="Subscribe"] |
|
verifyTextPresent |
Modification |
|
verifyTextPresent |
Workflow changed |
|
verifyElementNotPresent |
link=Access rights |
|
verifyElementNotPresent |
link=History |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
verifyElementNotPresent |
//input[@value="Lock"] |
|
clickAndWait |
link=Topic |
|
verifyTextPresent |
Add a comment |
|
verifyElementPresent |
//input[@value="Add"] |
|
verifyElementNotPresent |
link=Modification |
|
clickAndWait |
link=My subscriptions |
|
verifyElementPresent |
//input[@value="Subscribe"] |
|
verifyTextPresent |
Modification |
|
verifyTextPresent |
Workflow changed |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Subscriptions |
|
verifyElementPresent |
//input[@value="Register"] |
|
clickAndWait |
link=Access rights |
|
verifyTextPresent |
No local right |
|
verifyElementNotPresent |
link=History |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as bree |
|
verifyElementNotPresent |
//input[@value="Lock"] |
|
clickAndWait |
link=Topic |
|
verifyElementNotPresent |
link=Modification |
|
clickAndWait |
link=My subscriptions |
|
verifyElementPresent |
//input[@value="Subscribe"] |
|
verifyTextPresent |
Modification |
|
verifyTextPresent |
Workflow changed |
|
verifyElementNotPresent |
link=Subscriptions |
|
verifyElementNotPresent |
link=Access rights |
|
verifyElementNotPresent |
link=History |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as lbramard |
|
verifyElementNotPresent |
//input[@value="Lock"] |
|
clickAndWait |
link=Topic |
|
verifyElementNotPresent |
link=Modifcation |
|
clickAndWait |
link=My subscriptions |
|
verifyElementPresent |
//input[@value="Subscribe"] |
|
verifyTextPresent |
Modification |
|
verifyTextPresent |
Workflow changed |
|
verifyElementNotPresent |
link=Subscriptions |
|
verifyElementNotPresent |
link=Access rights |
|
verifyElementNotPresent |
link=History |
|
clickAndWait |
link=Log out |
|
|
|
./addCommentToBeApproved.html
addCommentToBeApproved |
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
//input[@value="Add"] |
|
verifyTextPresent |
Add a comment |
|
type |
//table[@class="dataInput"]/tbody/tr//td[2]/input |
testTopicWithModerationComment |
type |
//table[@class="dataInput"]//textarea |
comment n°1 in testTopicWithModeration |
clickAndWait |
//div[@class="buttonsGadget"]/input |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextPresent |
Waiting for approval |
|
verifyTextNotPresent |
Published |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextPresent |
Waiting for approval |
|
verifyTextNotPresent |
Published |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as lbramard |
|
verifyTextNotPresent |
testTopicWithModerationComment |
|
verifyTextNotPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextNotPresent |
Published |
|
clickAndWait |
link=Log out |
|
|
|
./approveCommentOnTopicWithModeration.html
approveCommentOnTopicWithModeration |
open |
logout |
|
open |
|
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Moderate the document |
|
verifyTextPresent |
testTopicWithModeration |
|
clickAndWait |
link=testTopicWithModeration |
|
waitForTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextPresent |
Waiting for approval |
|
verifyTextNotPresent |
Published |
|
verifyElementPresent |
link=Approve |
|
verifyElementPresent |
link=Reject |
|
verifyElementPresent |
link=Delete |
|
clickAndWait |
link=Approve |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextPresent |
Published |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementNotPresent |
link=Reject |
|
verifyElementPresent |
link=Delete |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextPresent |
Published |
|
verifyElementPresent |
link=Reply |
|
verifyElementPresent |
link=Delete |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as linnet |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextPresent |
Published |
|
verifyElementPresent |
link=Reply |
|
verifyElementNotPresent |
link=Delete |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as lbramard |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextPresent |
Published |
|
verifyElementNotPresent |
link=Reply |
|
verifyElementNotPresent |
link=Delete |
|
clickAndWait |
link=Log out |
|
|
|
./addCommentToBeRejected.html
addCommentToBeRejected |
open |
logout |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextPresent |
Published |
|
verifyElementPresent |
link=Reply |
|
clickAndWait |
//input[@value="Add"] |
|
type |
//table[@class="dataInput"]/tbody/tr//td[2]/input |
members add comments |
type |
//table[@class="dataInput"]//textarea |
second comment |
clickAndWait |
//div[@class="buttonsGadget"]/input |
|
verifyTextPresent |
members add comments |
|
verifyTextPresent |
second comment |
|
verifyTextPresent |
Waiting for approval |
|
verifyTextPresent |
Published |
|
verifyElementPresent |
link=Delete |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as linnet |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextNotPresent |
members add comments |
|
verifyTextNotPresent |
second comment |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextPresent |
Published |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as lbramard |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextNotPresent |
members add comments |
|
verifyTextNotPresent |
second comment |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextPresent |
Published |
|
verifyElementNotPresent |
link=Reply |
|
verifyElementNotPresent |
link=Delete |
|
clickAndWait |
link=Log out |
|
|
|
./rejectCommentOnTopicWithModeration.html
rejectCommentOnTopicWithModeration |
open |
logout |
|
open |
/nuxeo |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Moderate the document |
|
verifyTextPresent |
testTopicWithModeration |
|
clickAndWait |
link=testTopicWithModeration |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextPresent |
Waiting for approval |
|
verifyTextPresent |
Published |
|
verifyTextPresent |
members add comments |
|
verifyTextPresent |
second comment |
|
verifyElementPresent |
link=Approve |
|
verifyElementPresent |
link=Reject |
|
verifyElementPresent |
link=Delete |
|
clickAndWait |
link=Reject |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextPresent |
Rejected |
|
verifyElementNotPresent |
link=Approve |
|
verifyElementNotPresent |
link=Reject |
|
verifyElementPresent |
link=Delete |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jsmith |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextPresent |
members add comments |
|
verifyTextPresent |
second comment |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextPresent |
Rejected |
|
verifyTextPresent |
Published |
|
verifyElementPresent |
link=Reply |
|
verifyElementPresent |
link=Delete |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as linnet |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextNotPresent |
members add comments |
|
verifyTextNotPresent |
second comment |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextNotPresent |
Rejected |
|
verifyTextPresent |
Published |
|
verifyElementPresent |
link=Reply |
|
verifyElementNotPresent |
link=Delete |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as lbramard |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextNotPresent |
members add comments |
|
verifyTextNotPresent |
second comment |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextNotPresent |
Rejected |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextPresent |
Published |
|
verifyElementNotPresent |
link=Reply |
|
verifyElementNotPresent |
link=Delete |
|
clickAndWait |
link=Log out |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testforum1/testtopicwithmoderation@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
verifyTextPresent |
testTopicWithModerationComment |
|
verifyTextPresent |
comment n°1 in testTopicWithModeration |
|
verifyTextPresent |
members add comments |
|
verifyTextPresent |
second comment |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextPresent |
Rejected |
|
verifyTextNotPresent |
Waiting for approval |
|
verifyTextPresent |
Published |
|
verifyElementPresent |
link=Reply |
|
verifyElementPresent |
link=Delete |
|
clickAndWait |
link=Log out |
|
|
|
./simpleSearch.html
simpleSearch |
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
You are logged as jdoe |
|
type |
//input[@class="directoryFilter"] |
testNote1 |
clickAndWait |
//input[@value="Search"] |
|
verifyTextPresent |
Search results for keywords: |
|
verifyElementPresent |
link=testNote1 |
|
clickAndWait |
link=testNote1 |
|
verifyElementPresent |
link=Summary |
|
verifyElementPresent |
link=Edit |
|
verifyElementPresent |
link=Files |
|
verifyElementPresent |
link=Relations |
|
verifyElementPresent |
link=My subscriptions |
|
type |
//input[@class="directoryFilter"] |
truc |
clickAndWait |
//input[@value="Search"] |
|
verifyTextPresent |
Search results for keywords: |
|
verifyTextPresent |
No documents match your search criteria |
|
clickAndWait |
link=Log out |
|
|
|
./publication/publishDocumentBySectionManager.html
publishDocumentBySectionManager |
open |
logout |
|
open |
|
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
mouseDown |
link=New document |
|
clickAndWait |
link=File |
|
type |
//td[@class="fieldColumn"]/input[@type="text"] |
test file to be publish 1 |
clickAndWait |
//input[@value="Create"] |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
assertTextPresent |
Publish here |
|
watchA4jRequests |
|
|
click |
link=Publish here |
|
waitForA4jRequest |
10000 |
|
verifyElementPresent |
link=Unpublish |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementPresent |
link=test file to be publish 1 |
|
clickAndWait |
link=test file to be publish 1 |
|
verifyTextPresent |
This document is published |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementPresent |
link=test file to be publish 1 |
|
clickAndWait |
link=Log out |
|
|
|
../publication/PublishDocumentBySectionReaderForSectionManagerApproval.html
PublishDocumentBySectionReaderForSectionManagerApproval |
open |
logout |
|
open |
|
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as linnet |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=test file to be publish 1 |
|
clickAndWait |
link=Publish |
|
clickAndWait |
//input[@class='langSubmit'] |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
assertTextPresent |
Publish here |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
verifyElementNotPresent |
link=Unpublish |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementPresent |
link=test file to be publish 1 |
|
clickAndWait |
link=testSection2 |
|
verifyElementPresent |
link=test file to be publish 1 |
|
clickAndWait |
link=test file to be publish 1 |
|
verifyTextPresent |
This document is waiting for a publication approval |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
clickAndWait |
link=testSection2 |
|
verifyTextPresent |
This folder contains no document |
|
clickAndWait |
link=Log out |
|
|
|
./publication/publishingApprovalBySectionManager.html
publishingApprovalBySectionManager |
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Publish document |
|
verifyTextNotPresent |
Your dashboard is empty. |
|
clickAndWait |
link=test file to be publish 1 |
|
verifyTextPresent |
This document is waiting for a publication approval |
|
clickAndWait |
//input[@value="Approve"] |
|
verifyTextPresent |
This document is published |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty. |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
clickAndWait |
link=testSection2 |
|
verifyElementPresent |
link=test file to be publish 1 |
|
clickAndWait |
link=Log out |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as linnet |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
clickAndWait |
link=testSection2 |
|
clickAndWait |
link=test file to be publish 1 |
|
verifyTextPresent |
This document is published |
|
clickAndWait |
link=Log out |
|
|
|
../publication/PublishDocumentBySectionReaderForSectionWriterApproval.html
PublishDocumentBySectionReaderForSectionWriterApproval |
open |
logout |
|
open |
/nuxeo |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
mouseDown |
link=New document |
|
clickAndWait |
link=File |
|
type |
//td[@class="fieldColumn"]/input[@type="text"] |
test file to be publish 2 |
clickAndWait |
//input[@value="Create"] |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
assertTextPresent |
Publish here |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
verifyElementNotPresent |
link=Unpublish |
|
verifyElementNotPresent |
link=Unpublish |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementNotPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=testSection2 |
|
verifyElementPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=test file to be publish 2 |
|
verifyTextPresent |
This document is waiting for a publication approval |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementNotPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=testSection2 |
|
verifyElementNotPresent |
link=Note to be modified |
|
clickAndWait |
link=Log out |
|
|
|
./publication/publishingApprovalBySectionWriter.html
publishingApprovalBySectionWriter |
open |
logout |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Dashboard |
|
verifyTextNotPresent |
Your dashboard is empty. |
|
clickAndWait |
link=test file to be publish 2 |
|
verifyTextPresent |
This document is waiting for a publication approval |
|
clickAndWait |
//input[@value="Approve"] |
|
verifyTextPresent |
This document is published |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty. |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
clickAndWait |
link=testSection2 |
|
verifyElementPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=Log out |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as linnet |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
clickAndWait |
link=testSection2 |
|
clickAndWait |
link=test file to be publish 2 |
|
verifyTextPresent |
This document is published |
|
clickAndWait |
link=Log out |
|
|
|
./publication/PublishDocumentBySectionReaderForSectionWriterReject.html
PublishDocumentBySectionReaderForSectionWriterReject |
open |
logout |
|
open |
|
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as linnet |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=test file to be publish 2 |
|
clickAndWait |
link=Publish |
|
verifyElementNotPresent |
link=Unpublish |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
assertTextPresent |
Publish here |
|
watchA4jRequests |
|
|
click |
link=Publish here |
|
waitForA4jRequest |
10000 |
|
verifyElementNotPresent |
link=Unpublish |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=test file to be publish 2 |
|
verifyTextPresent |
This document is waiting for a publication approval |
|
clickAndWait |
link=testSection2 |
|
verifyElementPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=test file to be publish 2 |
|
verifyTextPresent |
This document is published |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementNotPresent |
link=Note to be modified |
|
clickAndWait |
link=testSection2 |
|
verifyElementPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=Log out |
|
|
|
./publication/publishingRejectBySectionWriter.html
publishingRejectBySectionWriter |
open |
logout |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Publish document |
|
verifyTextNotPresent |
Your dashboard is empty. |
|
clickAndWait |
link=test file to be publish 2 |
|
verifyTextPresent |
This document is waiting for a publication approval |
|
clickAndWait |
//input[@value="Reject"] |
|
verifyTextPresent |
Please enter a comment |
|
type |
//textarea[@id="document_view:nxl_default_summary_layout:rejectPublishingComment"] |
refuse |
clickAndWait |
//input[@value="Reject"] |
|
verifyElementPresent |
link=test file to be publish 1 |
|
verifyElementNotPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty. |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementNotPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=Log out |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as linnet |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementNotPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=test file to be publish 2 |
|
clickAndWait |
link=Publish |
|
verifyElementNotPresent |
link=Unpublish |
|
clickAndWait |
link=Log out |
|
|
|
./publication/PublishDocumentBySectionReaderForSectionManagerReject.html
PublishDocumentBySectionReaderForSectionManagerReject |
open |
logout |
|
open |
|
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as linnet |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=test file to be publish 2 |
|
clickAndWait |
link=Publish |
|
verifyElementNotPresent |
link=Unpublish |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
assertTextPresent |
Publish here |
|
watchA4jRequests |
|
|
click |
link=Publish here |
|
waitForA4jRequest |
10000 |
|
verifyElementNotPresent |
link=Unpublish |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=test file to be publish 2 |
|
verifyTextPresent |
This document is waiting for a publication approval |
|
clickAndWait |
link=testSection2 |
|
verifyElementPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=test file to be publish 2 |
|
verifyTextPresent |
This document is published |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementNotPresent |
link=Note to be modified |
|
clickAndWait |
link=testSection2 |
|
verifyElementPresent |
link=test file to be publish 1 |
|
clickAndWait |
link=Log out |
|
|
|
./publication/publishingRejectBySectionManager.html
publishingRejectBySectionManager |
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Publish document |
|
verifyTextNotPresent |
Your dashboard is empty. |
|
clickAndWait |
link=test file to be publish 2 |
|
verifyTextPresent |
This document is waiting for a publication approval |
|
clickAndWait |
//input[@value="Reject"] |
|
verifyTextPresent |
Please enter a comment |
|
type |
//textarea[@id="document_view:nxl_default_summary_layout:rejectPublishingComment"] |
refuse |
clickAndWait |
//input[@value="Reject"] |
|
verifyElementPresent |
link=New document |
|
verifyElementNotPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty. |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as bree |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementNotPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=Log out |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as linnet |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementNotPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=test file to be publish 2 |
|
clickAndWait |
link=Publish |
|
verifyElementNotPresent |
link=Unpublish |
|
clickAndWait |
link=Log out |
|
|
|
./publication/unpublishBySectionManager.html
unpublishBySectionManager |
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyNotEditable |
//input[@value="Unpublish"] |
|
click |
//tr[@class="dataRowEven"]//input[@type="checkbox"] |
|
verifyChecked |
//tr[@class="dataRowEven"]//input[@type="checkbox"] |
|
waitForEditable |
//input[@value="Unpublish"] |
15000 |
clickAndWait |
//input[@value="Unpublish"] |
|
verifyElementNotPresent |
link=test file to be publish 1 |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=test file to be publish 1 |
|
clickAndWait |
link=Publish |
|
verifyElementNotPresent |
link=Default domain>Sections>testSection1 |
|
clickAndWait |
link=Log out |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as lbramard |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementNotPresent |
link=test file to be publish 1 |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=test file to be publish 1 |
|
clickAndWait |
link=Publish |
|
verifyElementNotPresent |
link=Default domain>Sections>testSection1 |
|
clickAndWait |
link=Log out |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
verifyElementNotPresent |
link=testNote1 |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=test file to be publish 1 |
|
clickAndWait |
link=Publish |
|
verifyElementNotPresent |
link=Default domain>Sections>testSection1 |
|
clickAndWait |
link=Log out |
|
|
|
./publication/unpublishBySectionWriter.html
unpublishBySectionWriter |
open |
logout |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jsmith |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
clickAndWait |
link=testSection2 |
|
verifyNotEditable |
//input[@value="Unpublish"] |
|
click |
//input[@title="Select all / deselect all"] |
|
verifyChecked |
//input[@title="Select all / deselect all"] |
|
verifyChecked |
//tr[@class="dataRowOdd"]//input[@type="checkbox"] |
|
verifyChecked |
//tr[@class="dataRowEven"]//input[@type="checkbox"] |
|
waitForEditable |
//input[@value="Unpublish"] |
15000 |
clickAndWait |
//input[@value="Unpublish"] |
|
verifyElementNotPresent |
link=test to be publish 1 |
|
verifyElementNotPresent |
link=test to be publish 2 |
|
verifyTextPresent |
This folder contains no document |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=test file to be publish 1 |
|
clickAndWait |
link=Publish |
|
verifyElementNotPresent |
link=Default domain>Sections>testSection1 |
|
verifyElementNotPresent |
link=Default domain>Sections>testSection1>testSection2 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=test file to be publish 2 |
|
clickAndWait |
link=Publish |
|
verifyElementNotPresent |
link=Default domain>Sections>testSection1 |
|
verifyElementNotPresent |
link=Default domain>Sections>testSection1>testSection2 |
|
clickAndWait |
link=Log out |
|
type |
username |
lbramard |
type |
password |
lbramard1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as lbramard |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
clickAndWait |
link=testSection2 |
|
verifyElementNotPresent |
link=test file to be publish 1 |
|
verifyElementNotPresent |
link=test file to be publish 2 |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=test file to be publish 1 |
|
clickAndWait |
link=Publish |
|
verifyElementNotPresent |
link=Default domain>Sections>testSection1 |
|
verifyElementNotPresent |
link=Default domain>Sections>testSection1>testSection2 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=test file to be publish 2 |
|
clickAndWait |
link=Publish |
|
verifyElementNotPresent |
link=Default domain>Sections>testSection1 |
|
verifyElementNotPresent |
link=Default domain>Sections>testSection1>testSection2 |
|
clickAndWait |
link=Log out |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as jdoe |
|
clickAndWait |
link=Sections |
|
clickAndWait |
link=testSection1 |
|
clickAndWait |
link=testSection2 |
|
verifyElementNotPresent |
link=testNote1 |
|
verifyElementNotPresent |
link=Note to be modified |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=test file to be publish 1 |
|
clickAndWait |
link=Publish |
|
verifyElementNotPresent |
link=Default domain>Sections>testSection1 |
|
verifyElementNotPresent |
link=Default domain>Sections>testSection1>testSection2 |
|
clickAndWait |
link=testFolder1 |
|
clickAndWait |
link=test file to be publish 2 |
|
clickAndWait |
link=Publish |
|
verifyElementNotPresent |
link=Default domain>Sections>testSection1 |
|
verifyElementNotPresent |
link=Default domain>Sections>testSection1>testSection2 |
|
clickAndWait |
link=Log out |
|
|
|
./publication/multiplePublication.html
multiplePublication |
open |
logout |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
1000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
publishTreeForm:publishTree |
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
publishTreeForm:publishTree |
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2/note-to-be-modified@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/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2/note-to-be-modified@view_documents?tabId=&conversationId=0NXMAIN |
|
verifyTextPresent |
This document is waiting for a publication approval |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Publish document |
|
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/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2/note-to-be-modified@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-to-be-modified@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-to-be-modified@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-to-be-modified@view_documents |
|
verifyTextPresent |
This document is published |
|
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty. There are no tasks that require your intervention. |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
link=Unpublish |
|
waitForA4jRequest |
10000 |
|
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/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2/note-to-be-modified@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/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
1000 |
|
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2/note-to-be-modified@view_documents |
|
verifyTextPresent |
This document is waiting for a publication approval |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Publish document |
|
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-to-be-modified@view_documents |
|
type |
document_view:nxl_note_summary_layout:rejectPublishingComment |
very good |
clickAndWait |
//input[@value="Approve"] |
|
verifyTextPresent |
This document is published |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty. There are no tasks that require your intervention. |
|
open |
logout |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2/note-to-be-modified@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-to-be-modified@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-to-be-modified@view_documents |
|
verifyTextPresent |
This document is published |
|
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty. There are no tasks that require your intervention. |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-modified@view_documents |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
link=Unpublish |
|
waitForA4jRequest |
10000 |
|
|
|
./publication/multipleVersionPublication.html
multipleVersionPublication |
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1@view_documents |
|
mouseDown |
link=New document |
|
clickAndWait |
link=Note |
|
type |
document_create:nxl_heading:nxw_title |
note to be versionned and published |
type |
document_create:nxl_heading:nxw_description |
the description |
clickAndWait |
document_create:button_create |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
clickAndWait |
link=Edit |
|
click |
document_edit:versioningOptionInstanceId:2 |
|
type |
document_edit:nxl_heading:nxw_title |
note to be versionned and published v2 |
clickAndWait |
//input[@value="Save"] |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2/note-to-be-versionned-an@view_documents |
|
verifyTextPresent |
1.0 |
|
verifyTextNotPresent |
2.0 |
|
verifyTextPresent |
This document is published |
|
open |
logout |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2/note-to-be-versionned-an@view_documents |
|
verifyTextPresent |
This document is published |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-versionned-an@view_documents |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
Timed out after 10000ms |
verifyTextPresent |
1.0 |
false |
verifyTextPresent |
2.0 |
false |
open |
nxpath/default/default-domain/sections/testsection1/testsection2@view_documents |
|
verifyTextPresent |
1.0 |
|
verifyTextPresent |
2.0 |
false |
clickAndWait |
link=note to be versionned and published |
|
verifyTextPresent |
This document is published |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2@view_documents |
|
clickAndWait |
link=note to be versionned and published v2 |
Element link=note to be versionned and published v2 not found |
assertTextPresent |
This document is waiting for a publication approval |
|
open |
logout |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2@view_documents |
|
verifyTextPresent |
1.0 |
|
verifyTextNotPresent |
2.0 |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2/note-to-be-versionned-an@view_documents |
|
verifyTextPresent |
This document is published |
|
verifyTextPresent |
1.0 |
|
verifyTextNotPresent |
2.0 |
|
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Publish document |
|
clickAndWait |
link=note to be versionned and published v2 |
|
type |
document_view:nxl_note_summary_layout:rejectPublishingComment |
doc is ok |
clickAndWait |
//input[@value="Approve"] |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2@view_documents |
|
verifyTextPresent |
2.0 |
|
verifyTextNotPresent |
1.0 |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty. There are no tasks that require your intervention. |
|
open |
logout |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2@view_documents |
|
clickAndWait |
link=note to be versionned and published v2 |
|
verifyTextPresent |
2.0 |
|
verifyTextNotPresent |
1.0 |
|
verifyTextPresent |
This document is published |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2@view_documents |
|
click |
CHILDREN_DOCUMENT_LIST:nxl_document_listing:nxw_listing_selection_box_with_current_document |
|
waitForEditable |
//input[@value="Unpublish"] |
10000 |
clickAndWait |
//input[@value="Unpublish"] |
|
verifyTextPresent |
This folder contains no document. |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1@view_documents |
|
click |
CHILDREN_DOCUMENT_LIST:nxl_document_listing_1:nxw_listing_selection_box_with_current_document_1 |
|
waitForEditable |
//input[@value="Delete"] |
10000 |
chooseOkOnNextConfirmation |
|
|
clickAndWait |
//input[@value="Delete"] |
|
assertConfirmation |
Delete selected document(s)? |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Trash |
|
click |
CHILDREN_DOCUMENT_LIST:nxl_document_listing:nxw_listing_selection_box_with_current_document |
|
waitForEditable |
//input[@value="Permanent delete"] |
10000 |
clickAndWait |
//input[@value="Permanent delete"] |
|
assertConfirmation |
Permanently delete selected document(s)? |
|
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1@view_documents |
|
mouseDown |
link=New document |
|
clickAndWait |
link=Note |
|
type |
document_create:nxl_heading:nxw_title |
note to be versionned and published |
type |
document_create:nxl_heading:nxw_description |
the description |
clickAndWait |
document_create:button_create |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
clickAndWait |
link=Edit |
|
click |
document_edit:versioningOptionInstanceId:2 |
|
type |
document_edit:nxl_heading:nxw_title |
note to be versionned and published v2 |
clickAndWait |
//input[@value="Save"] |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2/note-to-be-versionned-an@view_documents |
|
verifyTextPresent |
1.0 |
|
verifyTextNotPresent |
2.0 |
|
verifyTextPresent |
This document is published |
|
open |
logout |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2/note-to-be-versionned-an@view_documents |
|
verifyTextPresent |
This document is published |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-versionned-an@view_documents |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
verifyTextPresent |
1.0 |
|
verifyTextPresent |
2.0 |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2@view_documents |
|
verifyTextPresent |
1.0 |
|
verifyTextPresent |
2.0 |
|
clickAndWait |
link=note to be versionned and published |
|
verifyTextPresent |
This document is published |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2@view_documents |
|
clickAndWait |
link=note to be versionned and published v2 |
|
assertTextPresent |
This document is waiting for a publication approval |
|
open |
logout |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2@view_documents |
|
verifyTextPresent |
1.0 |
|
verifyTextNotPresent |
2.0 |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2/note-to-be-versionned-an@view_documents |
|
verifyTextPresent |
This document is published |
|
verifyTextPresent |
1.0 |
|
verifyTextNotPresent |
2.0 |
|
open |
logout |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Publish document |
|
clickAndWait |
link=note to be versionned and published v2 |
|
verifyTextPresent |
This document is waiting for a publication approval |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1/note-to-be-versionned-an@view_documents |
|
clickAndWait |
link=Publish |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishTreeNode:handle:img:collapsed |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
publishTreeForm:publishTree:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0:publishRecursiveAdaptor:0::publishCommandLink |
|
waitForA4jRequest |
10000 |
|
assertTextPresent |
2.0 |
|
assertTextNotPresent |
1.0 |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2@view_documents |
|
verifyTextPresent |
2.0 |
|
verifyTextNotPresent |
1.0 |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Your dashboard is empty. There are no tasks that require your intervention. |
|
open |
logout |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2@view_documents |
|
clickAndWait |
link=note to be versionned and published v2 |
|
verifyTextPresent |
2.0 |
|
verifyTextNotPresent |
1.0 |
|
verifyTextPresent |
This document is published |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
open |
nxpath/default/default-domain/sections/testsection1/testsection2@view_documents |
|
click |
CHILDREN_DOCUMENT_LIST:nxl_document_listing:nxw_listing_selection_box_with_current_document |
|
waitForEditable |
//input[@value="Unpublish"] |
10000 |
clickAndWait |
//input[@value="Unpublish"] |
|
assertTextPresent |
This folder contains no document. |
|
open |
nxpath/default/default-domain/workspaces/testworskspace1/testfolder1@view_documents |
|
click |
CHILDREN_DOCUMENT_LIST:nxl_document_listing_1:nxw_listing_selection_box_with_current_document_1 |
|
waitForEditable |
//input[@value="Delete"] |
10000 |
chooseOkOnNextConfirmation |
|
|
clickAndWait |
//input[@value="Delete"] |
|
assertConfirmation |
Delete selected document(s)? |
|
clickAndWait |
link=Manage |
|
clickAndWait |
link=Trash |
|
click |
CHILDREN_DOCUMENT_LIST:nxl_document_listing:nxw_listing_selection_box_with_current_document |
|
waitForEditable |
//input[@value="Permanent delete"] |
10000 |
clickAndWait |
//input[@value="Permanent delete"] |
|
assertConfirmation |
Permanently delete selected document(s)? |
|
open |
logout |
|
|
|
./publication/publishingTearDown.html
publishingTearDown |
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
select |
//select[@class="langSelect"] |
label=English (United Kingdom) |
clickAndWait |
//input[@class='langSubmit'] |
|
verifyTextPresent |
You are logged as Administrator |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=testWorskspace1 |
|
clickAndWait |
link=testFolder1 |
|
click |
//form[@id="CHILDREN_DOCUMENT_LIST"]//table//tr/th/input |
|
waitForEditable |
//input[@value="Delete"] |
|
clickAndWait |
//input[@value="Delete"] |
|
assertConfirmation |
Delete selected document(s)? |
|
open |
logout |
|
|
|
./testVocabulariesManagement.html
testVocabulariesManagement |
open |
logout |
|
open |
|
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
clickAndWait |
link=Vocabularies |
|
assertTitle |
Nuxeo DM - Vocabularies |
Actual value 'Nuxeo WebEngine - Vocabularies' did not match 'Nuxeo DM - Vocabularies' |
verifyElementPresent |
link=continent |
|
verifyElementPresent |
link=country |
|
verifyElementPresent |
link=topic |
|
verifyElementPresent |
link=subtopic |
|
verifyElementPresent |
link=subject |
|
verifyElementPresent |
link=sort_order |
|
verifyElementPresent |
link=search_operators |
|
verifyElementPresent |
link=predicates |
|
verifyElementPresent |
link=inverse_predicates |
|
clickAndWait |
link=continent |
|
assertTitle |
Nuxeo DM - continent |
|
verifyText |
viewDirectoryEntries:nxl_vocabulary:nxw_vocabulary_id |
africa |
verifyText |
viewDirectoryEntries:nxl_vocabulary:nxw_vocabulary_label |
label.directories.continent.africa |
verifyText |
viewDirectoryEntries:nxl_vocabulary:nxw_vocabulary_obsolete_no |
No |
verifyText |
viewDirectoryEntries:nxl_vocabulary:nxw_vocabulary_order |
10,000,000 |
verifyElementPresent |
//input[@id="viewDirectoryEntries:nxl_vocabulary:nxl_vocabulary_editButton"] |
|
verifyElementPresent |
//input[@id="viewDirectoryEntries:nxl_vocabulary:nxl_vocabulary_deleteButton"] |
|
verifyText |
viewDirectoryEntries:nxl_vocabulary_1:nxw_vocabulary_id_1 |
antarctica |
verifyText |
viewDirectoryEntries:nxl_vocabulary_1:nxw_vocabulary_label_1 |
label.directories.continent.antarctica |
verifyText |
viewDirectoryEntries:nxl_vocabulary_1:nxw_vocabulary_obsolete_1_no |
No |
verifyText |
viewDirectoryEntries:nxl_vocabulary_1:nxw_vocabulary_order_1 |
10,000,000 |
verifyElementPresent |
//input[@id="viewDirectoryEntries:nxl_vocabulary_1:nxl_vocabulary_1_editButton"] |
|
verifyElementPresent |
//input[@id="viewDirectoryEntries:nxl_vocabulary_1:nxl_vocabulary_1_deleteButton"] |
|
clickAndWait |
//input[@id="viewDirectoryEntries:nxl_vocabulary_1:nxl_vocabulary_1_editButton"] |
|
verifyText |
editDirectoryEntry:nxl_vocabulary:nxw_vocabulary_id |
antarctica |
verifyValue |
editDirectoryEntry:nxl_vocabulary:nxw_vocabulary_order |
10,000,000 |
verifyValue |
editDirectoryEntry:nxl_vocabulary:nxw_vocabulary_label |
label.directories.continent.antarctica |
type |
editDirectoryEntry:nxl_vocabulary:nxw_vocabulary_label |
label.directories.continent.antarctica.modified |
clickAndWait |
//input[@value="Save"] |
|
verifyTextPresent |
Vocabulary entry edited |
|
verifyText |
viewDirectoryEntries:nxl_vocabulary_1:nxw_vocabulary_label_1 |
label.directories.continent.antarctica.modified |
clickAndWait |
//input[@id="viewDirectoryEntries:nxl_vocabulary_1:nxl_vocabulary_1_editButton"] |
|
type |
editDirectoryEntry:nxl_vocabulary:nxw_vocabulary_label |
label.directories.continent.antarctica |
clickAndWait |
//input[@value="Save"] |
|
verifyText |
viewDirectoryEntries:nxl_vocabulary_1:nxw_vocabulary_label_1 |
label.directories.continent.antarctica |
verifyElementPresent |
link=Add a new vocabulary entry |
|
clickAndWait |
link=Add a new vocabulary entry |
|
type |
addEntryForm:nxl_vocabulary:nxw_vocabulary_id |
africa |
clickAndWait |
//input[@value="Create"] |
|
verifyTextPresent |
The identifier already exists |
|
type |
addEntryForm:nxl_vocabulary:nxw_vocabulary_id |
aatlantide |
type |
addEntryForm:nxl_vocabulary:nxw_vocabulary_label |
label.continent.atlantide |
click |
addEntryForm:nxl_vocabulary:nxw_vocabulary_obsolete_checkbox:1 |
|
clickAndWait |
//input[@value="Create"] |
|
verifyTextPresent |
Vocabulary entry added |
|
assertText |
viewDirectoryEntries:nxl_vocabulary:nxw_vocabulary_id |
aatlantide |
assertText |
viewDirectoryEntries:nxl_vocabulary:nxw_vocabulary_label |
label.continent.atlantide |
assertText |
viewDirectoryEntries:nxl_vocabulary:nxw_vocabulary_obsolete_yes |
Yes |
assertText |
viewDirectoryEntries:nxl_vocabulary:nxw_vocabulary_order |
10,000,000 |
clickAndWait |
//input[@id="viewDirectoryEntries:nxl_vocabulary:nxl_vocabulary_deleteButton"] |
|
assertConfirmation |
Delete selected vocabulary entry? |
|
verifyTextPresent |
Vocabulary entry deleted |
|
assertText |
viewDirectoryEntries:nxl_vocabulary:nxw_vocabulary_id |
africa |
clickAndWait |
//input[@id="viewDirectoryEntries:nxl_vocabulary:nxl_vocabulary_deleteButton"] |
|
assertConfirmation |
Delete selected vocabulary entry? |
|
verifyTextPresent |
This entry is referenced in another vocabulary |
|
clickAndWait |
link=Back to the list |
|
assertTitle |
Nuxeo DM - Vocabularies |
|
open |
logout |
|
|
|
./testMultipleDomainsDashboard.html
testMultipleDomainsDashboard |
open |
logout |
|
open |
nxpath/default@view_domains |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyElementPresent |
link=Default domain |
|
verifyElementNotPresent |
link=New domain |
|
verifyElementPresent |
link=Dashboard |
|
clickAndWait |
link=Dashboard |
|
storeLocation |
dashboardLocation |
|
echo |
javascript{storedVars.dashboardLocation} |
http://localhost:8080/nuxeo/nxpath/default@user_dashboard?subTabId=&tabId=TAB_CONTENT&conversationId=0NXMAIN1 |
verifyElementPresent |
link=My workspaces |
|
verifyElementPresent |
link=testWorskspace1 |
|
verifyElementPresent |
link=testWorkspace2 |
|
verifyElementPresent |
link=Last modified documents |
|
verifyElementPresent |
link=testTopicWithoutModeration |
|
verifyElementPresent |
link=testTopicWithModeration |
|
open |
logout |
|
open |
nxpath/default@view_domains |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
clickAndWait |
link=Create a new domain |
|
type |
//td[@class="fieldColumn"]/input[@type="text"] |
New domain |
clickAndWait |
//input[@value='Create'] |
|
clickAndWait |
link=Workspaces |
|
clickAndWait |
link=Create a new workspace |
|
type |
document_create:nxl_heading:nxw_title |
test workspace in new domain |
clickAndWait |
document_create:button_create |
|
mouseDown |
link=New document |
|
clickAndWait |
link=File |
|
type |
document_create:nxl_heading:nxw_title |
Administrator's file in new domain |
clickAndWait |
document_create:button_create |
|
open |
logout |
|
open |
nxpath/default@view_domains |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyElementPresent |
link=Default domain |
|
verifyElementPresent |
link=New domain |
|
verifyElementPresent |
link=Dashboard |
|
clickAndWait |
link=Dashboard |
|
verifyTextPresent |
Select the domain |
|
select |
selectDashboardDomain:selectDashboardDomainMenu |
label=New domain |
clickAndWait |
selectDashboardDomain:dashboardDomainSubmitButton |
|
verifyElementNotPresent |
link=jdoe |
|
verifyElementNotPresent |
link=testWorskspace1 |
|
verifyElementNotPresent |
link=testWorkspace2 |
|
verifyElementPresent |
link=test workspace in new domain |
|
verifyElementNotPresent |
link=testTopicWithoutModeration |
|
verifyElementNotPresent |
link=testTopicWithModeration |
|
verifyElementPresent |
link=Last modified documents |
|
verifyElementPresent |
link=Administrator's file in new domain |
|
select |
selectDashboardDomain:selectDashboardDomainMenu |
label=Default domain |
clickAndWait |
selectDashboardDomain:dashboardDomainSubmitButton |
|
verifyElementPresent |
link=jdoe |
|
verifyElementPresent |
link=testWorskspace1 |
|
verifyElementPresent |
link=testWorkspace2 |
|
verifyElementNotPresent |
link=test workspace in new domain |
|
verifyElementPresent |
link=Last modified documents |
|
verifyElementPresent |
link=testTopicWithoutModeration |
|
verifyElementPresent |
link=testTopicWithModeration |
|
verifyElementNotPresent |
link=Administrator's file in new domain |
|
open |
logout |
|
open |
nxpath/default@view_domains |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyElementPresent |
link=Default domain |
|
verifyElementPresent |
link=New domain |
|
assertText |
//form[@id="CHILDREN_DOCUMENT_LIST"]//table/tbody/tr[2]/td[3]//span |
New domain |
click |
//form[@id="CHILDREN_DOCUMENT_LIST"]//table/tbody/tr[2]/td[1]//input |
|
waitForEditable |
//input[@value="Delete"] |
|
clickAndWait |
//input[@value="Delete"] |
|
assertConfirmation |
Delete selected document(s)? |
|
verifyElementPresent |
link=Default domain |
|
verifyElementNotPresent |
link=New domain |
|
open |
logout |
|
|
|