analyze_test_execution_video
Analyze test execution videos to identify failures, compare with test cases, and determine if issues are bugs or test problems using frame extraction and AI analysis.
Instructions
🎬 Download and analyze test execution video with Claude Vision - extracts frames, compares with test case, and predicts if failure is bug or test issue. NEW: Analysis depth modes (quick/standard/detailed), parallel frame extraction, similar failures search, and historical trends analysis!
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| testId | Yes | Test ID from Zebrunner | |
| testRunId | Yes | Launch ID / Test Run ID | |
| projectKey | No | Project key (MCP, etc.) | |
| projectId | No | Project ID (alternative to projectKey) | |
| extractionMode | No | Frame extraction mode: failure_focused (10 frames), smart (20 frames), full_test (30 frames) | smart |
| frameInterval | No | Seconds between frames for full_test mode | |
| failureWindowSeconds | No | Time window around failure (seconds) | |
| compareWithTestCase | No | Compare with test case steps | |
| testCaseKey | No | Override test case key | |
| analysisDepth | No | Analysis depth: quick_text_only (no frames, ~10-20s), standard (8-12 frames for failure+coverage, ~30-60s), detailed (20-30 frames with OCR, ~60-120s) | standard |
| includeOCR | No | Extract text from frames using OCR (slow, adds 2-3s per frame) | |
| analyzeSimilarFailures | No | Find similar failures in project (last 30 days, top 10) | |
| includeHistoricalTrends | No | Analyze test stability and flakiness (last 30 runs) | |
| includeLogCorrelation | No | Correlate frames with log timestamps | |
| format | No | Output format | detailed |
| generateVideoReport | No | Generate timestamped report |