setTimeout |
120000 |
|
retrieveCurrentDateInfo |
|
|
open |
/nuxeo/logout |
|
open |
/nuxeo/login.jsp |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
clickAndWait |
Link=Admin Center |
|
clickAndWait |
Link=Users & groups |
|
watchA4jRequests |
|
|
click |
link=Groups |
|
waitForA4jRequest |
10000 |
|
type |
//input[@id='groupsListingView:searchForm:searchText'] |
admi |
click |
//input[@id='groupsListingView:searchForm:searchButton'] |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
link=administrators |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
link=Edit |
|
waitForA4jRequest |
10000 |
|
typeKeys |
//input[@name='viewGroupView:editGroup:nxl_group_2:nxw_group_members_2_suggest'] |
doe |
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('viewGroupView:editGroup:nxl_group_2:nxw_group_members_2_suggestionBox').style.display != 'none' |
10000 |
verifyText |
//*[@id='viewGroupView:editGroup:nxl_group_2:nxw_group_members_2_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
John Doe |
watchA4jRequests |
|
|
click |
//*[@id='viewGroupView:editGroup:nxl_group_2:nxw_group_members_2_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById('viewGroupView:editGroup:nxl_group_2:nxw_group_members_2_list:1:nxw_group_members_2_listItem') != null |
10000 |
watchA4jRequests |
|
|
click |
//input[@value='Save'] |
|
waitForA4jRequest |
10000 |
|
open |
/nuxeo/logout |
|
open |
/nuxeo/ |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
watchA4jRequests |
|
|
click |
//*[@id="virtualNavTreeTab:virtualNavTreeList:3:virtualNavTreeLink"] |
|
waitForA4jRequest |
10000 |
|
verifyElementPresent |
link=Routes - John Doe (Nuxeo) |
|
clickAndWait |
link=Routes - John Doe (Nuxeo) |
|
clickAndWait |
link=RouteDoc |
|
verifyTextPresent |
draft |
|
clickAndWait |
//input[@value='Validate model'] |
|
verifyTextPresent |
validated |
|
clickAndWait |
link=Route |
|
verifyElementNotPresent |
//input[@value='edit'] |
|
clickAndWait |
link=Manage |
|
watchA4jRequests |
|
|
typeKeys |
//input[@name='document_view:nxl_summary_document_route_layout:nxl_document_routing_instance:nxw_participatingDocuments_suggest'] |
Case test route mail |
waitForA4jRequest |
10000 |
|
verifyText |
//*[@id='document_view:nxl_summary_document_route_layout:nxl_document_routing_instance:nxw_participatingDocuments_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
Case test route mail |
watchA4jRequests |
|
|
click |
//*[@id='document_view:nxl_summary_document_route_layout:nxl_document_routing_instance:nxw_participatingDocuments_suggestionBox:suggest']/x:tbody/x:tr[1]/x:td[2] |
|
waitForA4jRequest |
10000 |
|
verifyTextPresent |
Case test route mail |
|
clickAndWait |
//input[@value='Execute route'] |
|
clickAndWait |
link=Manage |
|
verifyText |
//form[@id='orderable_document_content']/table/tbody/tr[1]/td[8] |
validated |
verifyText |
//form[@id='orderable_document_content']/table/tbody/tr[5]/td[8] |
validated |
clickAndWait |
Link=Route |
|
verifyTextPresent |
A |
|
verifyTextPresent |
B |
|
verifyTextPresent |
C |
|
verifyTextPresent |
C1 |
|
verifyTextPresent |
C1.1 |
|
verifyTextPresent |
C1.2 |
|
verifyTextPresent |
C2 |
|
verifyTextPresent |
C2.1 |
|
verifyTextPresent |
C2.2 |
|
verifyTextPresent |
C2.2.1 |
|
verifyTextPresent |
C2.2.2 |
|
verifyTextPresent |
C2.3 |
|
verifyTextPresent |
D |
|
verifyTextPresent |
E |
|
verifyTextPresent |
DecisionalDistributionTask |
|
verifyTextPresent |
F.1 |
|
verifyTextPresent |
F.2 |
|
watchA4jRequests |
|
|
click |
virtualNavTreeTab:virtualNavTreeList:1:virtualNavTreeLink |
|
waitForA4jRequest |
10000 |
|
waitForTextPresent |
Test Mailbox Child |
|
clickAndWait |
Link=Test Mailbox Child |
|
verifyTextPresent |
Case test route mail |
|
clickAndWait |
Link=Case test route mail |
|
verifyTextNotPresent |
Approve |
|
clickAndWait |
Link=Test personal Mailbox |
|
verifyTextPresent |
Approve |
|
clickAndWait |
Link=Approve |
|
verifyTextNotPresent |
Approve |
|
verifyTextNotPresent |
Case test route mail |
|
clickAndWait |
Link=Test Mailbox |
|
verifyTextPresent |
Approve |
|
clickAndWait |
Link=Approve |
|
clickAndWait |
Link=Test Mailbox |
|
verifyTextPresent |
Approve |
|
clickAndWait |
Link=Approve |
|
verifyTextNotPresent |
Case test route mail |
|
verifyTextNotPresent |
Approve |
|
open |
/nuxeo/logout |
|
open |
/nuxeo/ |
|
type |
username |
bree |
type |
password |
bree1 |
clickAndWait |
Submit |
|
verifyTextPresent |
Approve |
|
clickAndWait |
Link=Approve |
|
verifyTextPresent |
Approve |
|
clickAndWait |
Link=Approve |
|
verifyTextNotPresent |
Approve |
|
verifyTextNotPresent |
Case test route mail |
|
open |
/nuxeo/logout |
|
open |
/nuxeo/ |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
verifyTextPresent |
Approve |
|
clickAndWait |
Link=Approve |
|
clickAndWait |
Link=John Doe (Nuxeo) |
|
verifyTextPresent |
Approve |
|
clickAndWait |
Link=Approve |
|
verifyTextNotPresent |
Approve |
|
open |
/nuxeo/logout |
|
open |
/nuxeo/ |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
Approve |
|
clickAndWait |
Link=Approve |
|
verifyTextNotPresent |
Approve |
|
verifyTextNotPresent |
Case test route mail |
|
open |
/nuxeo/logout |
|
open |
/nuxeo/ |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
Case test route mail |
|
clickAndWait |
Link=Case test route mail |
|
open |
/nuxeo/logout |
|
open |
/nuxeo/ |
|
type |
username |
linnet |
type |
password |
linnet1 |
clickAndWait |
Submit |
|
verifyTextPresent |
Approve |
|
clickAndWait |
Link=Approve |
|
verifyTextNotPresent |
Approve |
|
open |
/nuxeo/logout |
|
open |
/nuxeo/ |
|
type |
username |
jsmith |
type |
password |
jsmith1 |
clickAndWait |
Submit |
|
verifyTextPresent |
Approve |
|
clickAndWait |
Link=Approve |
|
verifyTextNotPresent |
Approve |
|
verifyTextNotPresent |
Case test route mail |
|
open |
/nuxeo/logout |
|
open |
/nuxeo/nxpath/default/case-management/document-route-instances-root/${currentYear}/${currentMonth}/${currentDay}/RouteDoc@view_documents |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
clickAndWait |
link=Route |
|
clickAndWait |
link=Manage |
|
verifyTextNotPresent |
project |
|
verifyTextNotPresent |
running |
|
verifyTextNotPresent |
ready |
|
verifyText |
//span[@id='orderable_document_content:nxl_document_listing_ajax:nxw_listing_lifecycle'] |
done |
verifyText |
//span[@id='orderable_document_content:nxl_document_listing_ajax_1:nxw_listing_lifecycle_1'] |
done |
verifyText |
//span[@id='orderable_document_content:nxl_document_listing_ajax_2:nxw_listing_lifecycle_2'] |
done |
verifyText |
//span[@id='orderable_document_content:nxl_document_listing_ajax_3:nxw_listing_lifecycle_3'] |
done |
verifyText |
//span[@id='orderable_document_content:nxl_document_listing_ajax_4:nxw_listing_lifecycle_4'] |
done |
verifyText |
//span[@id='orderable_document_content:nxl_document_listing_ajax_5:nxw_listing_lifecycle_5'] |
done |
open |
/nuxeo/nxpath/default/case-management/document-route-instances-root/${currentYear}/${currentMonth}/${currentDay}/RouteDoc/F@view_documents |
|
verifyTextPresent |
Option 1 |
|
verifyTextPresent |
Option 2 |
|
verifyText |
//span[@id='orderable_document_content:nxl_document_listing_ajax_1:nxw_listing_lifecycle_1'] |
done |
verifyText |
//span[@id='orderable_document_content:nxl_document_listing_ajax_2:nxw_listing_lifecycle_2'] |
canceled |
open |
/nuxeo/logout |
|