open |
/portal/public/classic/ |
|
echo |
-- Add new page for user -- |
|
windowMaximize |
|
|
click |
link=Sign in |
|
waitForElementPresent |
username |
|
type |
username |
root |
type |
password |
gtn |
clickAndWait |
//div[@id='UIPortalLoginFormAction'] |
|
clickAndWait |
link=Dashboard |
|
echo |
-- Click Add new page on Dashboard editor menu-- |
|
waitForElementPresent |
link=Add New Page |
|
click |
link=Add New Page |
|
waitForElementPresent |
pageName |
|
type |
pageName |
Test_SNF_PRL_54 |
type |
i18nizedLabel |
Test_SNF_PRL_54 |
echo |
-- Click Next to move step 2-- |
|
waitForElementPresent |
//div[contains(text(),'Next')] |
|
click |
//div[contains(text(),'Next')] |
|
echo |
-- Keep empty layout and click Next move step 3-- |
|
waitForElementPresent |
//div[contains(text(),'Next')] |
|
click |
//div[contains(text(),'Next')] |
|
echo |
-- Click Finish -- |
|
waitForElementPresent |
//a[@title='Finish'] |
|
clickAndWait |
//a[@title='Finish'] |
|
assertLocation |
http://localhost:8080/portal/users/root/Test_SNF_PRL_54 |
|
clickAndWait |
link=Dashboard |
|
clickAndWait |
//div[2]/div/div/div/div/a/img |
|
waitForConfirmationPresent |
|
|
assertConfirmation |
Really want to remove this dashboard? |
|
waitForElementPresent |
link=Sign out |
|
clickAndWait |
link=Sign out |
|