open |
/portal/public/classic/ |
|
echo |
--Login portal-- |
|
windowMaximize |
|
|
click |
link=Sign in |
|
type |
username |
root |
type |
password |
gtn |
clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
echo |
--Open Navigation Menu-- |
|
waitForElementPresent |
link=Group |
|
click |
link=Group |
|
waitForElementPresent |
link=Edit Navigation |
|
click |
link=Edit Navigation |
|
echo |
--Copy a node-- |
|
waitForElementPresent |
//a[@title='New Staff'] |
|
mouseDownRight |
xpath=//div[@id='UINavigationNodeSelector']//a[@class='NodeIcon DefaultPageIcon' and @title='New Staff'] |
|
waitForElementPresent |
link=Copy Node |
|
click |
link=Copy Node |
|
echo |
--Paste node into another node in the same navigation-- |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[1] |
|
mouseDownRight |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[1] |
|
verifyElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[1] |
|
waitForElementPresent |
//div[@id='UINavigationNodeSelector']/div/div/div[2]/div/div/div[2]/a |
|
click |
//div[@id='UINavigationNodeSelector']/div/div/div[2]/div/div/div[2]/a |
|
echo |
--Delete node-- |
|
mouseDownRight |
xpath=//div[@id='UINavigationNodeSelector']/div/div/div/div[2]/div/div/div[3]/div//a |
|
click |
link=Delete Node |
|
assertConfirmation |
Are you sure you want to delete this node? |
|
waitForElementPresent |
link=Save |
|
click |
link=Save |
|
echo |
--Sign out -- |
|
waitForElementPresent |
link=Sign out |
|
clickAndWait |
link=Sign out |
|