Class DataTypesPage


public class DataTypesPage extends ViewPage
Represents the page that lists the available data types (XClasses) and allows us to create a new type.
Since:
4.5
Version:
$Id: 0eec09e407c9568b2f8ee2fa48836d9261d4ce9b $
  • Constructor Details

    • DataTypesPage

      public DataTypesPage()
  • Method Details

    • gotoPage

      public static DataTypesPage gotoPage()
      Opens the page that list the available data types.
      Returns:
      the page that lists the available data types
    • createClass

      public ClassSheetPage createClass(String spaceName, String className)
      Starts the process of creating a new XClass.
      Parameters:
      spaceName - the name of the space where to create the class
      className - the class name
      Returns:
      the wiki edit mode for the specified class
    • getCreateClassButton

      public org.openqa.selenium.WebElement getCreateClassButton()
      Returns:
      the button used to create a new class
    • isClassListed

      public boolean isClassListed(String spaceName, String className)
      Parameters:
      spaceName - the name of the space were the class document is
      className - the name of the class document
      Returns:
      true if the specified class is listed, false otherwise