Class: RFormUnit::ComboBox
- Inherits:
-
BaseControl
- Object
- BaseControl
- RFormUnit::ComboBox
- Defined in:
- lib/rformunit/control.rb
Instance Attribute Summary
Attributes inherited from BaseControl
Instance Method Summary collapse
Methods inherited from BaseControl
#click, #focus, #get_text, #initialize, #is_enabled?, #is_visible?, #send_text, #set_text
Methods included from Driver
#close_window, #driver, #focus_window, #init, #key_press, #open_file_dialog, #set_autoit_option, #wait_and_focus_window, #wait_for_window, #window_exists?
Constructor Details
This class inherits a constructor from RFormUnit::BaseControl
Instance Method Details
#hide_dropdown ⇒ Object
90 91 92 |
# File 'lib/rformunit/control.rb', line 90 def hide_dropdown driver.ControlCommand(@parent_win.title, @parent_win.text, @control_id, "HideDropDown" ,"") end |
#select_option(option) ⇒ Object
94 95 96 |
# File 'lib/rformunit/control.rb', line 94 def select_option(option) driver.ControlCommand(@parent_win.title, @parent_win.text, @control_id, "SelectString" , option) end |
#show_dropdown ⇒ Object
86 87 88 |
# File 'lib/rformunit/control.rb', line 86 def show_dropdown driver.ControlCommand(@parent_win.title, @parent_win.text, @control_id, "ShowDropDown" ,"") end |