Module: EditProfileMethods

Includes:
PageObject
Defined in:
lib/kuali-sakai-common-lib/profile.rb

Instance Method Summary collapse

Instance Method Details

#picture_file(filename, filepath = "") ⇒ Object



32
33
34
# File 'lib/kuali-sakai-common-lib/profile.rb', line 32

def picture_file(filename, filepath="")
  frm.file_field(:name=>"editProfileForm:uploadFile.uploadId").set(filepath + filename)
end

#saveObject



27
28
29
30
# File 'lib/kuali-sakai-common-lib/profile.rb', line 27

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