cfme.generic_objects.definition.button_groups module¶
Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
alias of
GenericObjectAddButtonView
This is a helper descriptor for destinations which are linked to an attribute of the object.
For instance, imagine you have an object that has an attribute(parent) which has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToAttribute as a helper, supplying only the name of the attribute which stores the object to be used in the navigation, and the destination name. This will set prerequisite to be a callable that will navigate to the prerequisite step.
Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
This is a helper descriptor for destinations which are linked to an attribute of the object.
For instance, imagine you have an object that has an attribute(parent) which has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToAttribute as a helper, supplying only the name of the attribute which stores the object to be used in the navigation, and the destination name. This will set prerequisite to be a callable that will navigate to the prerequisite step.
Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
alias of
GenericObjectAddButtonView
This is a helper descriptor for destinations which are linked to an attribute of the object.
For instance, imagine you have an object that has an attribute(parent) which has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToAttribute as a helper, supplying only the name of the attribute which stores the object to be used in the navigation, and the destination name. This will set prerequisite to be a callable that will navigate to the prerequisite step.
Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
alias of
GenericObjectButtonGroupAddView
This is a helper descriptor for destinations which are linked to an attribute of the object.
For instance, imagine you have an object that has an attribute(parent) which has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToAttribute as a helper, supplying only the name of the attribute which stores the object to be used in the navigation, and the destination name. This will set prerequisite to be a callable that will navigate to the prerequisite step.
Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
alias of
GenericObjectActionsDetailsView
This is a helper descriptor for destinations which are linked to an attribute of the object.
For instance, imagine you have an object that has an attribute(parent) which has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToAttribute as a helper, supplying only the name of the attribute which stores the object to be used in the navigation, and the destination name. This will set prerequisite to be a callable that will navigate to the prerequisite step.
Bases:
cfme.utils.appliance.implementations.ui.CFMENavigateStep
alias of
GenericObjectButtonGroupDetailsView
This is a helper descriptor for destinations which are linked to an attribute of the object.
For instance, imagine you have an object that has an attribute(parent) which has a ‘ViewAll’, destination that needs to be visited before you can click on ‘New’. In this instance, you would need to make the ‘New’ destination use ‘ViewAll’ as a prerequisite. As this would need no other special input, we can use NavigateToAttribute as a helper, supplying only the name of the attribute which stores the object to be used in the navigation, and the destination name. This will set prerequisite to be a callable that will navigate to the prerequisite step.
Bases:
cfme.modeling.base.BaseEntity
Automatically created by attrs.
Automatically created by attrs.
Automatically created by attrs.
Automatically created by attrs.
Check equality and either forward a NotImplemented or return the result negated.
Automatically created by attrs.
Delete generic object button
Args: cancel(bool): By default button will be deleted, pass True to cancel deletion
Bases:
cfme.modeling.base.BaseEntity
Automatically created by attrs.
Automatically created by attrs.
Automatically created by attrs.
Automatically created by attrs.
Check equality and either forward a NotImplemented or return the result negated.
Automatically created by attrs.
Delete generic object button group
Args: cancel(bool): By default group will be deleted, pass True to cancel deletion
Bases:
cfme.modeling.base.BaseCollection
alias of
GenericObjectButtonGroup
Automatically created by attrs.
Automatically created by attrs.
Automatically created by attrs.
Automatically created by attrs.
Check equality and either forward a NotImplemented or return the result negated.
Automatically created by attrs.
All existing button groups
Returns: list of button groups objects
Add button group for generic object definition
Parameters: Returns: button group object
Bases:
cfme.modeling.base.BaseCollection
alias of
GenericObjectButton
Automatically created by attrs.
Automatically created by attrs.
Automatically created by attrs.
Automatically created by attrs.
Check equality and either forward a NotImplemented or return the result negated.
Automatically created by attrs.
All existing buttons
Returns: list of buttons objects
Add button to generic object definition or button group
Parameters: - name (str) – button name
- description (str) – button description
- request (str) – button request type
- image (str) – button image
- button_type (str) – button type
- display (bool) – parameter to display button on UI or not, default is True
- dialog (str) – button dialog
- open_url (str) – button open_url
- display_for (str) – for which item this button should be displayed
- submit_version (str) – how this button should be submited, ex. ‘One by one’
- system_message (str) – button submit message
- attributes (dict) – button attributes ex. {‘address’: ‘string’}
- role – role used for button
- cancel (bool) – cancel button creation, default if False
Returns: button object