| open |
/socialdemo/public/classic/ |
|
| windowMaximize |
|
|
| 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 |
Space16 |
| type |
description |
This is description for Space_16 |
| waitForElementPresent |
link=Create |
|
| clickAt |
link=Create |
2,2 |
| pause |
12000 |
|
| echo |
-- Verify space created |
|
| waitForElementPresent |
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 |
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
mary |
| type |
password |
gtn |
| clickAndWait |
//a[@id='UIPortalLoginFormAction'] |
|
| waitForElementPresent |
link=Spaces |
|
| clickAndWait |
link=Spaces |
|
| waitForTextPresent |
This is description for Space_16 |
|
| verifyTextPresent |
This is description for Space_16 |
|
| waitForElementPresent |
//div/a[text()='Space16']/following::ul//a[@title='Join'] |
|
| verifyElementPresent |
//div/a[text()='Space16']/following::ul//a[@title='Join'] |
|
| echo |
-- Sign out |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|