| open |
restAPI/systemLog?token=dolog&level=INFO&message=-----Selenium testUserRelationships |
|
| 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 |
3000 |
|
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
jdoh |
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_email"] |
jdoh@social.workspace.org |
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstPassword"] |
pwd |
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_secondPassword"] |
pwd |
| watchA4jRequests |
|
|
| click |
//input[@value='Save and create'] |
|
| waitForA4jRequest |
12000 |
|
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
mistert |
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_lastname"] |
Tureaud |
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstname"] |
Laurence |
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_email"] |
mt@social.workspace.org |
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstPassword"] |
pwd |
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_secondPassword"] |
pwd |
| watchA4jRequests |
|
|
| click |
//input[@value='Save and create'] |
|
| waitForA4jRequest |
12000 |
|
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_username"] |
shedlund |
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_lastname"] |
Hedlund |
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstname"] |
Stieg |
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_email"] |
sh@social.workspace.org |
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_firstPassword"] |
pwd |
| type |
//*[@id="createUserView:createUser:nxl_user:nxw_secondPassword"] |
pwd |
| watchA4jRequests |
|
|
| click |
//input[@value='Save'] |
|
| waitForA4jRequest |
12000 |
|
| verifyTextNotPresent |
Relationship added successfully |
|
| waitForElementPresent |
link=Add |
|
| click |
link=Add |
|
| watchA4jRequests |
|
|
| click |
//input[@type='checkbox'] |
|
| waitForA4jRequest |
12000 |
|
| waitForTextPresent |
Relationship added successfully |
|
| watchA4jRequests |
|
|
| click |
//input[@type='checkbox'] |
|
| waitForA4jRequest |
12000 |
|
| waitForTextPresent |
Relationship removed successfully |
|
| watchA4jRequests |
|
|
| click |
//input[@type='checkbox'] |
|
| waitForA4jRequest |
12000 |
|
| watchA4jRequests |
|
|
| click |
link=Back to the list |
|
| waitForA4jRequest |
12000 |
|
| type |
id=usersListingView:searchForm:searchText |
|
| typeKeys |
id=usersListingView:searchForm:searchText |
miste |
| watchA4jRequests |
|
|
| click |
//input[@id='usersListingView:searchForm:searchButton'] |
|
| waitForA4jRequest |
10000 |
|
| watchA4jRequests |
|
|
| click |
xpath=id('usersListingView:users_listing')/x:table[1]/x:tbody[1]/x:tr[1]/x:td[1]/x:div[1]/x:a[1] |
|
| waitForA4jRequest |
10000 |
|
| waitForTextPresent |
Laurence has no relation |
|
| waitForElementPresent |
link=Add |
|
| click |
link=Add |
|
| watchA4jRequests |
|
|
| click |
//input[@type='checkbox'] |
|
| waitForA4jRequest |
12000 |
|
| watchA4jRequests |
|
|
| click |
link=Back to the list |
|
| waitForA4jRequest |
12000 |
|
| clickAndWait |
link=Home |
|
| clickAndWait |
link=Network |
|
| watchA4jRequests |
|
|
| click |
id=relationshipNetworkView:searchForm:clearButton |
|
| waitForA4jRequest |
12000 |
|
| verifyTextPresent |
No user matching |
|
| verifyTextPresent |
Stieg Hedlund |
|
| verifyTextPresent |
friends |
|
| verifyTextNotPresent |
jdo |
|
| waitForElementPresent |
//input[@id='relationshipNetworkView:searchForm:searchText'] |
|
| typeKeys |
//input[@id='relationshipNetworkView:searchForm:searchText'] |
|
| type |
//input[@id='relationshipNetworkView:searchForm:searchText'] |
jdo |
| keyUp |
//input[@id='relationshipNetworkView:searchForm:searchText'] |
o |
| waitForTextPresent |
jdoh |
|
| clickAndWait |
link=jdoh |
|
| verifyTextPresent |
Username |
|