| open |
/portal/public/intranet/ |
|
| windowMaximize |
|
|
| echo |
--Access Space-- |
|
| click |
//div[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
mary |
| type |
password |
gtn |
| echo |
--Log in |
|
| clickAndWait |
id=UIPortalLoginFormAction |
|
| echo |
--My Spaces |
|
| waitForElementPresent |
link=My Spaces |
|
| clickAndWait |
link=My Spaces |
|
| echo |
-- Add a new Space |
|
| waitForElementPresent |
link=Add New Space |
|
| click |
link=Add New Space |
|
| waitForElementPresent |
displayName |
|
| type |
displayName |
Space01 |
| type |
description |
This is description for Space_01 |
| click |
link=Create |
|
| pause |
30000 |
|
| echo |
-- Verify space created in the list |
|
| waitForElementPresent |
link=Space01 |
|
| click |
link=Space01 |
|
| waitForTextPresent |
Space01 was created |
|
| verifyTextPresent |
Space01 was created |
|
| echo |
-- Logout |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|