Class: EditMatrixCells

Inherits:
BasePage
  • Object
show all
Defined in:
lib/sambal-cle/page_objects/matrix.rb

Instance Method Summary collapse

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Instance Method Details

#edit_cell_by_row_and_column(row, column) ⇒ Object



138
139
140
141
142
143
# File 'lib/sambal-cle/page_objects/matrix.rb', line 138

def edit_cell_by_row_and_column(row, column)
  columns = []
  column_headers.each { |col| columns << col.text }
  columns.delete_at(0)
  matrix_scaffolding.row(:text=>/#{Regexp.escape(row)}/).td(:index=>columns.index(column)).fire_event("onclick")
end