Module: AddEditPollMethods
- Includes:
- PageObject
- Defined in:
- lib/kuali-sakai-common-lib/polls.rb
Instance Method Summary collapse
Instance Method Details
#additional_instructions=(text) ⇒ Object
39 40 41 |
# File 'lib/kuali-sakai-common-lib/polls.rb', line 39 def additional_instructions=(text) frm.frame(:id, "newpolldescr::input___Frame").td(:id, "xEditingArea").frame(:index=>0).send_keys(text) end |
#save ⇒ Object
48 49 50 51 |
# File 'lib/kuali-sakai-common-lib/polls.rb', line 48 def save frm.(:value=>"Save").click Polls.new(@browser) end |
#save_and_add_options ⇒ Object
43 44 45 46 |
# File 'lib/kuali-sakai-common-lib/polls.rb', line 43 def frm.(:value=>"Save and add options").click AddAnOption.new(@browser) end |