| open |
/portal/public/intranet/ |
|
| windowMaximize |
|
|
| echo |
-- Share and View link Fetcher gadget |
|
| click |
//div[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
john |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']//div[@class='ButtonMiddle']/a |
|
| waitForElementPresent |
link=Dashboard |
|
| clickAndWait |
link=Dashboard |
1,1 |
| echo |
--Add Rss Fetcher gadget |
|
| waitForElementPresent |
link=Add Gadgets |
|
| click |
link=Add Gadgets |
|
| waitForElementPresent |
xpath=//div[@class='UIDashboardContainer']/div/div/div[2] |
|
| waitForElementPresent |
xpath=//div[@title='Social Rss Reader'] |
|
| pause |
500 |
|
| dragAndDropToObject |
//div[@title='Social Rss Reader'] |
xpath=//div[@class='UIDashboardContainer'] |
| waitForElementPresent |
//div[@id='UIDashboard']//div[@class='CloseButton'] |
|
| click |
//div[@id='UIDashboard']//div[@class='CloseButton'] |
|
| pause |
500 |
|
| echo |
-- Share link |
|
| waitForElementPresent |
link=eXo and Convertigo Accelerate Portal Development with Dynamic Widget Wiring |
|
| click |
link=eXo and Convertigo Accelerate Portal Development with Dynamic Widget Wiring |
|
| waitForElementPresent |
//div[@id='link_1']/a[1] |
|
| click |
//div[@id='link_1']/a[1] |
|
| echo |
-- View Share link in Activity |
|
| waitForElementPresent |
link=Activities |
|
| click |
link=Activities |
|
| pause |
500 |
|
| waitForElementPresent |
link=My Status |
|
| click |
link=My Status |
|
| pause |
500 |
|
| waitForTextPresent |
|
eXo and Convertigo Accelerate Portal Development with Dynamic Widget Wiring |
| verifyTextPresent |
|
eXo and Convertigo Accelerate Portal Development with Dynamic Widget Wiring |
| echo |
--Delete Activity |
|
| waitForElementPresent |
//form/div[2]/div/div[1]/div[2] |
|
| click |
//form/div[2]/div/div[1]/div[2] |
|
| assertConfirmation |
Are you sure to delete this activity? |
|
| waitForTextNotPresent |
eXo and Convertigo Accelerate Portal Development with Dynamic Widget Wiring |
|
| verifyTextNotPresent |
eXo and Convertigo Accelerate Portal Development with Dynamic Widget Wiring |
|
| pause |
500 |
|
| echo |
-- Delete Drag and drop Gadget |
|
| waitForElementPresent |
link=Dashboard |
|
| clickAndWait |
link=Dashboard |
1,1 |
| waitForElementPresent |
//div[@onclick='eXo.gadget.UIGadget.deleteGadget(this)'] |
|
| click |
//div[@onclick='eXo.gadget.UIGadget.deleteGadget(this)'] |
|
| waitForConfirmation |
Are you sure to delete this gadget? |
|
| verifyTextPresent |
Drag your gadgets here. |
|
| pause |
200 |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|