Class: SelectSchemaFile
- Defined in:
- lib/sambal-cle/page_objects/forms.rb
Instance Method Summary collapse
-
#file_names ⇒ Object
FIXME.
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Instance Method Details
#file_names ⇒ Object
FIXME
58 59 60 61 62 63 64 65 66 67 |
# File 'lib/sambal-cle/page_objects/forms.rb', line 58 def file_names #FIXME names = [] resources_table = frm.table(:class=>"listHier lines") 1.upto(resources_table.rows.size-1) do |x| if resources_table[x][0].link.exist? && resources_table[x][0].a(:index=>0).title=~/File Type/ names << resources_table[x][0].text end end return names end |