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 incoming mail |
clickAndWait |
link=Create |
|
verifyTextPresent |
Case saved |
|
verifyTextPresent |
Case test incoming mail |
|
mouseDown |
link=New |
|
clickAndWait |
link=Case Item |
|
retrieveTestFolderPath |
|
|
type |
document_create:nxl_cm_document:nxw_title |
Test incoming 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_document_dateInputDate |
${currentMonth}/${currentDay}/${currentYear} 12:00 PM |
type |
document_create:nxl_cm_document:nxw_receive_dateInputDate |
${currentMonth}/${currentDay}/${currentYear} 12:00 PM |
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 incoming mail |
|
clickAndWait |
link=Case test incoming mail |
|
click |
//*[@id='addCaseItem'] |
|
clickAndWait |
link=Case Item |
|
type |
document_create:nxl_cm_document:nxw_title |
Test second item |
select |
document_create:nxl_cm_document:nxw_document_type |
Article |
clickAndWait |
link=Create |
|
verifyElementPresent |
link=Test second item |
|
verifyElementPresent |
link=Test incoming mail |
|
assertTextPresent |
Test incoming mail |
|
verifyElementPresent |
link=Test second item |
|
clickAndWait |
link=Test second item |
|
assertTextPresent |
Test second item |
|
clickAndWait |
link=Log out |
|