lib/testable/extensions/data_setter.rb
# This is the method that is delegated to in order to make sure that
# elements are interacted with appropriately. This will in turn delegate
# to `set_and_select` and `check_and_uncheck`, which determines what
# actions are viable based on the type of element that is being dealt
# with. These aspects are what tie this particular implementation to
# Watir.
This is the method that is delegated to in order to make sure that
elements are interacted with appropriately. This will in turn delegate
to `set_and_select` and `check_and_uncheck`, which determines what
actions are viable based on the type of element that is being dealt
with. These aspects are what tie this particular implementation to
Watir.
This is the method that is delegated to in order to make sure that elements are interacted with appropriately . This will in turn delegate to ` set_and_select ` and ` check_and_uncheck ` which determines what actions are viable based on the type of element that is being dealt with . These aspects are what tie this particular implementation to Watir .
def use_data_with(key, value)
      value = preprocess_value(value, key)
      element = public_send(key.to_s.tr(' ', '_'))
      set_and_select(key, element, value)
      check_and_uncheck(key, element, value)
      click(key, element)
    end
def use_data_with ( key , value ) value = preprocess_value ( value , key ) element = public_send ( key . to_s . tr ( ' ' , '_' ) ) set_and_select ( key , element , value ) check_and_uncheck ( key , element , value ) click ( key , element ) end
This is the method that is delegated to in order to make sure that
elements are interacted with appropriately.
This is the method that is delegated to in order to make sure that elements are interacted with appropriately .
key
<not_specific>
value
<not_specific>