Class: AddEditSiteProperties
- Defined in:
- lib/sambal-cle/page_objects/sites.rb
Instance Method Summary collapse
-
#done ⇒ Object
Clicks the Done button, then instantiates the EditSiteInfo class.
-
#new_property ⇒ Object
Clicks the New Property button.
-
#save ⇒ Object
Clicks the Save button, then instantiates the Sites page class.
Methods inherited from BasePage
basic_page_elements, frame_element
Instance Method Details
#done ⇒ Object
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.(:value=>"Done").click EditSiteInfo.new(@browser) end |
#new_property ⇒ Object
Clicks the New Property button
224 225 226 227 |
# File 'lib/sambal-cle/page_objects/sites.rb', line 224 def new_property frm.(:value=>"New Property").click #Class.new(@browser) end |
#save ⇒ Object
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.(:value=>"Save").click Sites.new(@browser) end |