Class GrouperUiBrowserMembershipRemove
java.lang.Object
edu.internet2.middleware.grouper.app.browser.GrouperUiBrowser
edu.internet2.middleware.grouper.app.browser.GrouperUiBrowserMembershipRemove
This class is used to programmatically remove a subject from a group
Remove subject with subjectId: "test.subject.1" to group with name: "test:test"
GrouperUiBrowserMembershipRemove grouperUiBrowserMembershipRemove = new GrouperUiBrowserMembershipRemove(page). assignGroupToRemoveFromName("test:test").assignSubjectId("test.subject.1").browse();
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassignGroupToRemoveFrom
(Group group) Pass in a group objectassignGroupToRemoveFromId
(String groupToRemoveFromId) Uuid of the groupassignGroupToRemoveFromName
(String groupToRemoveFromName) Id Path in UIassignSubject
(Subject subject1) assignSubjectId
(String subjectId) assignSubjectIdAndSourceId
(String subjectId, String sourceId) assignSubjectIdentifier
(String subjectIdentifier) assignSubjectIdentifierAndSourceId
(String subjectIdentifier, String sourceId) browse()
This method navigates to the correct group, then clicks on the checkbox with the custom attribute matching the desired subject's combo box.Methods inherited from class edu.internet2.middleware.grouper.app.browser.GrouperUiBrowser
getGrouperPage
-
Constructor Details
-
GrouperUiBrowserMembershipRemove
-
-
Method Details
-
assignSubject
-
assignSubjectId
-
assignSubjectIdentifier
-
assignSubjectIdAndSourceId
public GrouperUiBrowserMembershipRemove assignSubjectIdAndSourceId(String subjectId, String sourceId) -
assignSubjectIdentifierAndSourceId
public GrouperUiBrowserMembershipRemove assignSubjectIdentifierAndSourceId(String subjectIdentifier, String sourceId) -
assignGroupToRemoveFromName
Id Path in UI- Parameters:
groupToRemoveFromName
-- Returns:
- this object
-
assignGroupToRemoveFromId
Uuid of the group- Parameters:
groupToRemoveFromName
-- Returns:
- this object
-
assignGroupToRemoveFrom
Pass in a group object- Parameters:
groupToRemoveFromName
-- Returns:
- this object
-
browse
This method navigates to the correct group, then clicks on the checkbox with the custom attribute matching the desired subject's combo box. It clicks "remove slected members" and verifies an ajax refresh and a success message.- Returns:
-