| open |
/socialdemo/public/classic/ |
|
| windowMaximize |
|
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
john |
| 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 |
Space29 |
| type |
description |
This is description for Space_29 |
| waitForElementPresent |
link=Create |
|
| clickAt |
link=Create |
2,2 |
| pause |
15000 |
|
| waitForElementPresent |
link=Space29 |
|
| click |
link=Space29 |
|
| waitForElementPresent |
//a[contains(@href,'space29/dashboard')] |
|
| clickAndWait |
//a[contains(@href,'space29/dashboard')] |
|
| echo |
--Add Rss Fetcher gadget |
|
| waitForElementPresent |
link=Add Gadgets |
|
| click |
link=Add Gadgets |
|
| waitForElementPresent |
xpath=//div[@title='Social Rss Reader'] |
|
| dragAndDropToObject |
xpath=//div[@title='Social Rss Reader'] |
xpath=//div[@class='UIDashboardContainer'] |
| echo |
--Close Dashboard workspace |
|
| waitForElementPresent |
css=a.CloseButton |
|
| click |
css=a.CloseButton |
|
| echo |
-- Share link |
|
| waitForElementPresent |
//a[@id='link_title_0'] |
|
| click |
//a[@id='link_title_0'] |
|
| waitForElementPresent |
link=Share |
|
| click |
link=Share |
|
| echo |
-- View Share link in Activity |
|
| waitForElementPresent |
link=Activities |
|
| clickAndWait |
link=Activities |
|
| waitForElementPresent |
link=My Status |
|
| click |
link=My Status |
|
| waitForTextPresent |
Shared a link |
|
| verifyTextPresent |
Shared a link |
|
| echo |
--Log out |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|