| open |
/web/guest/home/ |
|
| waitForElementPresent |
link=Blogs Permissions Page |
|
| clickAtAndWait |
link=Blogs Permissions Page |
|
| pause |
5000 |
|
| store |
eval(selenium.isElementPresent('//span[3]/a/img')) |
PortletPresent |
| gotoIf |
!${PortletPresent} |
NoPortletPresent |
| store |
eval(selenium.isElementPresent('link=Delete')) |
EntryAPresent |
| gotoIf |
!${EntryAPresent} |
NoEntryAPresent |
| clickAndWait |
link=Delete |
|
| assertConfirmation |
Are you sure you want to delete this? |
|
| label |
NoEntryAPresent |
|
| store |
eval(selenium.isElementPresent('link=Delete')) |
EntryBPresent |
| gotoIf |
!${EntryBPresent} |
NoEntryBPresent |
| clickAndWait |
link=Delete |
|
| assertConfirmation |
Are you sure you want to delete this? |
|
| label |
NoEntryBPresent |
|
| click |
//img[@alt='Remove'] |
|
| assertConfirmation |
Are you sure you want to remove this component? |
|
| label |
NoPortletPresent |
|
| open |
/web/guest/home/ |
|
| waitForElementPresent |
//div/div[3]/div/ul/li[1]/a |
|
| clickAtAndWait |
//div/div[3]/div/ul/li[1]/a |
|
| waitForText |
//div/div[3]/a |
Guest |
| store |
eval(selenium.isElementPresent('//li/ul/li[1]/div/div[3]/a')) |
welcomePresent |
| gotoIf |
${welcomePresent} |
WelcomePresent |
| clickAt |
//li/div/div[1] |
|
| label |
WelcomePresent |
|
| store |
eval(selenium.isElementPresent('//li[2]/div/div[3]/a')) |
page1Present |
| gotoIf |
!${page1Present} |
Page1NotPresent |
| clickAtAndWait |
//li[2]/div/div[3]/a |
|
| clickAtAndWait |
//ul[2]/li[1]/span/span/a |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
Page1NotPresent |
|
| store |
eval(selenium.isElementPresent('//li[2]/div/div[3]/a')) |
page2Present |
| gotoIf |
!${page2Present} |
Page2NotPresent |
| clickAtAndWait |
//li[2]/div/div[3]/a |
|
| clickAtAndWait |
//ul[2]/li[1]/span/span/a |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
Page2NotPresent |
|
| store |
eval(selenium.isElementPresent('//li[2]/div/div[3]/a')) |
page3Present |
| gotoIf |
!${page3Present} |
Page3NotPresent |
| clickAtAndWait |
//li[2]/div/div[3]/a |
|
| clickAtAndWait |
//ul[2]/li[1]/span/span/a |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
Page3NotPresent |
|
| store |
eval(selenium.isElementPresent('//li[2]/div/div[3]/a')) |
page4Present |
| gotoIf |
!${page4Present} |
Page4NotPresent |
| clickAtAndWait |
//li[2]/div/div[3]/a |
|
| clickAtAndWait |
//ul[2]/li[1]/span/span/a |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
Page4NotPresent |
|
| store |
eval(selenium.isElementPresent('//li[2]/div/div[3]/a')) |
page5Present |
| gotoIf |
!${page5Present} |
Page5NotPresent |
| clickAtAndWait |
//li[2]/div/div[3]/a |
|
| clickAtAndWait |
//ul[2]/li[1]/span/span/a |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
Page5NotPresent |
|