| open |
/portal/public/intranet/ |
|
| windowMaximize |
|
|
| echo |
-- Access new Space -- |
|
| click |
//b[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
demo |
| type |
password |
gtn |
| echo |
--Log in |
|
| clickAndWait |
id=UIPortalLoginFormAction |
|
| 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 |
Space04 |
| type |
description |
This is description for Space_04 |
| click |
link=Create |
|
| pause |
30000 |
|
| echo |
-- Verify space created |
|
| waitForElementPresent |
link=Space04 |
|
| click |
link=Space04 |
|
| waitForTextPresent |
Space04 was created |
|
| verifyTextPresent |
Space04 was created |
|
| echo |
-- Focus Home Iteams |
|
| waitForElementPresent |
//div[@class='SelectedTab']//a[contains(@href,'spaces:space04') and @title='Home'] |
|
| verifyVisible |
//div[@class='SelectedTab']//a[contains(@href,'spaces:space04') and @title='Home'] |
|
| echo |
-- exist Agenda |
|
| waitForElementPresent |
//div[@class='NormalTab']//a[contains(@href,'spaces:space04') and @title='Agenda'] |
|
| verifyVisible |
//div[@class='NormalTab']//a[contains(@href,'spaces:space04') and @title='Agenda'] |
|
| echo |
-- exist Discussions |
|
| waitForElementPresent |
//div[@class='NormalTab']//a[contains(@href,'spaces:space04') and @title='Discussions'] |
|
| verifyVisible |
//div[@class='NormalTab']//a[contains(@href,'spaces:space04') and @title='Discussions'] |
|
| echo |
-- exist Documents |
|
| waitForElementPresent |
//div[@class='NormalTab']//a[contains(@href,'spaces:space04') and @title='Documents'] |
|
| verifyVisible |
//div[@class='NormalTab']//a[contains(@href,'spaces:space04') and @title='Documents'] |
|
| echo |
-- exist Members |
|
| waitForElementPresent |
//div[@class='NormalTab']//a[contains(@href,'spaces:space04') and @title='Members'] |
|
| verifyVisible |
//div[@class='NormalTab']//a[contains(@href,'spaces:space04') and @title='Members'] |
|
| echo |
-- exist Wiki |
|
| waitForElementPresent |
//div[@class='NormalTab']//a[contains(@href,'spaces:space04') and @title='Wiki'] |
|
| verifyVisible |
//div[@class='NormalTab']//a[contains(@href,'spaces:space04') and @title='Wiki'] |
|
| echo |
-- exist Space Settings |
|
| waitForElementPresent |
//a[contains(@href,'spaces:space04') and @title='Settings'] |
|
| verifyVisible |
//a[contains(@href,'spaces:space04') and @title='Settings'] |
|
| echo |
-- Logout |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|