Class GrouperUiBrowserGroupEdit

java.lang.Object
edu.internet2.middleware.grouper.app.browser.GrouperUiBrowser
edu.internet2.middleware.grouper.app.browser.GrouperUiBrowserGroupEdit

public class GrouperUiBrowserGroupEdit extends GrouperUiBrowser
This class is used to programmatically edit a group. It navigates to the group, then clicks group actions and selects edit group. If group editing fields (groupDisplayExtension, groupExtension, or description) have been filled, they will be entered. Before confirming, it is made sure that the alternate Id path of the group is not updated. Finally, the group edit confirmation message is received.

Edit a group

   GrouperUiBrowserGroupEdit grouperUiBrowserGroupEdit = new GrouperUiBrowserGroupEdit(grouperPage).
     assignGroupToEditName("test:test22").assignGroupExtension("testeditedagain").assignDescription("this is the edited description").browse();
 

  • Constructor Details

    • GrouperUiBrowserGroupEdit

      public GrouperUiBrowserGroupEdit(GrouperPage grouperPage)
  • Method Details

    • getGroupDisplayExtension

      public String getGroupDisplayExtension()
      Name in UI, Name is the label that identifies this group, and might change.
    • assignGroupDisplayExtension

      public GrouperUiBrowserGroupEdit assignGroupDisplayExtension(String groupDisplayExtension)
      Name in UI, Name is the label that identifies this group, and might change.
    • getGroupExtension

      public String getGroupExtension()
      Id in UI, Id is the unique identifier for this group.
    • assignGroupExtension

      public GrouperUiBrowserGroupEdit assignGroupExtension(String groupExtension)
      Id in UI, Id is the unique identifier for this group.
    • getDescription

      public String getDescription()
      Description contains notes about the group, which could include: what the group represents, why it was created, etc.
    • assignGroupToEditName

      public GrouperUiBrowserGroupEdit assignGroupToEditName(String groupToEditName)
      Id Path in UI
      Parameters:
      groupToEditName -
      Returns:
      this object
    • assignGroupToEditId

      public GrouperUiBrowserGroupEdit assignGroupToEditId(String groupToEditId)
      Uuid of the group
      Parameters:
      groupToEditName -
      Returns:
      this object
    • assignGroupToEdit

      public GrouperUiBrowserGroupEdit assignGroupToEdit(Group group)
      Pass in a group object
      Parameters:
      groupToEditName -
      Returns:
      this object
    • assignDescription

      public GrouperUiBrowserGroupEdit assignDescription(String description)
      Description contains notes about the group, which could include: what the group represents, why it was created, etc.
    • browse

      public GrouperUiBrowserGroupEdit browse()
      Method used to programmatically edit a group