Class: UserMembership

Inherits:
BasePage
  • Object
show all
Defined in:
lib/sambal-cle/page_objects/user_membership.rb

Overview

User Membership page for admin users - “icon-sakai-usermembership”

Instance Method Summary collapse

Methods inherited from BasePage

basic_page_elements, button, damballa, frame_element, link

Instance Method Details

#namesObject

Returns an array containing the user names displayed in the search results.



11
12
13
14
15
16
17
18
# File 'lib/sambal-cle/page_objects/user_membership.rb', line 11

def names
  names = []
  frm.table(:class=>/listHier/).rows.each do |row|
    names << row[2].text
  end
  names.delete_at(0)
  return names
end