Sha256: fa3b242e423dc6ceb2e5b83341b6e2a5e6c15f6b548b5c67fea45781519af16d
Contents?: true
Size: 680 Bytes
Versions: 20
Compression:
Stored size: 680 Bytes
Contents
module TestCentricity class CellRadio < CellElement attr_accessor :proxy def initialize(name, parent, locator, context, table, column, proxy) super @type = :cell_radio @proxy = proxy end def selected?(row) obj, = find_cell_element(row) cell_object_not_found_exception(obj, 'Cell Radio', row) obj.checked? end def set_selected_state(row, state) obj, = find_cell_element(row) cell_object_not_found_exception(obj, 'Cell Radio', row) obj.set(state) end def select(row) set_selected_state(row, true) end def unselect(row) set_selected_state(row, false) end end end
Version data entries
20 entries across 20 versions & 1 rubygems