airtest-excel-ocr-testgen
/airtest-excel-ocr-testgen
Generuje automatyczne testy Airtest dla gier mobilnych na podstawie list kontrolnych w Excelu, łącząc dopasowanie szablonów obrazu z OCR bez Poco SDK.
- Autor
- Heizdoobert ↗
- Repozytorium
- Agent_update_smart_working ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 09.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 5
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/excel_to_airtest.py
Co robi i kiedy
Generuje automatyczne testy Airtest dla gier mobilnych na podstawie list kontrolnych w Excelu, łącząc dopasowanie szablonów obrazu z OCR bez Poco SDK.
Oryginalny opis (EN)
Use when generating automated Airtest test cases for mobile games from Excel QA checklists, combining Image Template matching and OCR text detection without relying on Poco SDK.
Jak działa
- 1. When to Use
- 2. Architecture & Pipeline
- 3. Quickstart & Command Usage
- 4. Execution Phases
- 5. References & Tools
Podgląd SKILL.md
---
name: airtest-excel-ocr-testgen
description: Use when generating automated Airtest test cases for mobile games from Excel QA checklists, combining Image Template matching and OCR text detection without relying on Poco SDK.
---
# Airtest Excel & OCR Testcase Generator
Generates executable, self-healing Airtest mobile game test scripts from Excel/CSV QA matrices using a Dual-Vision pipeline (Image Template matching + OCR text detection) without relying on Poco SDK.
---
## 1. When to Use
- Generating Airtest test scripts from Excel or CSV QA checklists (`.xlsx`, `.csv`).
- Automating mobile games (Unity, Unreal, Cocos) where Poco UI SDK is unavailable or disabled.
- Tapping dynamic text labels (e.g., "PLAY", "CLAIM", "REVIVE") and asserting on-screen text via OCR.
- Handling unexpected dialog popups during gameplay test execution.
---
## 2. Architecture & Pipeline
```mermaid
flowchart TD
Excel[Excel QA Checklist] --> Parser[1. Ingestion: excel_to_airtest.py]
Parser --> Categorizer{Step Action Type}
Categorizer -->|Text / Label / Assert| OCR[2. OCR Text Engine]
Categorizer -->|Sprite / Icon| Template[3. Template Matching]
OCR --> ScriptGen[4. Airtest Script Synthesis]
Template --> ScriptGen
ScriptGen --> CodeAudit[5. agent-system critic Audit]
CodeAudit --> Execution[6. Device Run via Airtest MCP]
```
---
## 3. Quickstart & Command Usage
Run the generator against an Excel or CSV checklist:
```bash
# Generate Airtest scripts from test matrix
python3 scripts/excel_to_airtest.py \
--input /path/to/test_cases.csv \
--output-dir ./generated_tests \
--package com.mygame.mobile
```
### Action Syntax in Excel:
- `Tap "PLAY"` -> OCR scan for text `"PLAY"` and tap center coordinates.
- `Tap btn_setting.png` -> Image Template match against `btn_setting.png`.
- `Wait 3s` -> `sleep(3)`.
- `See "VICTORY"` -> Assert text `"VICTORY"` appears on screen via OCR.
---
## 4. Execution Phases
- **Phase 1: Matrix Ingestion**: Inspect Excel/CSV headers and normalize steps. See [references/excel-matrix-schema.md](references/excel-matrix-schema.md).
- **Phase 2: Dual-Vision Resolution**: Combine OCR text detection with Template fallback. See [references/dual-vision-engine.md](references/dual-vision-engine.md).
- **Phase 3: Code Synthesis**: Emit standardized test scripts with self-healing popup killers. See [references/script-templates.md](references/script-templates.md).
- **Phase 4: Static Audit & Run**: Run `agent-system critic --file <file>`; run test on device/emulator.
---
## 5. References & Tools
- Schema & Grammar: [references/excel-matrix-schema.md](references/excel-matrix-schema.md)
- Dual-Vision Engine: [references/dual-vision-engine.md](references/dual-vision-engine.md)
- Script Templates: [references/script-templates.md](references/script-templates.md)
- Generator Script: [scripts/excel_to_airtest.py](scripts/excel_to_airtest.py)
Pliki w paczce (5)
- SKILL.md 3 KB
- references/dual-vision-engine.md 3 KB
- references/excel-matrix-schema.md 3 KB
- references/script-templates.md 3 KB
- scripts/excel_to_airtest.py 16 KB
Wersje
W bazie nie ma innych skilli o nazwie airtest-excel-ocr-testgen.
Migawka bazy z 13.11.2026 · wersja paczki 487fb1bb81f1 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 2 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100testgen
Generuje testy z routingiem opartym na wstępnie wczytanych skillach, wykrywaniem frameworka i automatycznym TaskCreate. - 100maestro-testgen
Generuje testy regresji zachowania UI z git diff lub próśb QA w języku naturalnym: ręczne przypadki testowe i przepływy Maestro YAML dla Androida, iOS i Weba. - 86VatInvoiceOCR2Excel
Odczytuje metodą OCR faktury VAT ze zdjęć i eksportuje je do Excela, także w partiach, z podsumowaniem. - 100core-image-eval
Weryfikuje offline na lokalnych obrazach wyniki rozpoznawania MaaCore: dlaczego zadanie pipeline nie trafiło, jakie są wyniki dopasowania szablonów i OCR, pełną ścieżką core zgodną z działaniem w runtime. - 96document-parsing
Wyciąga tekst i uporządkowane dane z PDF, Word, Excel i obrazów przez OCR. - 90open-code-review
Przeprowadza przegląd zmian w Git narzędziem ocr: wskazuje wiersze, ocenia powagę uwag i ryzyka bezpieczeństwa.