setTimeout |
120000 |
|
open |
/nuxeo/logout |
|
retrieveCurrentDateInfo |
|
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
jdoe |
|
clickAndWait |
link=Draft |
|
verifyElementPresent |
link=New |
|
mouseDown |
link=New |
|
verifyElementPresent |
link=Manage |
|
clickAndWait |
link=Manage |
|
select |
document_edit:nxl_cm_mailbox:nxw_mailbox_profiles |
label=Incoming Mail Management |
clickAndWait |
//input[@value='Save'] |
|
verifyTextPresent |
Mailbox modified |
|
open |
/nuxeo/logout |
|
retrieveCurrentDateInfo |
|
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
jdoe |
|
clickAndWait |
link=Draft |
|
verifyElementPresent |
link=New |
|
mouseDown |
link=New |
|
clickAndWait |
link=Incoming mail |
|
verifyTextPresent |
Create a new document Incoming mail |
|
retrieveTestFolderPath |
|
|
type |
document_create:nxl_cm_document:nxw_title |
Incoming mail for Bree, cc to Linnet |
select |
document_create:nxl_cm_document:nxw_document_type |
Article |
watchA4jRequests |
|
|
click |
document_create:nxl_cm_document:nxw_contactsParticipants:nxw_contactsParticipants_add |
|
waitForA4jRequest |
10000 |
|
type |
document_create:nxl_cm_document:nxw_contactsParticipants:nxw_contactsParticipants_list:0:nxw_contactsParticipants_name |
Name1 |
type |
document_create:nxl_cm_document:nxw_contactsParticipants:nxw_contactsParticipants_list:0:nxw_contactsParticipants_surname |
Surname1 |
type |
document_create:nxl_cm_document:nxw_contactsParticipants:nxw_contactsParticipants_list:0:nxw_contactsParticipants_service |
Service1 |
type |
document_create:nxl_cm_document:nxw_document_dateInputDate |
${currentDay}/${currentMonth}/${currentYear} 00:00 |
type |
document_create:nxl_cm_document:nxw_receive_dateInputDate |
${currentDay}/${currentMonth}/${currentYear} 00:01 |
type |
document_create:nxl_correspondence_document:nxw_sending_dateInputDate |
${currentDay}/${currentMonth}/${currentYear} 00:02 |
type |
document_create:nxl_head_correspondence_incoming_document:nxw_scan_dateInputDate |
${currentDay}/${currentMonth}/${currentYear} 00:03 |
watchA4jRequests |
|
|
click |
document_create:nxl_cm_document:nxw_contactsSenders:nxw_contactsSenders_add |
|
waitForA4jRequest |
10000 |
|
type |
document_create:nxl_cm_document:nxw_contactsSenders:nxw_contactsSenders_list:0:nxw_contactsSenders_name |
Name2 |
type |
document_create:nxl_cm_document:nxw_contactsSenders:nxw_contactsSenders_list:0:nxw_contactsSenders_surname |
Surname2 |
type |
document_create:nxl_cm_document:nxw_contactsSenders:nxw_contactsSenders_list:0:nxw_contactsSenders_service |
Service2 |
type |
document_create:nxl_cm_document:nxw_reference |
Test Mail reference |
type |
document_create:nxl_head_correspondence_incoming_document:nxw_scan_site |
Test Mail scan site |
click |
//input[@type='file'] |
|
type |
//input[@type='file'] |
${testfolderpath}/data/hello.pdf |
watchA4jRequests |
|
|
clickAndWait |
link=Create |
|
verifyTextPresent |
Incoming mail saved |
|
watchA4jRequests |
|
|
typeKeys |
//input[@id='document_properties:nxl_cm_participants:nxw_action_participants_suggest'] |
Bree |
waitForA4jRequest |
10000 |
|
verifyText |
//*[@id='document_properties:nxl_cm_participants:nxw_action_participants_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Bree Van de Kaamp (Nuxeo) |
watchA4jRequests |
|
|
click |
//*[@id='document_properties:nxl_cm_participants:nxw_action_participants_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
typeKeys |
//input[@id='document_properties:nxl_cm_participants:nxw_copy_participants_suggest'] |
linn |
waitForA4jRequest |
10000 |
|
verifyText |
//*[@id='document_properties:nxl_cm_participants:nxw_copy_participants_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Linnet Scavo (Nuxeo) |
watchA4jRequests |
|
|
click |
//*[@id='document_properties:nxl_cm_participants:nxw_copy_participants_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForA4jRequest |
10000 |
|
type |
document_properties:nxl_cm_participants:nxw_distribution_comment |
my distribution test comment |
clickAndWait |
Link=Initial distribution |
|
verifyTextPresent |
The distribution is done |
|
verifyTextPresent |
Incoming mail for Bree, cc to Linnet |
Incoming mail for Bree, cc to Linnet |
verifyTextPresent |
Incoming mail for Bree, cc to Linnet |
|
clickAndWait |
link=Routing history |
|
verifyTextPresent |
my distribution test comment |
|
verifyTextPresent |
Bree Van de Kaamp |
|
verifyTextPresent |
Linnet Scavo |
|
clickAndWait |
link=John Doe (Nuxeo) |
|
clickAndWait |
link=Sent |
|
verifyElementPresent |
link=Incoming mail for Bree, cc to Linnet |
|
clickAndWait |
link=Incoming mail for Bree, cc to Linnet |
|
verifyTitle |
Nuxeo-Correspondence - Incoming mail for Bree, cc to Linnet |
|
clickAndWait |
link=Test Mailbox |
|
clickAndWait |
link=Draft |
|
verifyTextNotPresent |
Incoming mail for Bree, cc to Linnet |
|
clickAndWait |
link=Log out |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
bree |
|
clickAndWait |
link=Bree Van de Kaamp (Nuxeo) |
|
clickAndWait |
link=Inbox |
|
verifyElementPresent |
link=Incoming mail for Bree, cc to Linnet |
|
clickAndWait |
link=Log out |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
linnet |
|
clickAndWait |
link=Linnet Scavo (Nuxeo) |
|
clickAndWait |
link=Inbox |
|
verifyElementPresent |
link=Incoming mail for Bree, cc to Linnet |
|
clickAndWait |
link=Log out |
|