Class GrouperUiBrowserMembershipAdd

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

public class GrouperUiBrowserMembershipAdd extends GrouperUiBrowser
This class is used to programmatically add a subject to a group

Add subject with subjectId: "test.subject.1" to group with name: "test:test"

    GrouperUiBrowserMembershipAdd grouperUiBrowserMembershipAdd = new GrouperUiBrowserMembershipAdd(page).
      assignGroupToAddToName("test:test").assignSubjectId("test.subject.1").browse();
 

  • Constructor Details

    • GrouperUiBrowserMembershipAdd

      public GrouperUiBrowserMembershipAdd(GrouperPage grouperPage)
  • Method Details

    • assignSubject

      public GrouperUiBrowserMembershipAdd assignSubject(Subject subject1)
      Pass in a subject object
      Parameters:
      subject1 -
      Returns:
      this object
    • assignSubjectId

      public GrouperUiBrowserMembershipAdd assignSubjectId(String subjectId)
      Assign subjectId of the subject to be added
      Parameters:
      subject1 -
      Returns:
      this object
    • assignSubjectIdentifier

      public GrouperUiBrowserMembershipAdd assignSubjectIdentifier(String subjectIdentifier)
      Assign subjectIdentifier of the subject to be added
      Parameters:
      subject1 -
      Returns:
      this object
    • assignSubjectIdAndSourceId

      public GrouperUiBrowserMembershipAdd assignSubjectIdAndSourceId(String subjectId, String sourceId)
      Assign subjectId and sourceId of the subject to be added
      Parameters:
      subject1 -
      Returns:
      this object
    • assignSubjectIdentifierAndSourceId

      public GrouperUiBrowserMembershipAdd assignSubjectIdentifierAndSourceId(String subjectIdentifier, String sourceId)
      Assign subjectIdentifier and sourceId of the subject to be added
      Parameters:
      subject1 -
      Returns:
      this object
    • assignGroupToAddToName

      public GrouperUiBrowserMembershipAdd assignGroupToAddToName(String groupToAddToName)
      Id Path in UI
      Parameters:
      groupToAddToName -
      Returns:
      this object
    • assignGroupToAddToId

      public GrouperUiBrowserMembershipAdd assignGroupToAddToId(String groupToAddToId)
      Uuid of the group
      Parameters:
      groupToAddToName -
      Returns:
      this object
    • assignGroupToAddTo

      public GrouperUiBrowserMembershipAdd assignGroupToAddTo(Group group)
      Pass in a group object
      Parameters:
      groupToAddToName -
      Returns:
      this object
    • browse

      Method used to programmatically add a membership to a group. It types in the subject's combo value and presses enter, then adds the member and verifies a success message and an ajax refresh.
      Returns: