| echo |
--SOC_Fun_SPC_01.017_Create Default space -- |
|
| open |
/socialdemo/public/classic/ |
|
| echo |
-- sign in-- |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
john |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| echo |
-- add new space-- |
|
| clickAndWait |
link=Spaces |
|
| click |
link=Add New Space |
|
| waitForElementPresent |
name |
|
| type |
name |
DefaultSpace |
| type |
description |
this is default space |
| click |
link=Create |
|
| pause |
2000 |
|
| echo |
-- access space-- |
|
| waitForElementPresent |
//div[@id='UIManageMySpaces']/div[2]/div[2]/div[1]/div[1]/div[1]/a |
|
| clickAndWait |
//div[@id='UIManageMySpaces']/div[2]/div[2]/div[1]/div[1]/div[1]/a |
|
| clickAndWait |
//div[@id='UISpaceMenu']/div/div[5]/a/span |
|
| click |
//div[@id='UITabPane']/div[1]/div/div[2]/div/div/div/div |
|
| echo |
-- verify the default properties-- |
|
| click |
//form[@id='UISpacePermission']/div[2]/div/div/table/tbody/tr/td/div/div/div/div/a |
|
| verifyValue |
Visibility |
on |
| verifyValue |
//input[@name='Registration' and @value='validation'] |
on |
| pause |
1000 |
|
| clickAndWait |
link=Spaces |
|
| echo |
--delete space to clean data-- |
|
| click |
//div[2]/div[2]/div[1]/div[1]/a[1] |
|
| assertConfirmation |
Are you sure to delete this space? This can not be undone. All page navigations and this group will be deleted, too. |
|
| clickAndWait |
link=Sign out |
|