Class: DiscussionsMyProfile
- Inherits:
-
JForumsBase
- Object
- PageFactory
- BasePage
- JForumsBase
- DiscussionsMyProfile
- Defined in:
- lib/sambal-cle/page_objects/jforums.rb
Overview
The Profile page for Discussion Forums
Instance Method Summary collapse
-
#avatar(filename, filepath = "") ⇒ Object
Enters the specified filename in the file field.
Methods inherited from JForumsBase
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Instance Method Details
#avatar(filename, filepath = "") ⇒ Object
Enters the specified filename in the file field.
The method takes the filepath as an optional second parameter.
199 200 201 |
# File 'lib/sambal-cle/page_objects/jforums.rb', line 199 def avatar(filename, filepath="") frm.file_field(:name=>"avatar").set(filepath + filename) end |