Class: FireWatir::Radio
- Inherits:
-
RadioCheckCommon
- Object
- Element
- RadioCheckCommon
- FireWatir::Radio
- Defined in:
- lib/firewatir/elements/radio_check_common.rb
Overview
Description:
Class for RadioButton element.
Constant Summary
Constants inherited from Element
Element::FIRST_ORDERED_NODE_TYPE, Element::NUMBER_TYPE, Element::ORDERED_NODE_ITERATOR_TYPE, Element::TO_S_SIZE
Constants included from Container
Container::DEFAULT_HIGHLIGHT_COLOR, Container::MACHINE_IP
Instance Attribute Summary
Attributes inherited from RadioCheckCommon
Attributes inherited from Element
Instance Method Summary collapse
- #clear ⇒ Object
-
#initialize(*args) ⇒ Radio
constructor
A new instance of Radio.
Methods inherited from RadioCheckCommon
Methods inherited from Element
#assert_enabled, #assert_exists, #attribute_value, #click, #contains_text, #disabled, #document_var, #element_by_xpath, #element_type, #elements_by_xpath, #enabled?, #exists?, #fire_event, #inspect, #method_missing, #text, #to_s, #visible?, #wait
Methods included from Container
#button, #cell, #checkbox, #dd, #dl, #dt, #file_field, #form, #frame, #hidden, #image, #link, #radio, #row, #select_list, #show_all_objects, #table, #text_field
Methods included from JsshSocket
#js_eval, #js_eval_method, #jssh_socket, #read_socket
Constructor Details
#initialize(*args) ⇒ Radio
Returns a new instance of Radio.
98 99 100 101 |
# File 'lib/firewatir/elements/radio_check_common.rb', line 98 def initialize *args super @type = ["radio"] end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class FireWatir::Element
Instance Method Details
#clear ⇒ Object
103 104 105 106 107 108 109 |
# File 'lib/firewatir/elements/radio_check_common.rb', line 103 def clear assert_exists assert_enabled #higlight(:set) @o.checked = false #highlight(:clear) end |