Module: RAutomation::Adapter::MsUia::ButtonHelper

Included in:
Checkbox, Radio
Defined in:
lib/rautomation/adapter/ms_uia/button_helper.rb

Instance Method Summary collapse

Instance Method Details

#clear

TODO:

call a windows function to do this without clicking



7
8
9
# File 'lib/rautomation/adapter/ms_uia/button_helper.rb', line 7

def clear
  click {!set?} if set?
end

#set

TODO:

call a windows function to do this without clicking



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

def set
  click {set?} unless set?
end