setTimeout |
120000 |
|
open |
/nuxeo/logout |
|
open |
/nuxeo/ |
|
type |
username |
jdoe |
type |
password |
jdoe1 |
clickAndWait |
Submit |
|
clickAndWait |
Link=Workspaces |
|
clickAndWait |
Link=routeTest |
|
click |
link=New |
|
clickAndWait |
Link=Route |
|
type |
document_create:nxl_heading:nxw_title |
routeToModify |
clickAndWait |
//input[@value='Create'] |
|
click |
link=New |
|
clickAndWait |
link=Step |
|
type |
document_create:nxl_heading:nxw_title |
B |
clickAndWait |
//input[@value='Create'] |
|
clickAndWait |
link=routeToModify |
|
clickAndWait |
link=Route |
|
clickAndWait |
Link=Lock |
|
getActionButtonIdFromStep |
xpath=//*[@title='0_0_0_B'] |
B |
click |
${B} |
|
click |
Link=Add before |
|
verifyTextPresent |
Select the type of your new document in the list below. |
|
clickAndWait |
selectRouteElementsTypeForCreationForm:selectRouteElementsTypeForCreationTable:0:selectRouteElementTypeForCreationCategory:0:selectRouteElementsTypeForCreationCategoryTable:0:selectRouteElementsTypeForCreationCategoryTitleLink |
|
type |
document_create:nxl_heading:nxw_title |
A |
clickAndWait |
//input[@value='Create'] |
|
click |
dm_route_elements:nxl_document_routing_route_content_1:nxw_dr_listing_step_actions_1:nxw_dr_listing_step_actions_1_add:addStepInForActionList:0:step_0 |
|
clickAndWait |
Link=Fork |
|
type |
document_create:nxl_heading:nxw_title |
C |
clickAndWait |
//input[@value='Create'] |
|
click |
dm_route_elements:nxl_document_routing_route_content_2:nxw_dr_listing_step_actions_2:nxw_dr_listing_step_actions_2_add:addStepInForkActionList:0:step_0 |
|
clickAndWait |
Link=Step |
|
type |
document_create:nxl_heading:nxw_title |
C1 |
clickAndWait |
//input[@value='Create'] |
|
click |
dm_route_elements:nxl_document_routing_route_content_2:nxw_dr_listing_document_route_folder_element_type:nxw_dr_listing_document_route_folder_element_type:nxw_dr_listing_document_route_folder_element_type_add:addStepInForActionList:0:step_0 |
|
clickAndWait |
Link=Step |
|
type |
document_create:nxl_heading:nxw_title |
D |
clickAndWait |
//input[@value='Create'] |
|
click |
dm_route_elements:nxl_document_routing_route_content_2:nxw_dr_listing_step_actions_2:nxw_dr_listing_step_actions_2_add:addStepInForActionList:1:step_0 |
|
clickAndWait |
Link=Step |
|
type |
document_create:nxl_heading:nxw_title |
C0 |
clickAndWait |
//input[@value='Create'] |
|
click |
dm_route_elements:nxl_document_routing_route_content_3:nxw_dr_listing_step_actions_3:nxw_dr_listing_step_actions_3_add:addStepInForActionList:0:step_0 |
|
clickAndWait |
Link=Step |
|
type |
document_create:nxl_heading:nxw_title |
C2 |
clickAndWait |
//input[@value='Create'] |
|
verifyElementPresent |
//span[@title='0_0_0_A'] |
|
verifyElementPresent |
//span[@title='1_0_0_B'] |
|
verifyElementPresent |
//span[@title='2_1_1_C0'] |
|
verifyElementPresent |
//span[@title='3_1_0_C1'] |
|
verifyElementPresent |
//span[@title='4_1_0_C2'] |
|
verifyElementPresent |
//span[@title='5_0_0_D'] |
|
clickAndWait |
Link=Unlock |
|
clickAndWait |
link=A |
|
clickAndWait |
link=Comments |
|
clickAndWait |
link=Add a comment |
|
type |
//textarea |
Comment number 1 |
clickAndWait |
//input[@value='Add'] |
|
clickAndWait |
link=routeToModify |
|
clickAndWait |
link=Route |
|
verifyTextPresent |
1 |
|
open |
/nuxeo/logout |
|