| open |
/portal/public/acme/ |
|
| windowMaximize |
|
|
| echo |
--Login |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
--Go to Sites Explorer |
|
| waitForElementPresent |
link=Sites Explorer |
|
| clickAndWait |
link=Sites Explorer |
|
| echo |
--Open driver pane |
|
| waitForElementPresent |
//div[@id='UISideBar']/div/div[1]/div[2]/div[1]/div/div/div/a/div |
|
| click |
//div[@id='UISideBar']/div/div[1]/div[2]/div[1]/div/div/div/a/div |
|
| echo |
--Open Public drive |
|
| waitForElementPresent |
link=Public |
|
| click |
link=Public |
|
| echo |
--Go to Detail View |
|
| waitForElementPresent |
//form[@id='UIAddressBar']/div[2]/table/tbody/tr/td[1]/a |
|
| click |
//form[@id='UIAddressBar']/div[2]/table/tbody/tr/td[1]/a |
|
| echo |
--Add an article |
|
| waitForElementPresent |
link=Actions |
|
| click |
link=Actions |
|
| waitForElementPresent |
link=Add Document |
|
| click |
link=Add Document |
|
| waitForElementPresent |
selectTemplate |
|
| select |
selectTemplate |
label=Article |
| waitForElementPresent |
title |
|
| type |
title |
SNF_ECMS_58 |
| waitForElementPresent |
link=Save as Draft |
|
| click |
link=Save as Draft |
|
| waitForElementPresent |
link=Close |
|
| click |
link=Close |
|
| echo |
--Go to Infor tab |
|
| waitForElementPresent |
link=Info |
|
| click |
link=Info |
|
| waitForTextPresent |
Summary is empty |
|
| verifyTextPresent |
Summary is empty |
|
| echo |
--Show JCR |
|
| waitForElementPresent |
link=Show/Hide Like JCR Structure |
|
| click |
link=Show/Hide Like JCR Structure |
|
| echo |
--article content no longer displays |
|
| waitForTextNotPresent |
Summary is empty |
|
| verifyTextNotPresent |
Summary is empty |
|
| echo |
--there is a Save session icon (it looks like a floppy disk) |
|
| waitForElementPresent |
//a[@title='Save Session'] |
|
| click |
//a[@title='Save Session'] |
|
| waitForElementPresent |
//div[@id='UIJCRExplorerPortlet']//div[3]//div[@class='ActionButton LightBlueStyle'] |
|
| click |
//div[@id='UIJCRExplorerPortlet']//div[3]//div[@class='ActionButton LightBlueStyle'] |
|
| echo |
--Hide JCR Structure |
|
| waitForElementPresent |
link=Show/Hide Like JCR Structure |
|
| click |
link=Show/Hide Like JCR Structure |
|
| waitForTextPresent |
Summary is empty |
|
| verifyTextPresent |
Summary is empty |
|
| waitForElementNotPresent |
//a[@title='Save Session'] |
|
| verifyElementNotPresent |
//a[@title='Save Session'] |
|
| echo |
--delete test data |
|
| waitForElementPresent |
link=SNF_ECMS_58 |
|
| mouseDownRight |
link=SNF_ECMS_58 |
|
| waitForElementPresent |
//div[@class='MenuItem']//a[contains(text(),'Delete')] |
|
| click |
//div[@class='MenuItem']//a[contains(text(),'Delete')] |
|
| waitForElementPresent |
//div[@id='UIPopupWindow']/div/div[2]/div/div/div/div/div/div/div/div[2]/table/tbody/tr/td/div[1]/div/div/div/a |
|
| click |
//div[@id='UIPopupWindow']/div/div[2]/div/div/div/div/div/div/div/div[2]/table/tbody/tr/td/div[1]/div/div/div/a |
|
| waitForTextNotPresent |
SNF_ECMS_58 |
|
| verifyTextNotPresent |
SNF_ECMS_58 |
|
| echo |
--Sign out |
|
| waitForElementPresent |
link=Logout |
|
| click |
link=Logout |
|