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.
17 KiB
Search Type 70: Time Span + Profit Center + Item/Operation/MIS - Test Scripts
Overview
Test scripts for Search Type 70 (Time Span + Profit Center + Item/Operation/MIS). This search type allows users to find work orders within a specified date range, filtered by profit center and part operations (Item Number, Operation Number, MIS Number, and MIS Revision).
Filters Enabled:
- Timespan (Min Date, Max Date)
- Profit Center
- 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 |
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-070-P01: Single Profit Center with Single Part Operation
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type70 Single PC and Part Op Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1PM - 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: Date range, Profit Center 1PM, Part Operation details
TC-070-P02: Multiple Profit Centers with Single Part Operation
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type70 Multiple PC Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1AM - Add profit center
1BM - Add profit center
1CM - 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-070-P03: Single Profit Center 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: "Type70 Multiple Part Ops Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
2DM - Add part operation 1:
- Item:
00-5952-013-01 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Add part operation 2:
- Item:
00-5952-013-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 both part operations
TC-070-P04: Multiple Profit Centers 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: "Type70 Multiple PC and Part Ops Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit centers:
1PM,2SM,3TM - Add part operation 1:
- Item:
00-5952-013-05 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Add part operation 2:
- Item:
00-5952-013-06 - Operation:
505 - MIS:
26-1002-003-00 - Revision:
00
- Item:
- Add part operation 3:
- Item:
00-5952-014-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 profit centers and part operations
TC-070-P05: 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: "Type70 Recent Range Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2020-01-01 - Set maximum date to
2020-09-01 - Add profit center
4IM - Add part operation:
- 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"
- Date range correctly captured
TC-070-P06: 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: "Type70 Historical Range Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2016-01-01 - Set maximum date to
2017-12-31 - Add profit center
5SM - 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"
- Historical date range correctly captured
TC-070-P07: 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: "Type70 Same Day Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2019-06-15 - Set maximum date to
2019-06-15 - Add profit center
1AM - 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"
- Same-day date range is accepted
TC-070-P08: All Profit Centers with Single Part Operation
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Type70 All Profit Centers Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- 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 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
Negative Test Cases
TC-070-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 + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1PM - 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-070-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: "Type70 Missing PC Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Do not add any profit centers
- 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-070-N03: 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: "Type70 Missing Part Op Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1PM - 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-070-N04: 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: "Type70 Missing Min Date Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Leave minimum date empty
- Set maximum date to
2020-09-01 - Add profit center
1PM - 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-070-N05: 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: "Type70 Missing Max Date Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2018-01-01 - Leave maximum date empty
- Add profit center
1PM - 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-070-N06: 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: "Type70 Invalid Date Range Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2020-09-01 - Set maximum date to
2018-01-01 - Add profit center
1PM - 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-070-N07: 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: "Type70 Missing Item Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1PM - 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-070-N08: 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: "Type70 Missing Operation Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1PM - 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-070-N09: 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: "Type70 Missing MIS Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1PM - 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-070-N10: 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: "Type70 Missing Revision Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1PM - 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-070-N11: 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 + Item/Operation/MIS" search type (Type 70)
- Set minimum date to
2018-01-01 - Set maximum date to
2020-09-01 - Add profit center
1PM - 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-070-N12: 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: "Type70 No Filters Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Leave minimum date empty
- Leave maximum date empty
- Do not add any profit centers
- 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, and part operation
TC-070-N13: 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: "Type70 Invalid Date Format Test"
- Select "Time Span + Profit Center + Item/Operation/MIS" search type (Type 70)
- Attempt to enter
2019/13/45as minimum date - Set maximum date to
2020-09-01 - Add profit center
1PM - 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
Notes
- 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 profit centers and part operations result in OR conditions within each filter
- Combined filters (profit center AND part operation) use AND logic between filter types
- MIS data comes from the MisData_Hist table