setTimeout |
120000 |
|
open |
/nuxeo/logout |
|
retrieveCurrentDateInfo |
|
|
open |
/nuxeo/ |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
jdoe |
|
verifyTextPresent |
My Mailboxes |
|
verifyElementPresent |
link=Test Mailbox |
|
clickAndWait |
link=Test Mailbox |
|
clickAndWait |
link=Draft |
|
verifyElementPresent |
link=New |
|
clickAndWait |
link=Case |
|
retrieveTestFolderPath |
|
|
type |
document_create:nxl_cm_case:nxw_title |
Case test route mail |
clickAndWait |
link=Create |
|
verifyTextPresent |
Case saved |
|
verifyTextPresent |
Case test route mail |
|
mouseDown |
link=New |
|
clickAndWait |
link=Case Item |
|
retrieveTestFolderPath |
|
|
type |
document_create:nxl_cm_document:nxw_title |
Test route mail |
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 |
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 |
click |
//input[@type='file'] |
|
storeExpression |
javascript{storedVars.testfolderpath + 'hello.pdf';} |
importUrl |
type |
//input[@type='file'] |
${importUrl} |
clickAndWait |
link=Create |
|
verifyElementPresent |
link=Test route mail |
|
clickAndWait |
link=Case test route mail |
|
click |
//*[@id='addCaseItem'] |
|
clickAndWait |
link=Case Item |
|
type |
document_create:nxl_cm_document:nxw_title |
Test route second item |
select |
document_create:nxl_cm_document:nxw_document_type |
Article |
clickAndWait |
link=Create |
|
verifyElementPresent |
link=Test route mail |
|
verifyElementPresent |
link=Test route second item |
|
assertTextPresent |
Test route mail |
|
clickAndWait |
link=Test route second item |
|
verifyTextPresent |
Test route second item |
|
clickAndWait |
link=Case test route mail |
|
clickAndWait |
link=Distribute |
|
clickAndWait |
link=Mailboxes |
|
watchA4jRequests |
|
|
typeKeys |
//input[@id='distribution_participants:nxl_cm_participants:nxw_action_participants_suggest'] |
john |
waitForA4jRequest |
10000 |
|
verifyText |
//*[@id='distribution_participants:nxl_cm_participants:nxw_action_participants_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
John Doe (Nuxeo) |
watchA4jRequests |
|
|
click |
//*[@id='distribution_participants:nxl_cm_participants:nxw_action_participants_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForA4jRequest |
10000 |
|
type |
distribution_participants:nxl_cm_participants:nxw_distribution_comment |
my distribution test comment |
clickAndWait |
Link=Send |
|
verifyTextPresent |
Case test route mail |
|
verifyTextPresent |
The distribution is done |
|
clickAndWait |
link=Log out |
|