| open |
/socialdemo/public/classic/ |
|
| windowMaximize |
|
|
| echo |
-- Sign in |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| 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 |
Space03 |
| type |
description |
This is description for Space_03 |
| waitForElementPresent |
link=Create |
|
| clickAt |
link=Create |
2,2 |
| pause |
2000 |
|
| echo |
-- Verify space created |
|
| waitForElementPresent |
link=Space03 |
|
| click |
link=Space03 |
|
| waitForTextPresent |
Space03 was created |
|
| verifyTextPresent |
Space03 was created |
|
| echo |
-- Search with Invalid value |
|
| clickAndWait |
link=Spaces |
|
| waitForElementPresent |
SpaceSearch |
|
| type |
SpaceSearch |
Blank |
| click |
id=SearchButton |
|
| waitForTextPresent |
Spaces Found: 0 matching 'Blank' search. |
|
| verifyTextPresent |
Spaces Found: 0 matching 'Blank' search. |
|
| echo |
-- Search with Valid value |
|
| waitForElementPresent |
SpaceSearch |
|
| type |
SpaceSearch |
Space03 |
| click |
id=SearchButton |
|
| waitForTextPresent |
This is description for Space_03 |
|
| verifyTextPresent |
This is description for Space_03 |
|
| echo |
-- Search with Invalid directory value : A |
|
| click |
link=A |
|
| waitForTextPresent |
Spaces Found: 0 matching 'A' filter. |
|
| verifyTextPresent |
Spaces Found: 0 matching 'A' filter. |
|
| echo |
-- Search with Valid directory value |
|
| click |
link=S |
|
| waitForTextPresent |
This is description for Space_03 |
|
| verifyTextPresent |
This is description for Space_03 |
|
| echo |
-- Delete Space created |
|
| waitForElementPresent |
link=Spaces |
|
| clickAndWait |
link=Spaces |
|
| waitForElementPresent |
//div//a[text()='Space03']/ancestor::div/ul//a[@title='Delete'] |
|
| click |
//div//a[text()='Space03']/ancestor::div/ul//a[@title='Delete'] |
|
| waitForConfirmation |
Cannot undo one deleted space with all its page navigations and group. Are you sure to delete this space? |
|
| echo |
-- Verify space deleted |
|
| waitForTextNotPresent |
Space03 |
|
| verifyTextNotPresent |
Space03 |
|
| echo |
-- Sign out |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|