ole-qa-framework 3.8.3 → 3.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/ole_qa_framework/VERSION.rb +1 -1
- data/lib/olels/pages/batch_job_details.rb +2 -1
- data/lib/olels/pages/batch_job_report.rb +53 -0
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbbd9c9928ba50fddc7d11f38015962a7614caca
|
4
|
+
data.tar.gz: c92486daf3103327f9f5bcd7d750a131294b40aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77b45860cad837842bd76d7edd2951210764427db66634fa6df98916829585c3bcda8574ac9640c5d06fde58d0f40f1f131f49729b0a047342ccc45443c93855
|
7
|
+
data.tar.gz: bd70cfb49983fccd8cf9b272ec5e36f57b4f81583be770e9304de31e3b9e576271cc635fc79b136b4fe185479af471735dfc34accd9b21342d806b78fc50386d
|
data/CHANGELOG.md
CHANGED
@@ -13,7 +13,8 @@
|
|
13
13
|
# limitations under the License.
|
14
14
|
|
15
15
|
module OLE_QA::Framework::OLELS
|
16
|
-
|
16
|
+
# The Batch Process Job Details page in OLE.
|
17
|
+
# @note This page refreshes about once a minute while open.
|
17
18
|
class Batch_Job_Details < OLE_QA::Framework::Page
|
18
19
|
def initialize(ole_session)
|
19
20
|
url = ole_session.url + 'portal.do?channelTitle=Batch Process Job Details&channelUrl='
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# Copyright 2005-2013 The Kuali Foundation
|
2
|
+
#
|
3
|
+
# Licensed under the Educational Community License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at:
|
6
|
+
#
|
7
|
+
# http://www.opensource.org/licenses/ecl2.php
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
module OLE_QA::Framework::OLELS
|
16
|
+
# A Batch Process job report page in OLE.
|
17
|
+
class Batch_Job_Report < OLE_QA::Framework::Page
|
18
|
+
# It is not possible link directly to a job report by job ID in OLE.
|
19
|
+
# A form key is generated when the report is accessed, and the URL will not work without one.
|
20
|
+
def initialize(ole_session)
|
21
|
+
url = ole_session.url + 'portal.do?channelTitle=Batch Process Job Details&channelUrl='
|
22
|
+
url += ole_session.url + 'ole-kr-krad/oleBatchProcessJobController?viewId=OLEBatchProcessJobDetailsView&methodToCall=jobDocHandler&command=initiate&documentClass=org.kuali.ole.batch.bo.OLEBatchProcessJobDetailsBo'
|
23
|
+
super(ole_session,url)
|
24
|
+
end
|
25
|
+
|
26
|
+
def set_elements
|
27
|
+
element(:title) {b.h2.span(:class => 'uif-headerText-span')}
|
28
|
+
element(:job_id) {b.span(:id => 'jobIdField-popup_control')}
|
29
|
+
element(:job_name) {b.span(:id => 'jobNameField-popup_control')}
|
30
|
+
element(:batch_process_type) {b.span(:id => 'batchProcessType-popup_control')}
|
31
|
+
element(:batch_profile_name) {b.span(:id => 'batchProfileNameField-popup_control')}
|
32
|
+
element(:upload_file_name) {b.span(:id => 'uploadFileNameField-popup_control')} # Order Record Import jobs only
|
33
|
+
element(:create_time) {b.span(:id => 'createTimeField-popup_control')}
|
34
|
+
element(:batch_process_id) {b.span(:id => 'batchProcessIdField-popup_control')}
|
35
|
+
element(:user_name) {b.span(:id => 'userNameField-popup_control')}
|
36
|
+
element(:total_records) {b.span(:id => 'totalNoOfRecordsField-popup_control')}
|
37
|
+
element(:records_processed) {b.span(:id => 'noOfRecordsProcessedField-popup_control')}
|
38
|
+
element(:success_records) {b.span(:id => 'noOfSuccessRecordsField-popup_control')} # "N/A" on Order Record Import
|
39
|
+
element(:failure_records) {b.span(:id => 'noOfFailureRecordsField-popup_control')} # "N/A" on Order Record Import
|
40
|
+
element(:percent_completed) {b.span(:id => 'perCompletedField-popup_control')}
|
41
|
+
element(:start_time) {b.span(:id => 'startTimeField-popup_control')}
|
42
|
+
element(:end_time) {b.span(:id => 'endTimeField-popup_control')}
|
43
|
+
element(:time_spent) {b.span(:id => 'timeSpentField-popup_control')}
|
44
|
+
element(:status) {b.span(:id => 'statusField-popup_control')}
|
45
|
+
element(:status_description) {b.span(:id => 'statusDescField-popup_control')}
|
46
|
+
end
|
47
|
+
|
48
|
+
def wait_for_elements
|
49
|
+
super
|
50
|
+
@wait_on << :title << :job_id << :batch_process_id << :status
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ole-qa-framework
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jain Waldrip
|
@@ -185,6 +185,7 @@ files:
|
|
185
185
|
- lib/olels/pages/batch_export_profile.rb
|
186
186
|
- lib/olels/pages/batch_import_profile.rb
|
187
187
|
- lib/olels/pages/batch_job_details.rb
|
188
|
+
- lib/olels/pages/batch_job_report.rb
|
188
189
|
- lib/olels/pages/batch_process.rb
|
189
190
|
- lib/olels/pages/batch_profile_lookup.rb
|
190
191
|
- lib/olels/pages/batch_type_lookup.rb
|