Class: AssignBase
- Inherits:
-
SectionsBase
- Object
- PageFactory
- BasePage
- SectionsBase
- AssignBase
- Defined in:
- lib/sambal-cle/page_objects/sections.rb
Direct Known Subclasses
Class Method Summary collapse
Methods inherited from SectionsBase
Methods inherited from BasePage
basic_page_elements, button, damballa, frame_element, link
Class Method Details
.assign_elements ⇒ Object
124 125 126 127 128 129 130 131 |
# File 'lib/sambal-cle/page_objects/sections.rb', line 124 def assign_elements element(:available_tas) { |b| b.frm.select(:id=>"memberForm:availableUsers") } element(:assigned_tas) { |b| b.frm.select(:id=>"memberForm:selectedUsers") } action(:assign) { |b| b.frm.(:value=>">").click } action(:unassign) { |b| b.frm.(:value=>"<").click } action(:assign_all) { |b| b.frm.(:value=>">>").click } action(:unassign_all) { |b| b.frm.(:value=>"<<").click } end |