class OLE_QA::Framework::OLELS::Batch_Job_Report
A Batch Process job report page in OLE.
Public Class Methods
new(ole_session)
click to toggle source
It is not possible link directly to a job report by job ID in OLE.
A form key is generated when the report is accessed, and the URL will not work without one.
Calls superclass method
OLE_QA::Framework::Page::new
# File lib/olels/pages/batch_job_report.rb, line 20 def initialize(ole_session) url = ole_session.url + 'portal.do?channelTitle=Batch Process Job Details&channelUrl=' url += ole_session.url + 'ole-kr-krad/oleBatchProcessJobController?viewId=OLEBatchProcessJobDetailsView&methodToCall=jobDocHandler&command=initiate&documentClass=org.kuali.ole.batch.bo.OLEBatchProcessJobDetailsBo' super(ole_session,url) end
Public Instance Methods
set_elements()
click to toggle source
Calls superclass method
OLE_QA::Framework::Page#set_elements
# File lib/olels/pages/batch_job_report.rb, line 26 def set_elements super element(:title) {b.h2.span(:class => 'uif-headerText-span')} element(:job_id) {b.span(:id => 'jobIdField-popup_control')} element(:job_name) {b.span(:id => 'jobNameField-popup_control')} element(:batch_process_type) {b.span(:id => 'batchProcessType-popup_control')} element(:batch_profile_name) {b.span(:id => 'batchProfileNameField-popup_control')} element(:upload_file_name) {b.span(:id => 'uploadFileNameField-popup_control')} # Order Record Import jobs only element(:create_time) {b.span(:id => 'createTimeField-popup_control')} element(:batch_process_id) {b.span(:id => 'batchProcessIdField-popup_control')} element(:user_name) {b.span(:id => 'userNameField-popup_control')} element(:total_records) {b.span(:id => 'totalNoOfRecordsField-popup_control')} element(:records_processed) {b.span(:id => 'noOfRecordsProcessedField-popup_control')} element(:success_records) {b.span(:id => 'noOfSuccessRecordsField-popup_control')} # "N/A" on Order Record Import element(:failure_records) {b.span(:id => 'noOfFailureRecordsField-popup_control')} # "N/A" on Order Record Import element(:percent_completed) {b.span(:id => 'perCompletedField-popup_control')} element(:start_time) {b.span(:id => 'startTimeField-popup_control')} element(:end_time) {b.span(:id => 'endTimeField-popup_control')} element(:time_spent) {b.span(:id => 'timeSpentField-popup_control')} element(:status) {b.span(:id => 'statusField-popup_control')} element(:status_description) {b.span(:id => 'statusDescField-popup_control')} element(:view_export_file) {b.div(:id => 'exportPath-popup').a(:class => 'uif-link')} end
wait_for_elements()
click to toggle source
Calls superclass method
OLE_QA::Framework::Page#wait_for_elements
# File lib/olels/pages/batch_job_report.rb, line 50 def wait_for_elements super @wait_on << :title << :job_id << :batch_process_id << :status end