Module: AddAnOptionMethods
- Defined in:
- lib/kuali-sakai-common-lib/polls.rb
Instance Method Summary collapse
Instance Method Details
#answer_option=(text) ⇒ Object
61 62 63 |
# File 'lib/kuali-sakai-common-lib/polls.rb', line 61 def answer_option=(text) frm.frame(:id, "optText::input___Frame").td(:id, "xEditingArea").frame(:index=>0).send_keys(text) end |
#save ⇒ Object
65 66 67 68 |
# File 'lib/kuali-sakai-common-lib/polls.rb', line 65 def save frm.(:value=>"Save").click AddEditPoll.new(@browser) end |
#save_and_add_options ⇒ Object
70 71 72 73 |
# File 'lib/kuali-sakai-common-lib/polls.rb', line 70 def frm.(:value=>"Save and add options").click AddAnOption.new(@browser) end |