| open |
/portal/public/acme/ |
|
| windowMaximize |
|
|
| echo |
-- Login |
|
| click |
link=Login |
|
| waitForElementPresent |
username |
|
| type |
username |
root |
| type |
password |
gtn |
| clickAndWait |
link=Sign in |
|
| echo |
--- Create new category |
|
| waitForElementPresent |
link=Newsletter Manager |
|
| click |
link=Newsletter Manager |
|
| waitForElementPresent |
link=New Category |
|
| click |
link=New Category |
|
| waitForElementPresent |
CategoryName |
|
| type |
CategoryName |
Cat_SNF_ECMS_13 |
| waitForElementPresent |
CategoryTitle |
|
| type |
CategoryTitle |
Cat_SNF_ECMS_13 |
| waitForElementPresent |
//img[@alt='Select user'] |
|
| click |
//img[@alt='Select user'] |
|
| waitForElementPresent |
//table[@id='UIListUsers']/tbody/tr[5]/td[5]/div//img |
|
| click |
//table[@id='UIListUsers']/tbody/tr[5]/td[5]/div//img |
|
| click |
link=Save |
|
| waitForElementPresent |
link=Cat_SNF_ECMS_13 |
|
| click |
link=Cat_SNF_ECMS_13 |
|
| echo |
--Create new subscription |
|
| waitForElementPresent |
link=New Subscription |
|
| click |
link=New Subscription |
|
| waitForElementPresent |
SubcriptionName |
|
| type |
SubcriptionName |
Subs_SNF_ECMS_13 |
| type |
SubcriptionTitle |
Subs_SNF_ECMS_13 |
| click |
//img[@alt='SelectUser'] |
|
| waitForElementPresent |
//table[@id='UIListUsers']/tbody/tr[5]/td[5]/div//img |
|
| click |
//table[@id='UIListUsers']/tbody/tr[5]/td[5]/div//img |
|
| waitForElementPresent |
link=Save |
|
| click |
link=Save |
|
| echo |
-- Create newsletter |
|
| waitForElementPresent |
link=Subs_SNF_ECMS_13 |
|
| click |
link=Subs_SNF_ECMS_13 |
|
| waitForElementPresent |
link=New Letter |
|
| click |
link=New Letter |
|
| waitForElementPresent |
//input[@type='text'] |
|
| click |
//input[@type='text'] |
|
| waitForElementPresent |
link=10 |
|
| click |
link=10 |
|
| waitForElementPresent |
link=Update sending parameters |
|
| click |
link=Update sending parameters |
|
| waitForElementPresent |
//div[@id='UINewsletterManagerPortlet']//div[@class='ActionButton LightBlueStyle' and contains(@onclick,'javascript:ajaxGet')] |
|
| click |
//div[@id='UINewsletterManagerPortlet']//div[@class='ActionButton LightBlueStyle' and contains(@onclick,'javascript:ajaxGet')] |
|
| waitForElementPresent |
//form[@id='UINewsletterEntryForm']/div[2]/div/div[2]/div[2]/table/tbody/tr/td/a[1]/div/div/div |
|
| click |
//form[@id='UINewsletterEntryForm']/div[2]/div/div[2]/div[2]/table/tbody/tr/td/a[1]/div/div/div |
|
| echo |
-- Open newsletter |
|
| waitForElementPresent |
basic-template |
|
| check |
basic-template |
|
| waitForElementPresent |
link=Moderation |
|
| click |
link=Moderation |
|
| waitForElementPresent |
link=Open |
|
| click |
link=Open |
|
| waitForElementPresent |
//form[@id='UINewsletterManagerPopup']/div[3]/table/tbody/tr/td/div/div/div/div |
|
| click |
//form[@id='UINewsletterManagerPopup']/div[3]/table/tbody/tr/td/div/div/div/div |
|
| echo |
-- Edit newsletter |
|
| waitForElementPresent |
link=Moderation |
|
| click |
link=Moderation |
|
| waitForElementPresent |
link=Edit |
|
| click |
link=Edit |
|
| waitForElementPresent |
//input[@type='text'] |
|
| click |
//input[@type='text'] |
|
| waitForElementPresent |
link=20 |
|
| click |
link=20 |
|
| waitForElementPresent |
link=Update sending parameters |
|
| click |
link=Update sending parameters |
|
| waitForElementPresent |
//div[@id='UINewsletterManagerPortlet']//div[@class='ActionButton LightBlueStyle' and contains(@onclick,'javascript:ajaxGet')] |
|
| click |
//div[@id='UINewsletterManagerPortlet']//div[@class='ActionButton LightBlueStyle' and contains(@onclick,'javascript:ajaxGet')] |
|
| waitForElementPresent |
//form[@id='UINewsletterEntryForm']/div[2]/div/div[2]/div[2]/table/tbody/tr/td/a[1]/div/div/div |
|
| click |
//form[@id='UINewsletterEntryForm']/div[2]/div/div[2]/div[2]/table/tbody/tr/td/a[1]/div/div/div |
|
| waitForElementPresent |
basic-template |
|
| check |
basic-template |
|
| echo |
-- Convert newsletter as template |
|
| waitForElementPresent |
link=Moderation |
|
| click |
link=Moderation |
|
| waitForElementPresent |
link=Convert As Template |
|
| click |
link=Convert As Template |
|
| waitForElementPresent |
//div[@id='UINewsletterManagerPortlet']//div[@class='ActionButton LightBlueStyle' and contains(@onclick,'javascript:ajaxGet')] |
|
| click |
//div[@id='UINewsletterManagerPortlet']//div[@class='ActionButton LightBlueStyle' and contains(@onclick,'javascript:ajaxGet')] |
|
| waitForElementPresent |
UIWCMNewsletterEntryManagerCheckAll |
|
| check |
UIWCMNewsletterEntryManagerCheckAll |
|
| echo |
-- Delete newsletter |
|
| waitForElementPresent |
link=Moderation |
|
| click |
link=Moderation |
|
| waitForElementPresent |
link=Delete |
|
| click |
link=Delete |
|
| assertConfirmation |
Are you sure you want to delete this newsletter? |
|
| echo |
Delete category |
|
| waitForElementPresent |
link=Cat_SNF_ECMS_13 |
|
| click |
link=Cat_SNF_ECMS_13 |
|
| waitForElementPresent |
//div[@id='UISubscriptions']/div/div[3]/div/div[1]/div[3]/table/tbody/tr/td/div/div/div/div/div/div/a |
|
| click |
//div[@id='UISubscriptions']/div/div[3]/div/div[1]/div[3]/table/tbody/tr/td/div/div/div/div/div/div/a |
|
| waitForElementPresent |
link=Delete Category |
|
| click |
link=Delete Category |
|
| assertConfirmation |
Are you sure you want to delete this category ? |
|
| waitForElementNotPresent |
link=Cat_SNF_ECMS_13 |
|
| waitForElementNotPresent |
link=Cat_SNF_ECMS_13 |
|
| echo |
-- Signout |
|
| waitForElementPresent |
link=Logout |
|
| clickAndWait |
link=Logout |
|