This repository has been archived by the owner on Nov 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
Sites delete page
Wiktor Szczepaniak edited this page Aug 30, 2016
·
1 revision
Page deletion functionality is provided by SiteadminPage.deletePage(String title)
method.
Assuming that we have a existing page, we can delete it using example code below :
@Test
public void shouldDeletePage() {
siteadminPage.deletePage(“existing Page”);
}
Using SiteadminPage
we can easily remove all sub-pages visible in the currently opened scope.
This functionality is provided by method deleteSubPages()
.
Example code shows how to delete all pages visible in currently opened Sites scope
@Test
public void shouldDeleteAllPagesInTheScope() {
siteadminPage.deleteSubPages();
}
Back to Sites management
- Configuring Bobcat
- Selenium enhancements
- Cucumber enhancements
- Traffic analyzer
- Email support
- Reporting
- Cloud integration
- Mobile integration
- Executing tests on different environments
- Working with multiple threads
- Tips and tricks
- Authoring tutorial - Classic
- AEM Classic Authoring Advanced usage
- Siteadmin
- Sidekick
- Aem Component
- Working with author pages
- Working with Publish pages
- Advanced component interactions
- Working with Context Menu
- Using Aem Content Tree
- Aem Content Finder
- Storing component configurations
- Working with packages
- Jcr Support
- Authoring tutorial - Touch UI
- Adding and editing a component
- Sites management tutorial