Class ApplicationsLiveTableElement


  • public class ApplicationsLiveTableElement
    extends LiveTableElement
    Represents the live table that lists the existing applications on the AppWithinMinutes home page.
    Since:
    4.2M1
    Version:
    $Id: 64b7b489a194fcb8b5adfa992e7439d2703b198d $
    • Constructor Detail

      • ApplicationsLiveTableElement

        public ApplicationsLiveTableElement()
        Creates a new instance.
    • Method Detail

      • isApplicationListed

        public boolean isApplicationListed​(String appName)
        Parameters:
        appName - the name of an application
        Returns:
        true if the specified application is listed, false otherwise
      • clickDeleteApplication

        public ConfirmationPage clickDeleteApplication​(String appName)
        Clicks on the link to delete the specified application.
        Parameters:
        appName - the name of the application to delete
      • canDeleteApplication

        public boolean canDeleteApplication​(String appName)
        Parameters:
        appName - the name of an application
        Returns:
        true if the delete link is displayed for the specified application
      • clickEditApplication

        public ApplicationClassEditPage clickEditApplication​(String appName)
        Clicks on the link to edit the specified application.
        Parameters:
        appName - the name of the application to delete.
      • canEditApplication

        public boolean canEditApplication​(String appName)
        Parameters:
        appName - the name of an application
        Returns:
        true if the edit link is displayed for the specified application
      • clickAction

        protected void clickAction​(String appName,
                                   String action)
        Clicks one of the action links corresponding to the specified application.
        Parameters:
        appName - the action target
        action - the action name
      • hasAction

        protected boolean hasAction​(String appName,
                                    String action)
        Returns:
        true if the given action is listed for the specified application, false otherwise
      • filterApplicationName

        public void filterApplicationName​(String appNameFilter)
        Filters by application name.
        Parameters:
        appNameFilter - the string to filter the application names with
      • getApplicationNameFilter

        public String getApplicationNameFilter()