cfme.automate.dialog_box module

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

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

VIEW

alias of AddBoxView

prerequisite

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.

step()[source]
class cfme.automate.dialog_box.AddBoxView(parent, logger=None, **kwargs)[source]

Bases: cfme.automate.dialog_box.BoxForm

AddBox View.

is_displayed
plus_btn

This class handles instantiating and caching of the widgets on view.

It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.

It also acts as a counter, so you can then order the widgets by their “creation” stamp.

class cfme.automate.dialog_box.Box(collection, box_label, box_desc)[source]

Bases: cfme.utils.appliance.BaseEntity

A class representing one Box of dialog.

elements
parent

returns the parent object - Tab

tab
tree_path
class cfme.automate.dialog_box.BoxCollection(appliance, parent)[source]

Bases: cfme.utils.appliance.BaseCollection

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

Create box method. :param box_label and box_description.:

instantiate(box_label=None, box_desc=None)[source]
tree_path
class cfme.automate.dialog_box.BoxForm(parent, logger=None, **kwargs)[source]

Bases: cfme.automate.dialog_tab.AddTabView

box_desc

This class handles instantiating and caching of the widgets on view.

It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.

It also acts as a counter, so you can then order the widgets by their “creation” stamp.

box_label

This class handles instantiating and caching of the widgets on view.

It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.

It also acts as a counter, so you can then order the widgets by their “creation” stamp.

class cfme.automate.dialog_box.EditBoxView(parent, logger=None, **kwargs)[source]

Bases: cfme.automate.dialog_box.BoxForm

EditBox View.

is_displayed