Class HiddenHtmlTable

    • Method Detail

      • setFieldValue

        public void setFieldValue​(String value,
                                  int row,
                                  int column)
        Set value of specified table field
        Specified by:
        setFieldValue in class UiTable
        Parameters:
        value - the new table cell value
        row - the field row starting at 0
        column - the field column starting at 0
      • getFieldValue

        public String getFieldValue​(int row,
                                    int column)
        Get the value of the specified table field
        Specified by:
        getFieldValue in class UiTable
        Parameters:
        row - the field row starting at 0
        column - the field column starting at 0
        Returns:
        the value
      • getAllValues

        public String[][] getAllValues()
        Get the values of all table cells.
        Note: If a table cell contains a checkbox - we will return 'checked' or 'notchecked' value.
        Returns:
        a two dimensional array containing all table cell values
      • getRowCount

        public int getRowCount()
        Specified by:
        getRowCount in class UiTable
        Returns:
        how many rows this table has
      • getColumnCount

        public int getColumnCount()
        Specified by:
        getColumnCount in class UiTable
        Returns:
        how many columns this table has
      • verifyFieldValue

        public void verifyFieldValue​(String expectedValue,
                                     int row,
                                     int column)
        Verify the field value is as specified
        Specified by:
        verifyFieldValue in class UiTable
        Parameters:
        expectedValue -
        row - the field row starting at 0
        column - the field column starting at 0
      • verifyNotFieldValue

        public void verifyNotFieldValue​(String notExpectedValue,
                                        int row,
                                        int column)
        Verify the field value is NOT as specified
        Specified by:
        verifyNotFieldValue in class UiTable
        Parameters:
        notExpectedValue -
        row - the field row starting at 0
        column - the field column starting at 0
      • verifyFieldValueRegex

        public void verifyFieldValueRegex​(String expectedValueRegex,
                                          int row,
                                          int column)
        Verify the field value matches the specified java regular expression
        Specified by:
        verifyFieldValueRegex in class UiTable
        Parameters:
        expectedValueRegex - a java regular expression
        row - the field row starting at 0
        column - the field column starting at 0