Class: AddEditEvent
- Inherits:
-
CalendarBase
- Object
- PageFactory
- BasePage
- CalendarBase
- AddEditEvent
- Includes:
- FCKEditor
- Defined in:
- lib/sambal-cle/page_objects/calendar.rb
Instance Method Summary collapse
-
#attachment?(file_name) ⇒ Boolean
Returns true if the page has a link with the specified file name.
- #message=(text) ⇒ Object
Methods included from FCKEditor
#enter_source_text, #entity_picker, #get_source_text, #prepend, #select_all, #source, #source_field
Methods inherited from CalendarBase
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Instance Method Details
#attachment?(file_name) ⇒ Boolean
Returns true if the page has a link with the specified file name. Use for test case asserts.
185 186 187 |
# File 'lib/sambal-cle/page_objects/calendar.rb', line 185 def (file_name) frm.link(:text=>file_name).exist? end |
#message=(text) ⇒ Object
170 171 172 |
# File 'lib/sambal-cle/page_objects/calendar.rb', line 170 def (text) editor.td(:id, "xEditingArea").frame(:index=>0).send_keys(text) end |