airgun.entities.hostgroup

Module Contents

Classes

HostGroupEntity

ShowAllHostGroups

Navigate to All Host Groups page

AddNewHostGroup

Navigate to Create Host Group page

EditHostGroup

Navigate to Edit Host Group page by clicking entity name in the table

class airgun.entities.hostgroup.HostGroupEntity(browser)
endpoint_path = /hostgroups
create(values)

Create new host group entity

search(value)

Search for existing host group entity

read(entity_name, widget_names=None)

Read values from host group edit page

read_all()

Read values from host groups title page

delete(entity_name)

Delete host group from the system

update(entity_name, values)

Edit an existing host group

class airgun.entities.hostgroup.ShowAllHostGroups(obj, navigate_obj, logger=None)

Navigate to All Host 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.hostgroup.AddNewHostGroup(obj, navigate_obj, logger=None)

Navigate to Create Host 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.hostgroup.EditHostGroup(obj, navigate_obj, logger=None)

Navigate to Edit Host Group page by clicking entity name in the table

Parameters

entity_name – name of the host 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.