airgun.entities.usergroup

Module Contents

Classes

UserGroupEntity

ShowAllUserGroups

Navigate to All User Groups page

AddNewUserGroup

Navigate to Create User Group page

EditUserGroup

Navigate to Edit User Group page

class airgun.entities.usergroup.UserGroupEntity(browser)
endpoint_path = /usergroups
create(values)

Create new user group entity

search(value)

Search for user group entity

read(entity_name, widget_names=None)

Read all values for created user group entity

update(entity_name, values)

Update necessary values for user group

delete(entity_name)

Remove existing user group entity

refresh_external_group(entity_name, external_group_name)

Refresh external group.

class airgun.entities.usergroup.ShowAllUserGroups(obj, navigate_obj, logger=None)

Navigate to All User Groups page

VIEW
step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.

class airgun.entities.usergroup.AddNewUserGroup(obj, navigate_obj, logger=None)

Navigate to Create User Group page

VIEW
prerequisite
step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.

class airgun.entities.usergroup.EditUserGroup(obj, navigate_obj, logger=None)

Navigate to Edit User Group page

Parameters

entity_name – name of the user group

VIEW
prerequisite(*args, **kwargs)

Describes a step that must be carried our prior to this one.

This often calls a previous navigate_to, often using one of the helpers, NavigateToSibling which will navigate to a given destination using the same object, or NavigateToAttribute which will navigate to a destination against an object describe by the attribute of the parent object.

This is a default and is generally overridden.

step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.