| open |
/portal/public/intranet/ |
|
| echo |
-- Change application when edit page properties of node-- |
|
| windowMaximize |
|
|
| click |
//div[contains(text(),'Sign in')] |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| echo |
--Add new node for group -- |
|
| clickAndWait |
link=Manage groups |
|
| waitForElementPresent |
link=Edit Navigation |
|
| click |
link=Edit Navigation |
|
| waitForElementPresent |
link=Add Node |
|
| click |
link=Add Node |
|
| waitForElementPresent |
name |
|
| type |
name |
Test_SNF_PRL_49 |
| waitForElementPresent |
label |
|
| type |
label |
Test_SNF_PRL_49 |
| echo |
-- Page Selector-- |
|
| waitForElementPresent |
//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div |
|
| click |
//div[2]/div/div/div/div/div/div[1]/div/div/div/div/div/div/div/div/div[2]/div/div/div/div |
|
| waitForElementPresent |
link=Search and Select Page |
|
| click |
link=Search and Select Page |
|
| waitForElementPresent |
searchTerm |
|
| type |
searchTerm |
Community Management |
| waitForElementPresent |
searchOption |
|
| select |
searchOption |
label=Title |
| waitForElementPresent |
//form[@id='UIPageSearch']/div[2]/a |
|
| click |
//form[@id='UIPageSearch']/div[2]/a |
|
| waitForElementPresent |
xpath=//img[@title='Select Page'] |
|
| click |
xpath=//img[@title='Select Page'] |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| echo |
-- Save to finish create new node-- |
|
| waitForElementPresent |
//div[@id='UINavigationManagement']/div[3]/table/tbody/tr/td[2]/div/div/div/div/a |
|
| click |
//div[@id='UINavigationManagement']/div[3]/table/tbody/tr/td[2]/div/div/div/div/a |
|
| pause |
30000 |
|
| echo |
-- View new node-- |
|
| waitForElementPresent |
link=Test_SNF_PRL_49 |
|
| clickAndWait |
link=Test_SNF_PRL_49 |
|
| echo |
-- Right click and choose Edit node's page - |
|
| clickAndWait |
link=Manage groups |
|
| waitForElementPresent |
link=Edit Navigation |
|
| click |
link=Edit Navigation |
|
| waitForElementPresent |
//div[2]/div/div/div[3]/div/a |
|
| click |
//div[2]/div/div/div[3]/div/a |
|
| waitForElementPresent |
xpath=//a[@title='Test_SNF_PRL_49'] |
|
| mouseDownRight |
xpath=//a[@title='Test_SNF_PRL_49'] |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Edit Node's Page |
|
| click |
link=Edit Node's Page |
|
| echo |
-- View layout of node before Change application-- |
|
| waitForElementPresent |
link=Switch View mode |
|
| click |
link=Switch View mode |
|
| waitForTextPresent |
User Management |
|
| verifyTextPresent |
User Management |
|
| waitForTextPresent |
Group Management |
|
| verifyTextPresent |
Group Management |
|
| waitForTextPresent |
Membership Management |
|
| verifyTextPresent |
Membership Management |
|
| waitForElementPresent |
link=Switch View mode |
|
| click |
link=Switch View mode |
|
| echo |
-- Drag & drop applcation in portal-- |
|
| waitForElementPresent |
//div[@id='Gadgets/Calculator']/div/div/div[1]/div[1] |
UIPortalApplication |
| dragAndDropToObject |
//div[@id='Gadgets/Calculator']/div/div/div[1]/div[1] |
UIPortalApplication |
| echo |
-- View application after drag & drop in portal-- |
|
| waitForElementPresent |
link=Switch View mode |
|
| click |
link=Switch View mode |
|
| waitForElementPresent |
UIPortalApplication |
|
| verifyElementPresent |
UIPortalApplication |
|
| echo |
-- Return to normal view -- |
|
| waitForElementPresent |
link=Switch View mode |
|
| click |
link=Switch View mode |
|
| echo |
--Edit application -- |
|
| mouseOver |
//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[2] |
Calculator |
| waitForElementPresent |
//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[1] |
|
| click |
//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/a[1] |
|
| waitForElementPresent |
title |
|
| type |
title |
Test_SNF_PRL_49 |
| echo |
-- Choose Select Icon tab -- |
|
| waitForElementPresent |
//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div |
|
| click |
//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[2]/div/div/div/div |
|
| waitForElementPresent |
//form[@id='UIPortletForm']/div[3]/div/div/div[2]/div[2]/div/a[1]/div |
|
| click |
//form[@id='UIPortletForm']/div[3]/div/div/div[2]/div[2]/div/a[1]/div |
|
| echo |
-- Choose Decoration Themes-- |
|
| waitForElementPresent |
//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[3]/div/div/div/div |
|
| click |
//div[@id='UIMaskWorkspace']/div[2]/div/div/div/div/div/div/div[1]/div/div/div/div/div[3]/div/div/div/div |
|
| waitForElementPresent |
//div[@id='UIItemThemeSelector']/div[2]/div[1]/div/div[2]/div/div/div |
|
| click |
//div[@id='UIItemThemeSelector']/div[2]/div[1]/div/div[2]/div/div/div |
|
| waitForElementPresent |
link=Save And Close |
|
| click |
link=Save And Close |
|
| echo |
-- View after change something in application -- |
|
| waitForElementPresent |
link=Switch View mode |
|
| click |
link=Switch View mode |
|
| waitForTextPresent |
User Management |
|
| verifyTextPresent |
User Management |
|
| waitForTextPresent |
Group Management |
|
| verifyTextPresent |
Group Management |
|
| waitForTextPresent |
Membership Management |
|
| verifyTextPresent |
Membership Management |
|
| mouseOver |
//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[2] |
Test_SNF_PRL_49 |
| waitForTextPresent |
Test_SNF_PRL_49 |
|
| verifyTextPresent |
Test_SNF_PRL_49 |
|
| echo |
-- Return to normail view -- |
|
| waitForElementPresent |
link=Switch View mode |
|
| click |
link=Switch View mode |
|
| echo |
-- Move position of application -- |
|
| mouseOver |
//div[2]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[2] |
Test_SNF_PRL_49 |
| waitForElementPresent |
//div[1]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[1] |
|
| dragAndDropToObject |
//div[1]/div/div[2]/div/div/div[2]/div/div/div/div/div/div/div[1] |
//div[@class='LabelTab'] |
| echo |
-- View after change position of application -- |
|
| waitForElementPresent |
//td/div[2]/div/div/div/div |
|
| click |
//td/div[2]/div/div/div/div |
|
| mouseOver |
//div[2]/div/div/div[2]/div/div/div/div/div/div/div[2] |
Test_SNF_PRL_49 |
| waitForTextPresent |
Test_SNF_PRL_49 |
|
| verifyTextPresent |
Test_SNF_PRL_49 |
|
| waitForTextPresent |
User Management |
|
| verifyTextPresent |
User Management |
|
| waitForTextPresent |
Group Management |
|
| verifyTextPresent |
Group Management |
|
| waitForTextPresent |
Membership Management |
|
| verifyTextPresent |
Membership Management |
|
| pause |
1000 |
|
| waitForElementPresent |
link=Switch View mode |
|
| click |
link=Switch View mode |
|
| echo |
-- Delete application -- |
|
| mouseOver |
//div[2]/div/div/div[2]/div/div/div/div/div/div/div[2] |
Test_SNF_PRL_49 |
| waitForElementPresent |
//div/div/div[2]/div/div/div/div/div/div/a[2] |
|
| click |
//div/div/div[2]/div/div/div/div/div/div/a[2] |
|
| waitForConfirmationPresent |
|
|
| assertConfirmation |
Are you sure you want to delete this portlet? |
|
| waitForElementPresent |
//div[@id='UIPageEditor']/div[1]/div/div/div/a[2] |
|
| click |
//div[@id='UIPageEditor']/div[1]/div/div/div/a[2] |
|
| echo |
-- Close Navigation Management form -- |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| echo |
-- View node after change application -- |
|
| waitForElementPresent |
link=Test_SNF_PRL_49 |
|
| clickAndWait |
link=Test_SNF_PRL_49 |
|
| echo |
-- Delete this node-- |
|
| clickAndWait |
link=Manage groups |
|
| waitForElementPresent |
link=Edit Navigation |
|
| click |
link=Edit Navigation |
|
| waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div/a |
|
| click |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div/a |
|
| pause |
1000 |
|
| waitForElementPresent |
xpath=//a[@title='Test_SNF_PRL_49'] |
|
| mouseDownRight |
xpath=//a[@title='Test_SNF_PRL_49'] |
|
| waitForElementPresent |
link=Delete Node |
|
| click |
link=Delete Node |
|
| waitForConfirmationPresent |
|
|
| assertConfirmation |
Are you sure you want to delete this node? |
|
| waitForElementNotPresent |
xpath=//a[@title='Test_SNF_PRL_49'] |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|