| open |
/portal/public/classic/ |
|
| echo |
-CollapseAll- |
|
| windowMaximize |
|
|
| click |
link=Sign in |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
//div[@id='UIPortalLoginFormAction']/div/div/div/a |
|
| clickAndWait |
link=SiteMap |
|
| echo |
--Expand SiteMap tree |
|
| waitForElementPresent |
//div[@id='UISiteMap']/div[1]/div[2] |
|
| click |
//div[@id='UISiteMap']/div[1]/div[2] |
|
| waitForTextPresent |
Application Registry |
|
| verifyTextPresent |
Application Registry |
|
| waitForTextPresent |
Page Management |
|
| verifyTextPresent |
Page Management |
|
| verifyTextPresent |
New Staff |
|
| verifyTextPresent |
Users and groups management |
|
| verifyTextPresent |
Blog |
|
| verifyTextPresent |
Google |
|
| verifyTextPresent |
Facebook |
|
| echo |
--Collapse SiteMap Tree |
|
| waitForElementPresent |
//div[@id='UISiteMap']/div[1]/div[1] |
|
| click |
//div[@id='UISiteMap']/div[1]/div[1] |
|
| echo |
-- verify Application Registry disappear |
|
| verifyElementNotPresent |
//div[@id='UISiteMap']/div[2]/div/div[3]/div[2]/div[1]/div/div/a |
|
| echo |
-- verify Page Management disappear |
|
| verifyElementNotPresent |
//div[3]/div[2]/div[2]/div/div/a |
|
| echo |
-- verify New Staff disappear |
|
| verifyElementNotPresent |
//div[4]/div[2]/div[1]/div/div/a |
|
| echo |
-- verify Users and groups management disappear |
|
| verifyElementNotPresent |
//div[4]/div[2]/div[2]/div/div/a |
|
| echo |
-- verify Blog disappear |
|
| verifyElementNotPresent |
//div[5]/div[2]/div[1]/div/div/a |
|
| echo |
-- verify Google disappear |
|
| verifyElementNotPresent |
//div[5]/div[2]/div[2]/div/div/a |
|
| echo |
-- verify Facebook disappear |
|
| verifyElementNotPresent |
//div[2]/div[3]/div/div/a |
|
| waitForElementPresent |
link=Sign out |
|
| clickAndWait |
link=Sign out |
|