| open |
/portal/public/classic/ |
|
| echo |
-- Manage Tab-- |
|
| windowMaximize |
|
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction'] |
|
| waitForElementPresent |
link=Dashboard |
|
| clickAndWait |
link=Dashboard |
|
| echo |
-- Add new tab-- |
|
| waitForElementPresent |
css=div.AddDashboard |
|
| click |
css=div.AddDashboard |
|
| type |
//input |
Test_SNF_PRL_52 |
| keyPress |
//input |
\13 |
| waitForTextPresent |
Test_SNF_PRL_52 |
|
| verifyTextPresent |
Test_SNF_PRL_52 |
|
| echo |
-- Edit tab-- |
|
| doubleClick |
css=div.MiddleTab > span |
|
| waitForElementPresent |
//input |
|
| type |
//input |
Test_SNF_PRL_52_edit |
| keyPress |
//input |
\13 |
| waitForTextPresent |
Test_SNF_PRL_52_edit |
|
| verifyTextPresent |
Test_SNF_PRL_52_edit |
|
| echo |
-- Delete tab-- |
|
| clickAndWait |
//div[2]/div/div/div/div/a/img |
|
| waitForConfirmationPresent |
|
|
| assertConfirmation |
Really want to remove this dashboard? |
|
| waitForTextNotPresent |
Test_SNF_PRL_52_edit |
|
| verifyTextNotPresent |
Test_SNF_PRL_52_edit |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|