setTimeout |
30000 |
|
open |
restAPI/systemLog?token=dolog&level=WARN&message=----- Selenium createUsers |
|
open |
logout |
|
type |
username |
Administrator |
type |
password |
Administrator |
clickAndWait |
Submit |
|
verifyTextPresent |
Administrator |
|
clickAndWait |
Link=Admin Center |
|
clickAndWait |
Link=Users & Groups |
|
watchA4jRequests |
|
|
click |
link=Create a new user |
|
waitForA4jRequest |
10000 |
|
type |
//input[@id='createUserView:createUser:nxl_user:nxw_username'] |
jdoe |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_firstname'] |
John |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_lastname'] |
Doe |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_company'] |
Nuxeo |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_firstPassword'] |
jdoe1 |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_secondPassword'] |
foo |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_email'] |
sg+jdoe@nuxeo.com |
select2Type |
css=div[id$='nxw_groups_select2'] |
members |
waitForSelect2 |
10000 |
Timed out after 10000ms |
clickAt |
css=.select2-result-selectable |
Element css=.select2-result-selectable not found |
watchA4jRequests |
|
|
click |
//input[@value='Save'] |
|
waitForA4jRequest |
10000 |
|
verifyTextPresent |
Passwords do not match |
|
type |
//input[@id='createUserView:createUser:nxl_user:nxw_firstPassword'] |
jdoe1 |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_secondPassword'] |
jdoe1 |
watchA4jRequests |
|
|
click |
//input[@value='Save'] |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
link=Change password |
|
waitForA4jRequest |
10000 |
|
type |
//input[@id='viewUserView:editUserPassword:nxl_user_3:nxw_firstPassword_1'] |
jdoe1 |
type |
//input[@id='viewUserView:editUserPassword:nxl_user_3:nxw_secondPassword_1'] |
foo |
watchA4jRequests |
|
|
click |
//input[@value='Save'] |
|
waitForA4jRequest |
10000 |
|
verifyTextPresent |
Passwords do not match |
|
type |
//input[@id='viewUserView:editUserPassword:nxl_user_3:nxw_firstPassword_1'] |
jdoe1 |
type |
//input[@id='viewUserView:editUserPassword:nxl_user_3:nxw_secondPassword_1'] |
jdoe1 |
watchA4jRequests |
|
|
click |
//input[@value='Save'] |
|
waitForA4jRequest |
10000 |
|
verifyTextPresent |
sg+jdoe@nuxeo.com |
|
watchA4jRequests |
|
|
click |
link=Back to the list |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
link=Create a new user |
|
waitForA4jRequest |
10000 |
|
type |
//input[@id='createUserView:createUser:nxl_user:nxw_username'] |
jdoe |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_email'] |
sg+jdoe@nuxeo.com |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_firstPassword'] |
jdoe1 |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_secondPassword'] |
jdoe1 |
watchA4jRequests |
|
|
click |
//input[@value='Save'] |
|
waitForA4jRequest |
10000 |
|
waitForTextPresent |
User already exists |
|
type |
//input[@id='createUserView:createUser:nxl_user:nxw_username'] |
jsmith |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_firstname'] |
John |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_lastname'] |
Smith |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_company'] |
Nuxeo |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_email'] |
sg+jsmith@nuxeo.com |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_firstPassword'] |
jsmith1 |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_secondPassword'] |
jsmith1 |
select2Type |
css=div[id$='nxw_groups_select2'] |
members |
waitForSelect2 |
10000 |
|
clickAt |
css=.select2-result-selectable |
|
watchA4jRequests |
|
|
click |
//input[@value='Save'] |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
link=Change password |
|
waitForA4jRequest |
10000 |
|
type |
//input[@id='viewUserView:editUserPassword:nxl_user_3:nxw_firstPassword_1'] |
jsmith1 |
type |
//input[@id='viewUserView:editUserPassword:nxl_user_3:nxw_secondPassword_1'] |
jsmith1 |
watchA4jRequests |
|
|
click |
//input[@value='Save'] |
|
waitForA4jRequest |
10000 |
|
verifyTextPresent |
sg+jsmith@nuxeo.com |
|
watchA4jRequests |
|
|
click |
link=Back to the list |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
link=Create a new user |
|
waitForA4jRequest |
10000 |
|
type |
//input[@id='createUserView:createUser:nxl_user:nxw_username'] |
bree |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_firstname'] |
Bree |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_lastname'] |
Van de Kaamp |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_company'] |
Nuxeo |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_email'] |
sg+bree@nuxeo.com |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_firstPassword'] |
bree1 |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_secondPassword'] |
bree1 |
select2Type |
css=div[id$='nxw_groups_select2'] |
members |
waitForSelect2 |
10000 |
|
clickAt |
css=.select2-result-selectable |
|
watchA4jRequests |
|
|
click |
//input[@value='Save'] |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
link=Change password |
|
waitForA4jRequest |
10000 |
|
type |
//input[@id='viewUserView:editUserPassword:nxl_user_3:nxw_firstPassword_1'] |
bree1 |
type |
//input[@id='viewUserView:editUserPassword:nxl_user_3:nxw_secondPassword_1'] |
bree1 |
watchA4jRequests |
|
|
click |
//input[@value='Save'] |
|
waitForA4jRequest |
10000 |
|
verifyTextPresent |
sg+bree@nuxeo.com |
|
watchA4jRequests |
|
|
click |
link=Back to the list |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
link=Create a new user |
|
waitForA4jRequest |
10000 |
|
type |
//input[@id='createUserView:createUser:nxl_user:nxw_username'] |
lbramard |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_firstname'] |
Lucien |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_lastname'] |
Bramard |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_company'] |
Nuxeo |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_firstPassword'] |
lbramard1 |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_secondPassword'] |
lbramard1 |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_email'] |
sg+lbramard@nuxeo.com |
select2Type |
css=div[id$='nxw_groups_select2'] |
members |
waitForSelect2 |
10000 |
|
clickAt |
css=.select2-result-selectable |
|
watchA4jRequests |
|
|
click |
//input[@value='Save'] |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
link=Change password |
|
waitForA4jRequest |
10000 |
|
type |
//input[@id='viewUserView:editUserPassword:nxl_user_3:nxw_firstPassword_1'] |
lbramard1 |
type |
//input[@id='viewUserView:editUserPassword:nxl_user_3:nxw_secondPassword_1'] |
lbramard1 |
watchA4jRequests |
|
|
click |
//input[@value='Save'] |
|
waitForA4jRequest |
10000 |
|
verifyTextPresent |
sg+lbramard@nuxeo.com |
|
watchA4jRequests |
|
|
click |
link=Back to the list |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
link=Create a new user |
|
waitForA4jRequest |
10000 |
|
type |
//input[@id='createUserView:createUser:nxl_user:nxw_username'] |
linnet |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_firstname'] |
Linnet |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_lastname'] |
Scavo |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_company'] |
Nuxeo |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_firstPassword'] |
linnet1 |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_secondPassword'] |
linnet1 |
type |
//input[@id='createUserView:createUser:nxl_user:nxw_email'] |
sg+linnet@nuxeo.com |
select2Type |
css=div[id$='nxw_groups_select2'] |
members |
waitForSelect2 |
10000 |
|
clickAt |
css=.select2-result-selectable |
|
watchA4jRequests |
|
|
click |
//input[@value='Save'] |
|
waitForA4jRequest |
10000 |
|
watchA4jRequests |
|
|
click |
link=Change password |
|
waitForA4jRequest |
10000 |
|
type |
//input[@id='viewUserView:editUserPassword:nxl_user_3:nxw_firstPassword_1'] |
linnet1 |
type |
//input[@id='viewUserView:editUserPassword:nxl_user_3:nxw_secondPassword_1'] |
linnet1 |
watchA4jRequests |
|
|
click |
//input[@value='Save'] |
|
waitForA4jRequest |
10000 |
|
verifyTextPresent |
sg+linnet@nuxeo.com |
|
clickAndWait |
link=Log out |
|