Class ClassEditPage


  • public class ClassEditPage
    extends EditPage
    Represents the common actions possible on all Pages when using the "edit" action with the "class" editor.
    Since:
    3.2M3
    Version:
    $Id: 8693e92104092ebf3c44d17279ad20cdb06b3b29 $
    • Constructor Detail

      • ClassEditPage

        public ClassEditPage()
    • Method Detail

      • addPropertyWithoutWaiting

        public void addPropertyWithoutWaiting​(String propertyName,
                                              String propertyType)
        Since:
        3.2M3
      • deleteProperty

        public void deleteProperty​(String propertyName)
      • getPropertyEditPane

        public ClassPropertyEditPane getPropertyEditPane​(String propertyName)
        Use this method if you need to set generic meta-properties (common to all XClass property types). For specific meta-properties use the methods dedicated to each XClass property type.
        Parameters:
        propertyName - the name of a property of this class
        Returns:
        the pane used to edit the specified property
        Since:
        4.5
      • getSaveAndViewButton

        public org.openqa.selenium.WebElement getSaveAndViewButton()
        Description copied from class: EditPage
        Use this method instead of EditPage.clickSaveAndView() and call WebElement.click() when you know that the next page is not a standard XWiki InlinePage.
        Overrides:
        getSaveAndViewButton in class EditPage
        Returns:
        the save and view button used to submit the form.