Class: AddEditSiteProperties

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

Instance Method Summary collapse

Methods inherited from BasePage

basic_page_elements, frame_element

Instance Method Details

#doneObject

Clicks the Done button, then instantiates the EditSiteInfo class.



231
232
233
234
# File 'lib/sambal-cle/page_objects/sites.rb', line 231

def done
  frm.button(:value=>"Done").click
  EditSiteInfo.new(@browser)
end

#new_propertyObject

Clicks the New Property button



224
225
226
227
# File 'lib/sambal-cle/page_objects/sites.rb', line 224

def new_property
  frm.button(:value=>"New Property").click
  #Class.new(@browser)
end

#saveObject

Clicks the Save button, then instantiates the Sites page class.



238
239
240
241
# File 'lib/sambal-cle/page_objects/sites.rb', line 238

def save
  frm.button(:value=>"Save").click
  Sites.new(@browser)
end