Direct answer
Audit the 5,000-case suite by scoring each test on defect-detection history and usage/execution frequency, prune anything that's fired zero real defects and hasn't run in the last N cycles, and migrate only the highest-value subset to automation first, since automating everything indiscriminately just moves the maintenance burden rather than reducing it.
Structured elaboration
- Audit and score: for each test case, pull defect history (how many real bugs has this test ever caught) and execution frequency (is it even run regularly, or has it been effectively abandoned); a test that's never caught a real defect and hasn't run in months is a strong prune candidate regardless of how it looks on paper.
- Categorize: high-value (frequently run, has caught real defects) automate first; medium-value (occasionally run or occasionally useful) automate in a second wave; low/no-value (never run, never caught anything, or duplicates another case) prune outright.
- Prioritize migration by risk-weighted usage: automate test cases covering the highest-traffic, highest-change-frequency user flows first, using the same risk-based prioritization logic used for other debt items, rather than migrating in arbitrary or alphabetical order.
- Governance to prevent re-growth: require a defect-detection or usage justification for any NEW manual test case added going forward, and a periodic (quarterly) re-audit using the same scoring criteria, so the suite doesn't silently regrow to 5,000 low-value cases again within a year.
Worked example
Of 5,000 cases, an audit finds 1,200 have never caught a defect and haven't run in over a year (prune candidates), 2,800 are duplicative variations of a smaller set of core scenarios (consolidate to roughly 600 distinct scenarios), and 1,000 are genuinely high-value, frequently-run, defect-catching cases. Timeline: prune the 1,200 immediately (low risk, clear signal); consolidate the 2,800 duplicates over 6 weeks, since that requires careful verification that no unique coverage is lost in the consolidation; automate the resulting ~1,600 high-value cases (the original 1,000 plus the 600 consolidated) over the following quarter, prioritized by traffic and change frequency.
Trade-offs & pitfalls
The risk in aggressive pruning is discarding a rarely-triggered but genuinely important edge-case test; mitigate by having a domain expert spot-check the prune list before deletion, not just the automated score, since defect-history data can miss a case that's important but has simply never yet caught a bug purely by luck.