module RAutomation::Adapter::Win32::ButtonHelper

Public Instance Methods

clear() click to toggle source

@todo call a windows function to do this without clicking

# File lib/rautomation/adapter/win_32/button_helper.rb, line 12
def clear
  click {!set?} if set?
end
set() click to toggle source

@todo call a windows function to do this without clicking

# File lib/rautomation/adapter/win_32/button_helper.rb, line 17
def set
  click {set?} unless set?
end
set?() click to toggle source
# File lib/rautomation/adapter/win_32/button_helper.rb, line 6
def set?
  control_hwnd = Functions.control_hwnd(@window.hwnd, @locators)
  Functions.control_set? control_hwnd
end