Class Wizard
- java.lang.Object
-
- com.adobe.cq.testing.selenium.pagewidgets.common.BaseComponent
-
- com.adobe.cq.testing.selenium.pagewidgets.common.AEMBaseComponent
-
- com.adobe.cq.testing.selenium.pagewidgets.granite.Wizard
-
- Direct Known Subclasses:
CreateLiveCopyWizard,CreatePageWizard,CreateSiteWizard,CreateWorkflowWizard,RestoreTreeWizard,RestoreVersionWizard
public class Wizard extends AEMBaseComponent
The wizard coral component wrapper.
-
-
Field Summary
-
Fields inherited from class com.adobe.cq.testing.selenium.pagewidgets.common.BaseComponent
cssSelector, currentElement
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()Cancel the wizard.com.codeborne.selenide.SelenideElementcancelButton()The button used to show the cancel of the Wizard.voidnext()Moves the wizard to the next step.com.codeborne.selenide.SelenideElementnextButton()The button used to show the next step of the Wizard.protected <T extends Wizard>
Topen(java.lang.String uri)voidprevious()Moves the wizard to the previous step.com.codeborne.selenide.SelenideElementpreviousButton()The button used to show the previous step of the Wizard.CoralStepListstepList()-
Methods inherited from class com.adobe.cq.testing.selenium.pagewidgets.common.AEMBaseComponent
getAction, getTrackingElement, waitPageMasked, waitPageUnmasked, waitReady
-
Methods inherited from class com.adobe.cq.testing.selenium.pagewidgets.common.BaseComponent
adaptTo, click, element, getCssSelector, isExisting, isVisible, isVisibleWithinViewport, render, scrollTo, waitDisabled, waitEnabled, waitVanish, waitVisible
-
-
-
-
Method Detail
-
cancelButton
public com.codeborne.selenide.SelenideElement cancelButton()
The button used to show the cancel of the Wizard.- Returns:
- cancelButton element.
-
nextButton
public com.codeborne.selenide.SelenideElement nextButton()
The button used to show the next step of the Wizard.- Returns:
- nextButton element.
-
previousButton
public com.codeborne.selenide.SelenideElement previousButton()
The button used to show the previous step of the Wizard.- Returns:
- previousButton element.
-
next
public void next()
Moves the wizard to the next step.
-
previous
public void previous()
Moves the wizard to the previous step.
-
cancel
public void cancel()
Cancel the wizard.
-
stepList
public CoralStepList stepList()
- Returns:
- a steplist object.
-
open
protected <T extends Wizard> T open(java.lang.String uri)
- Type Parameters:
T- the same.- Parameters:
uri- the uri to land on the wizard implementation.- Returns:
- itself.
-
-