Class GrouperUiBrowserGroupDelete

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

public class GrouperUiBrowserGroupDelete extends GrouperUiBrowser
This class is used to programmatically delete a group.

Delete group with name "test:test"

    GrouperUiBrowserGroupDelete grouperUiBrowserGroupDelete = new GrouperUiBrowserGroupDelete(page).assignGroupToDeleteName("test:test").browse();
 

  • Constructor Details

    • GrouperUiBrowserGroupDelete

      public GrouperUiBrowserGroupDelete(GrouperPage grouperPage)
  • Method Details

    • assignGroupToDeleteName

      public GrouperUiBrowserGroupDelete assignGroupToDeleteName(String groupToDeleteName)
      Id Path in UI
      Parameters:
      groupToDeleteName -
      Returns:
      this object
    • assignGroupToDeleteId

      public GrouperUiBrowserGroupDelete assignGroupToDeleteId(String groupToDeleteId)
      Uuid of the group
      Parameters:
      groupToDeleteName -
      Returns:
      this object
    • assignGroupToDelete

      public GrouperUiBrowserGroupDelete assignGroupToDelete(Group group)
      Pass in a group object
      Parameters:
      groupToDeleteName -
      Returns:
      this object
    • browse

      public GrouperUiBrowserGroupDelete browse()
      Method used to programmatically delete a group. It navigates to the group, then goes through the process of deleting it through the more actions button. At the end, it verifies an ajax refresh and a success message.