| open |
/socialdemo/public/classic/ |
|
| windowMaximize |
|
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']//div[@class='ButtonMiddle']/a |
|
| waitForElementPresent |
link=Spaces |
|
| clickAndWait |
link=Spaces |
|
| echo |
-- Add a new Space |
|
| waitForElementPresent |
link=Add New Space |
|
| click |
link=Add New Space |
|
| waitForElementPresent |
displayName |
|
| type |
displayName |
Space16 |
| type |
description |
This is description for Space_16 |
| waitForElementPresent |
link=Create |
|
| click |
link=Create |
|
| pause |
1000 |
|
| echo |
-- Verify space created |
|
| waitForElementPresent |
link=Space16 |
|
| verifyElementPresent |
link=Space16 |
|
| click |
link=Space16 |
|
| waitForTextPresent |
Space16 was created |
|
| verifyTextPresent |
Space16 was created |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
-- - Verify space is displayed in Space Public List of ther user |
|
| open |
/socialdemo/public/classic/ |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
mary |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']//div[@class='ButtonMiddle']/a |
|
| waitForElementPresent |
link=Spaces |
|
| click |
link=Spaces |
|
| waitForElementPresent |
link=Publics |
|
| click |
link=Publics |
|
| pause |
500 |
|
| waitForTextPresent |
This is description for Space_16 |
|
| verifyTextPresent |
This is description for Space_16 |
|
| waitForElementPresent |
//a[@class='Icon IconAdd'] |
|
| verifyElementPresent |
//a[@class='Icon IconAdd'] |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|
| echo |
-- Delete Space created |
|
| open |
/socialdemo/public/classic/ |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']//div[@class='ButtonMiddle']/a |
|
| waitForElementPresent |
link=Spaces |
|
| click |
link=Spaces |
|
| waitForElementPresent |
//a[@title='Delete Space'] |
|
| click |
//a[@title='Delete Space'] |
|
| waitForConfirmation |
Are you sure to delete this space? This can not be undone. All page navigations and this group will be deleted, too. |
|
| echo |
-- Verify space deleted |
|
| waitForTextNotPresent |
Space16 |
|
| verifyTextNotPresent |
Space16 |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|