| store |
eval(selenium.isElementPresent('link=AP Blogs Staging Test Page')) |
BlogsPagePresent |
| gotoIf |
!${BlogsPagePresent} |
blogsPageNotPresent |
| clickAtAndWait |
link=AP Blogs Staging Test Page |
|
| store |
eval(selenium.isElementPresent('link=Delete')) |
EntryPresent |
| gotoIf |
!${EntryPresent} |
entryNotPresent |
| clickAndWait |
link=Delete |
|
| assertConfirmation |
Are you sure you want to delete this? |
|
| label |
entryNotPresent |
|
| label |
blogsPageNotPresent |
|
| waitForElementPresent |
//li[5]/a/span |
|
| clickAtAndWait |
//li[5]/a/span |
|
| pause |
5000 |
|
| clickAtAndWait |
//div[3]/ul/li[1]/a |
|
| pause |
5000 |
|
| store |
eval(selenium.isElementPresent('//div/ul/li[2]/ul/li[2]/a/span')) |
Page1Present |
| gotoIf |
!${Page1Present} |
page1NotPresent |
| clickAtAndWait |
//div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[2]/a/span |
|
| clickAtAndWait |
//li[@id='_88_tabs3pageTabsId']/span/a |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
page1NotPresent |
|
| pause |
5000 |
|
| store |
eval(selenium.isElementPresent('//div/ul/li[2]/ul/li[2]/a/span')) |
Page2Present |
| gotoIf |
!${Page2Present} |
page2NotPresent |
| clickAtAndWait |
//div[@id='_88_layoutsTreeOutput']/ul/li[2]/ul/li[2]/a/span |
|
| clickAtAndWait |
//li[@id='_88_tabs3pageTabsId']/span/a |
|
| clickAndWait |
//input[@value='Delete'] |
|
| assertConfirmation |
Are you sure you want to delete the selected page? |
|
| label |
page2NotPresent |
|