Class: EditTriggers
- Defined in:
- lib/sakai-cle-test-api/page_objects/job_scheduler.rb
Overview
The page for Editing Triggers
Instance Method Summary collapse
- #new_trigger ⇒ Object
- #return_to_jobs ⇒ Object
-
#run_job_now ⇒ Object
Clicks the “Run Job Now” link, then instantiates the RunJobConfirmation Class.
Methods inherited from BasePage
basic_page_elements, frame_element
Methods inherited from PageMaker
element, expected_element, expected_title, #initialize, #method_missing, page_url
Constructor Details
This class inherits a constructor from PageMaker
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class PageMaker
Instance Method Details
#new_trigger ⇒ Object
80 81 82 83 |
# File 'lib/sakai-cle-test-api/page_objects/job_scheduler.rb', line 80 def new_trigger frm.link(:text=>"New Trigger").click CreateTrigger.new(@browser) end |
#return_to_jobs ⇒ Object
75 76 77 78 |
# File 'lib/sakai-cle-test-api/page_objects/job_scheduler.rb', line 75 def return_to_jobs frm.link(:text=>"Return_to_Jobs").click JobList.new(@browser) end |
#run_job_now ⇒ Object
Clicks the “Run Job Now” link, then instantiates the RunJobConfirmation Class.
70 71 72 73 |
# File 'lib/sakai-cle-test-api/page_objects/job_scheduler.rb', line 70 def run_job_now frm.div(:class=>"portletBody").link(:text=>"Run Job Now").click RunJobConfirmation.new(@browser) end |