cfme.web_ui.form_buttons module¶
This module unifies working with CRUD form buttons.
Whenever you use Add, Save, Cancel, Reset button, use this module. You can use it also for the other buttons with same shape like those CRUD ones.
Bases:
cfme.utils.pretty.Pretty
This class represents the buttons usually located in forms or CRUD.
Parameters: - alt – The text from
alt
field of the image. - dimmed_alt – In case the
alt
param is different in the dimmed variant of the button. - force_click – Click always, even if it is dimmed. (Causes an error if not visible)
- partial_alt – Whether the alt matching should be only partial (
in
). - ng_click – To match the angular buttons, you can use this to specify the contents of
ng-click
attributeh.
Holds pieces of the XPath to be assembled.
For maintaining backward compatibility
Whether the button is displayed, therefore clickable.
- alt – The text from