Class RawChanges


  • public class RawChanges
    extends BaseElement
    Represents the raw changes display (in a tab in the compare documents view or in the conflict view).
    Since:
    14.10.15, 15.5.1, 15.6
    Version:
    $Id: 812633831eee75f9d6abc00fefbf663d7fcfadc8 $
    • Constructor Detail

      • RawChanges

        public RawChanges​(org.openqa.selenium.WebElement container)
        Parameters:
        container - the container element
    • Method Detail

      • hasNoChanges

        public boolean hasNoChanges()
        Returns:
        true if the "No changes" message is displayed and there are no diffs displayed, false otherwise
      • getDiffSummary

        public DocumentDiffSummary getDiffSummary()
        Returns:
        the summary for the displayed changes
      • getChangedEntities

        public List<String> getChangedEntities()
        Returns:
        the names (labels) for the entities that have been modified (have modified properties)
      • getEntityDiff

        public EntityDiff getEntityDiff​(String label)
        Parameters:
        label - the entity label
        Returns:
        the changes for the specified entity