04383d672c
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.
8.2 KiB
8.2 KiB
Work Order Search (Type 10) - Test Scripts
Overview
Test scripts for Work Order search functionality (Search Type 10). This search type allows users to search by one or more work order numbers without requiring a time span or other filters.
Filters Enabled: Work Order only
Valid Test Data
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 |
Positive Test Cases
TC-010-P01: Single Work Order Search
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test Single Work Order"
- Select "Work Order" search type (Type 10)
- Enter work order
99059700in the work order input field - Click Add to add the work order to the list
- Verify the work order appears in the selected work orders list
- Click Submit Search
Expected Results:
- Search is created with status "Queued"
- Search appears in the search list with name "Test Single Work Order"
- Search type is displayed as "Work Order"
- Work order
99059700is stored in the search criteria
TC-010-P02: Multiple Work Orders Search
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test Multiple Work Orders"
- Select "Work Order" search type (Type 10)
- Enter work order
99059700and click Add - Enter work order
99002260and click Add - Enter work order
99002259and click Add - Verify all three work orders appear in the selected work orders list
- Click Submit Search
Expected Results:
- Search is created with status "Queued"
- Search appears in the search list with name "Test Multiple Work Orders"
- All three work orders (
99059700,99002260,99002259) are stored in the search criteria - Search processes all three work orders when executed
TC-010-P03: Work Order Search with Maximum Entries
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test Max Work Orders"
- Select "Work Order" search type (Type 10)
- Add all 15 work orders from the test data list:
- 99059700, 99002260, 99002259, 99002258, 99002257
- 99002256, 99002255, 99002254, 99002252, 99002251
- 99002250, 99002249, 99002248, 99002247, 99002246
- Verify all work orders appear in the selected list
- Click Submit Search
Expected Results:
- Search is created with status "Queued"
- All 15 work orders are stored in the search criteria
- Search processes successfully
TC-010-P04: Work Order Search - Remove and Re-add
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test Remove Re-add"
- Select "Work Order" search type (Type 10)
- Add work order
99059700 - Add work order
99002260 - Remove work order
99059700from the list - Verify only
99002260remains in the list - Add work order
99002258 - Click Submit Search
Expected Results:
- Search is created with status "Queued"
- Only work orders
99002260and99002258are stored in the search criteria - Work order
99059700is NOT included
TC-010-P05: Work Order Search - Duplicate Prevention
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test Duplicate Prevention"
- Select "Work Order" search type (Type 10)
- Add work order
99059700 - Attempt to add work order
99059700again - Observe system behavior
Expected Results:
- System prevents duplicate work order entry OR displays validation message
- Work order
99059700appears only once in the list - User can proceed to submit with single entry
Negative Test Cases
TC-010-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 field empty
- Select "Work Order" search type (Type 10)
- Add work order
99059700 - Click Submit Search
Expected Results:
- Validation error is displayed indicating search name is required
- Search is NOT created
- User remains on Submit Search page
- Form highlights the search name field as invalid
TC-010-N02: No Search Type Selected
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test No Type"
- Do NOT select any search type
- Attempt to add work orders (if possible)
- Click Submit Search
Expected Results:
- Validation error is displayed indicating search type is required
- Search is NOT created
- User remains on Submit Search page
- Work order input field may be disabled until search type is selected
TC-010-N03: Empty Work Order List
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test Empty Work Orders"
- Select "Work Order" search type (Type 10)
- Do NOT add any work orders
- Click Submit Search
Expected Results:
- Validation error is displayed indicating at least one work order is required
- Search is NOT created
- User remains on Submit Search page
- Work order section is highlighted as requiring input
TC-010-N04: Invalid Work Order Format
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test Invalid Format"
- Select "Work Order" search type (Type 10)
- Enter invalid work order value: "ABC123XYZ"
- Click Add
Expected Results:
- Validation error is displayed for invalid work order format
- Invalid work order is NOT added to the list
- User can correct the input and try again
TC-010-N05: Work Order with Special Characters
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test Special Characters"
- Select "Work Order" search type (Type 10)
- Enter work order with special characters: "99059700!@#"
- Click Add
Expected Results:
- Validation error is displayed for invalid characters
- Work order with special characters is NOT added to the list
- User is prompted to enter valid work order number
TC-010-N06: Empty Work Order Input
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test Empty Input"
- Select "Work Order" search type (Type 10)
- Leave work order input field empty
- Click Add
Expected Results:
- Validation error is displayed or Add button is disabled
- Empty value is NOT added to the list
- User must enter a value before adding
TC-010-N07: Whitespace-Only Work Order
Preconditions:
- User is logged in
- User has access to the Submit Search page
Steps:
- Navigate to Submit Search page
- Enter search name: "Test Whitespace"
- Select "Work Order" search type (Type 10)
- Enter only spaces in work order input: " "
- Click Add
Expected Results:
- Validation error is displayed or input is trimmed and rejected
- Whitespace-only value is NOT added to the list
- User must enter a valid work order number
Notes
- Work order data was extracted from
WorkOrder_Histtable - All work orders in the test data are known to exist in the development database
- Work order numbers are typically 8-digit numeric values