Class: RAutomation::Adapter::MsUia::ValueControl

Inherits:
Control
  • Object
show all
Includes:
Locators, WaitHelper
Defined in:
lib/rautomation/adapter/ms_uia/value_control.rb

Instance Method Summary collapse

Methods inherited from Control

#assert_enabled, #bounding_rectangle, #cached_hwnd, #click, #collapse, #control_class, #control_name, #disabled?, #enabled?, #exist?, #expand, #focus, #focused?, #get_current_control_type, #help_text, #hwnd, #initialize, #matches_type?, #new_pid, #search_information, #visible?

Constructor Details

This class inherits a constructor from RAutomation::Adapter::MsUia::Control

Instance Method Details

#set(value)



12
13
14
# File 'lib/rautomation/adapter/ms_uia/value_control.rb', line 12

def set(value)
  UiaDll::set_control_value(search_information, value)
end

#value



8
9
10
# File 'lib/rautomation/adapter/ms_uia/value_control.rb', line 8

def value
  UiaDll::get_control_value(search_information)
end