Replace InputFile with RadzenUpload in filter panels for better UX, switch to ephemeral RSA keys (safe for transport-only encryption), and add test scripts and documentation files.
23 KiB
Search Type 80: Time Span + Profit Center + Work Order + Item/Operation/MIS - Test Scripts
Overview
Test scripts for Search Type 80 (Time Span + Profit Center + Work Order + Item/Operation/MIS). This is the most comprehensive search type, allowing users to find work orders within a specified date range, filtered by profit center, specific work order numbers, and part operations (Item Number, Operation Number, MIS Number, and MIS Revision).
Filters Enabled:
- Timespan (Min Date, Max Date)
- Profit Center
- Work Order
- Part Operations (Item Number, Operation Number, MIS Number, MIS Revision)
Valid Test Data
Timespan
Valid date range in database: 1905-01-20 to 2020-09-01
Recommended test ranges:
- Recent:
2020-01-01to2020-09-01 - Mid-range:
2018-01-01to2019-12-31 - Historical:
2016-01-01to2017-12-31
Profit Centers (Branch Codes)
| Code |
|---|
| 1AM |
| 1BM |
| 1CM |
| 1PM |
| 2DM |
| 2SM |
| 3TM |
| 4IM |
| 5SM |
Work Orders
| WorkOrderNumber | ItemNumber |
|---|---|
| 99059700 | 00598004702 |
| 99002260 | 82070000028 |
| 99002259 | 82070000027 |
| 99002258 | 82070000019 |
| 99002257 | 82070000018 |
| 99002256 | 82070000017 |
| 99002255 | 00855140333 |
| 99002254 | 00855480834 |
| 99002252 | 82070000016 |
| 99002251 | 00855910448 |
| 99002250 | 82070000015 |
| 99002249 | 00855480834 |
| 99002248 | 00855910446 |
| 99002247 | 00855910447 |
| 99002246 | 82900171601 |
Item/Operation/MIS (Part Operations)
| ItemNumber | OperationNumber | MisNumber | MisRevision |
|---|---|---|---|
| 00-5952-012-01 | 505 | 26-1002-003-00 | 00 |
| 00-5952-012-02 | 505 | 26-1002-003-00 | 00 |
| 00-5952-013-01 | 505 | 26-1002-003-00 | 00 |
| 00-5952-013-02 | 505 | 26-1002-003-00 | 00 |
| 00-5952-013-05 | 505 | 26-1002-003-00 | 00 |
| 00-5952-013-06 | 505 | 26-1002-003-00 | 00 |
| 00-5952-014-01 | 505 | 26-1002-003-00 | 00 |
| 00-5952-014-02 | 505 | 26-1002-003-00 | 00 |
| 00-5952-014-05 | 505 | 26-1002-003-00 | 00 |
| 00-5952-014-06 | 505 | 26-1002-003-00 | 00 |
Positive Test Cases
TC-080-P01: Single Value for All Filters
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Single Values Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1AM - Add work order
99002260 - Add part operation:
- Item:
00-5952-012-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- Search appears in search list with correct name
- Search criteria shows all filter values correctly
TC-080-P02: Multiple Profit Centers with Single Work Order and Part Operation
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Multiple PC Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit centers:
1AM,1BM,1CM - Add work order
99002259 - Add part operation:
- Item:
00-5952-012-02 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- Search criteria shows all three profit centers
TC-080-P03: Single Profit Center with Multiple Work Orders
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Multiple WO Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1PM - Add work orders:
99002258,99002257,99002256 - Add part operation:
- Item:
00-5952-013-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- Search criteria shows all three work orders
TC-080-P04: Single Profit Center and Work Order with Multiple Part Operations
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Multiple Part Ops Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
2DM - Add work order
99002255 - Add part operation 1:
- Item:
00-5952-013-02 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Add part operation 2:
- Item:
00-5952-013-05 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- Search criteria shows both part operations
TC-080-P05: Multiple Values for All Filter Types
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 All Multiple Values Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit centers:
1PM,2SM,3TM - Add work orders:
99002254,99002252,99002251 - Add part operation 1:
- Item:
00-5952-013-06 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Add part operation 2:
- Item:
00-5952-014-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Add part operation 3:
- Item:
00-5952-014-02 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- Search criteria shows all profit centers, work orders, and part operations
TC-080-P06: Recent Date Range
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Recent Range Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2020-01-01 - Set maximum date to
2020-09-01 - Add profit center
4IM - Add work order
99002250 - Add part operation:
- Item:
00-5952-014-05 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- Date range correctly captured
TC-080-P07: Historical Date Range
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Historical Range Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2016-01-01 - Set maximum date to
2017-12-31 - Add profit center
5SM - Add work order
99002249 - Add part operation:
- Item:
00-5952-014-06 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- Historical date range correctly captured
TC-080-P08: Same Day Date Range
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Same Day Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2019-06-15 - Set maximum date to
2019-06-15 - Add profit center
1AM - Add work order
99002248 - Add part operation:
- Item:
00-5952-012-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- Same-day date range is accepted
TC-080-P09: All Profit Centers
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 All Profit Centers Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add all profit centers: 1AM, 1BM, 1CM, 1PM, 2DM, 2SM, 3TM, 4IM, 5SM
- Add work order
99002247 - Add part operation:
- Item:
00-5952-012-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- All 9 profit centers are captured in search criteria
TC-080-P10: Maximum Work Orders
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Many Work Orders Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1AM - Add work orders: 99059700, 99002260, 99002259, 99002258, 99002257, 99002256, 99002255, 99002254, 99002252, 99002251
- Add part operation:
- Item:
00-5952-012-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Search is created with status "Queued"
- All 10 work orders are captured in search criteria
Negative Test Cases
TC-080-N01: Missing Search Name
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Leave search name empty
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1AM - Add work order
99002260 - Add part operation:
- Item:
00-5952-012-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Form validation error is displayed
- Search is not created
- Error message indicates search name is required
TC-080-N02: Missing Profit Center
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Missing PC Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Do not add any profit centers
- Add work order
99002260 - Add part operation:
- Item:
00-5952-012-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Form validation error is displayed
- Search is not created
- Error message indicates at least one profit center is required
TC-080-N03: Missing Work Order
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Missing WO Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1AM - Do not add any work orders
- Add part operation:
- Item:
00-5952-012-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Form validation error is displayed
- Search is not created
- Error message indicates at least one work order is required
TC-080-N04: Missing Part Operation
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Missing Part Op Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1AM - Add work order
99002260 - Do not add any part operations
- Click Submit button
Expected Results:
- Form validation error is displayed
- Search is not created
- Error message indicates at least one part operation is required
TC-080-N05: Missing Minimum Date
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Missing Min Date Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Leave minimum date empty
- Set maximum date to
2020-09-01 - Add profit center
1AM - Add work order
99002260 - Add part operation:
- Item:
00-5952-012-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Form validation error is displayed
- Search is not created
- Error message indicates minimum date is required
TC-080-N06: Missing Maximum Date
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Missing Max Date Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Leave maximum date empty
- Add profit center
1AM - Add work order
99002260 - Add part operation:
- Item:
00-5952-012-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Form validation error is displayed
- Search is not created
- Error message indicates maximum date is required
TC-080-N07: Invalid Date Range (Min > Max)
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Invalid Date Range Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2020-09-01 - Set maximum date to
2018-01-01 - Add profit center
1AM - Add work order
99002260 - Add part operation:
- Item:
00-5952-012-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Form validation error is displayed
- Search is not created
- Error message indicates minimum date must be before or equal to maximum date
TC-080-N08: Incomplete Part Operation - Missing Item
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Missing Item Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1AM - Add work order
99002260 - Add part operation with missing Item:
- Item: (empty)
- Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Click Submit button
Expected Results:
- Form validation error is displayed
- Search is not created
- Error message indicates Item Number is required for part operation
TC-080-N09: Incomplete Part Operation - Missing Operation Number
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Missing Operation Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1AM - Add work order
99002260 - Add part operation with missing Operation:
- Item:
00-5952-012-01 - Operation: (empty)
- MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Form validation error is displayed
- Search is not created
- Error message indicates Operation Number is required for part operation
TC-080-N10: Incomplete Part Operation - Missing MIS Number
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Missing MIS Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1AM - Add work order
99002260 - Add part operation with missing MIS:
- Item:
00-5952-012-01 - Operation:
505 - MIS: (empty)
- Revision:
00
- Item:
- Click Submit button
Expected Results:
- Form validation error is displayed
- Search is not created
- Error message indicates MIS Number is required for part operation
TC-080-N11: Incomplete Part Operation - Missing MIS Revision
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Missing Revision Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1AM - Add work order
99002260 - Add part operation with missing Revision:
- Item:
00-5952-012-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision: (empty)
- Item:
- Click Submit button
Expected Results:
- Form validation error is displayed
- Search is not created
- Error message indicates MIS Revision is required for part operation
TC-080-N12: Whitespace-Only Search Name
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: " " (whitespace only)
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1AM - Add work order
99002260 - Add part operation:
- Item:
00-5952-012-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Form validation error is displayed
- Search is not created
- Error message indicates valid search name is required
TC-080-N13: Missing All Required Filters
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 No Filters Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Leave minimum date empty
- Leave maximum date empty
- Do not add any profit centers
- Do not add any work orders
- Do not add any part operations
- Click Submit button
Expected Results:
- Form validation errors are displayed for all missing required fields
- Search is not created
- Error messages indicate all required fields: min date, max date, profit center, work order, and part operation
TC-080-N14: Invalid Date Format
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Invalid Date Format Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Attempt to enter
99/99/9999as minimum date - Set maximum date to
2020-09-01 - Add profit center
1AM - Add work order
99002260 - Add part operation:
- Item:
00-5952-012-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Date field rejects invalid format
- Form validation error is displayed if invalid date is accepted
- Search is not created
TC-080-N15: Empty Work Order Value
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Empty WO Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1AM - Attempt to add empty string as work order
- Add part operation:
- Item:
00-5952-012-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Empty work order value is rejected
- Form validation error is displayed
- Search is not created
TC-080-N16: Empty Profit Center Value
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type80 Empty PC Test"
- Select "Time Span + Profit Center + Work Order + Item/Operation/MIS" search type (Type 80)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Attempt to add empty string as profit center
- Add work order
99002260 - Add part operation:
- Item:
00-5952-012-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Click Submit button
Expected Results:
- Empty profit center value is rejected
- Form validation error is displayed
- Search is not created
Notes
- Type 80 is the most comprehensive search type with four filter categories
- Part operations consist of four fields: Item Number, Operation Number, MIS Number, and MIS Revision
- All four fields are required for each part operation entry
- Multiple values within each filter type result in OR conditions
- Combined filters use AND logic between filter types (profit center AND work order AND part operation)
- Work order numbers are from the WorkOrder_Hist table
- MIS data comes from the MisData_Hist table