Class ExportTreeModal


  • public class ExportTreeModal
    extends BaseModal
    Represents the Export Tree Modal.
    Since:
    14.10
    Version:
    $Id: 6caf982365be6b58c04131e017b872490757cf77 $
    • Constructor Detail

      • ExportTreeModal

        public ExportTreeModal()
        Default constructor.
    • Method Detail

      • open

        public static ExportTreeModal open​(ViewPage viewPage,
                                           String exportFormat)
        Opens the export tree modal for the given page and export format.
        Parameters:
        viewPage - the page for which to open the export tree modal
        exportFormat - the export format to choose; should be an export format that supports multipage export
        Returns:
        the export tree modal
      • isPresent

        public static boolean isPresent()
        Returns:
        true if the export tree modal is present, false otherwise
      • getPageTree

        public TreeElement getPageTree()
        Returns:
        the page tree
      • export

        public void export()
        Click on the export button.
      • getPagesValues

        public List<String> getPagesValues()
        Returns:
        all the values of the "pages" hidden input fields aggregated in a list
      • getExcludesValues

        public List<String> getExcludesValues()
        Returns:
        all the values of the "excludes" hidden input fields aggregated in a list
      • getAction

        public String getAction()
        Returns:
        the URL where the modal is submitted
      • getContainer

        public org.openqa.selenium.WebElement getContainer()
        Returns:
        the WebElement that contains the export tree modal