airgun.entities.hardware_model
¶
Module Contents¶
Classes¶
Navigate to All Hardware Model screen. |
|
Navigate to Create new Hardware Model screen. |
|
Navigate to Edit Hardware Model screen. |
- class airgun.entities.hardware_model.HardwareModelEntity(browser)¶
- endpoint_path = /models¶
- create(values)¶
Create new hardware model
- search(value)¶
Search for specific hardware model
- read(entity_name, widget_names=None)¶
Read values for existing hardware model
- update(entity_name, values)¶
Update hardware model values
- delete(entity_name, err_message='')¶
Delete hardware model
err_message - expected when dialog throws an error, error message is checked
- class airgun.entities.hardware_model.ShowAllHardwareModels(obj, navigate_obj, logger=None)¶
Navigate to All Hardware Model screen.
- 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.hardware_model.AddNewHardwareModel(obj, navigate_obj, logger=None)¶
Navigate to Create new Hardware Model screen.
- 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.hardware_model.EditHardwareModel(obj, navigate_obj, logger=None)¶
Navigate to Edit Hardware Model screen.
- Parameters
entity_name – name of hardware model
- 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.