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 copy and move
Wiktor Szczepaniak edited this page Sep 5, 2016
·
2 revisions
Another operations using AEM Sites management page supported by SiteadminPage
class are copying and moving pages.
Copying functionality is provided by SiteadminPage.copyPage(String title, String destination)
method.
We can check the example code below to enquire how to copy page to a location :
@Test
Public void shouldCopyPage() {
siteadminPage.copyPage(“existing Page”, “/content/example/existingPath”);
}
Moving functionality is provided by SiteadminPage.movePage(String title, String destination)
method.
Example code regarding moving of page :
@Test
public void shouldMovePage() {
siteadminPage.movePage(“existing Page”, “/content/example/existingPath”);
}
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