cfme.automate.dialog_box module

class cfme.automate.dialog_box.Add(obj, navigate_obj)[source]

Bases: cfme.utils.appliance.implementations.ui.CFMENavigateStep


alias of AddBoxView


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.

class cfme.automate.dialog_box.Box(parent, box_label, box_desc=None)[source]

Bases: cfme.modeling.base.BaseEntity

A class representing one Box of dialog.

box_desc = Attribute(name='box_desc', default=None, validator=None, repr=True, cmp=True, hash=None, init=True, convert=None, metadata=mappingproxy({}))
box_label = Attribute(name='box_label', default=NOTHING, validator=None, repr=True, cmp=True, hash=None, init=True, convert=None, metadata=mappingproxy({}))
class cfme.automate.dialog_box.BoxCollection(parent, filters=NOTHING)[source]

Bases: cfme.modeling.base.BaseCollection


alias of Box

create(box_label=None, box_desc=None)[source]

Create box method. :param box_label and box_description.:

class cfme.automate.dialog_box.EditBoxView(*args, **kwargs)[source]

Bases: cfme.automate.BoxForm

EditBox View.