Class: DiscussionsMyProfile

Inherits:
JForumsBase show all
Defined in:
lib/sambal-cle/page_objects/jforums.rb

Overview

The Profile page for Discussion Forums

Instance Method Summary collapse

Methods inherited from JForumsBase

forums_page_elements

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