case-executor — AIエージェント case-executor, community, AIエージェント, ide skills, 自動化テストツール, Excel用例の実行, HTMLレポートの生成, playwright-mcp, get_grouped_cases, Claude Code, Cursor

v1.0.0

このスキルについて

テスト自動化エージェントが効率的なテストケースの実行とレポート機能を必要とする場合に最適です。 Case Executorは自動化テストツールであり、Excel用例の実行とHTMLレポートの生成に使用される

機能

Excel用例の実行をサポート
HTMLレポートの生成
get_grouped_casesを使用してモジュール分組を取得
playwright-mcpを使用してページ遷移とスクリーンショットを取得
自動化テストとレポート生成をサポート

# Core Topics

yy757303533 yy757303533
[0]
[0]
Updated: 3/19/2026

Killer-Skills Review

Decision support comes first. Repository text comes second.

Reference-Only Page Review Score: 8/11

This page remains useful for operators, but Killer-Skills treats it as reference material instead of a primary organic landing page.

Original recommendation layer Concrete use-case guidance Explicit limitations and caution
Review Score
8/11
Quality Score
33
Canonical Locale
zh
Detected Body Locale
zh

テスト自動化エージェントが効率的なテストケースの実行とレポート機能を必要とする場合に最適です。 Case Executorは自動化テストツールであり、Excel用例の実行とHTMLレポートの生成に使用される

このスキルを使用する理由

get_grouped_casesやbrowser_navigateなどのツールを使用して、エージェントにテストケースの実行を自動化する能力を与え、テストプロセスを簡素化し、HTMLレポートとplaywright-mcpライブラリで効率を高めます。

おすすめ

テスト自動化エージェントが効率的なテストケースの実行とレポート機能を必要とする場合に最適です。

実現可能なユースケース for case-executor

Webアプリケーションのテストケースの実行を自動化する
テスト結果のHTMLレポートを生成する
browser_snapshotとbrowser_screenshotを使用してテストケースをデバッグする

! セキュリティと制限

  • webtest-mcpとplaywright-mcpライブラリが必要
  • Webアプリケーションのテストに限定される
  • ブラウザナビゲーションとインタラクション機能が必要

Why this page is reference-only

  • - Current locale does not satisfy the locale-governance contract.
  • - The underlying skill quality score is below the review floor.

Source Boundary

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is case-executor?

テスト自動化エージェントが効率的なテストケースの実行とレポート機能を必要とする場合に最適です。 Case Executorは自動化テストツールであり、Excel用例の実行とHTMLレポートの生成に使用される

How do I install case-executor?

Run the command: npx killer-skills add yy757303533/webtest-mcp-server/case-executor. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for case-executor?

Key use cases include: Webアプリケーションのテストケースの実行を自動化する, テスト結果のHTMLレポートを生成する, browser_snapshotとbrowser_screenshotを使用してテストケースをデバッグする.

Which IDEs are compatible with case-executor?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for case-executor?

webtest-mcpとplaywright-mcpライブラリが必要. Webアプリケーションのテストに限定される. ブラウザナビゲーションとインタラクション機能が必要.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add yy757303533/webtest-mcp-server/case-executor. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use case-executor immediately in the current project.

! Reference-Only Mode

This page remains useful for installation and reference, but Killer-Skills no longer treats it as a primary indexable landing page. Read the review above before relying on the upstream repository instructions.

Imported Repository Instructions

The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.

Supporting Evidence

case-executor

AIエージェントCase Executorの技術的な詳細と実行フローを学び、自動化テストとレポート生成を実現する

SKILL.md
Readonly
Imported Repository Instructions
The section below is supporting source material from the upstream repository. Use the Killer-Skills review above as the primary decision layer.
Supporting Evidence

子流程 B:Excel 用例 → 执行 → HTML 报告

工具

工具来源用途
get_grouped_caseswebtest-mcp查看模块分组
get_excel_caseswebtest-mcp获取模块用例
save_test_resultswebtest-mcp保存结果(生成 HTML 报告)
browser_navigateplaywright-mcp页面跳转
browser_snapshotplaywright-mcp获取页面状态
browser_clickplaywright-mcp点击元素
browser_typeplaywright-mcp输入文本
browser_screenshotplaywright-mcp截图留证

执行流程

Step 1: get_grouped_cases   → 了解全貌,规划顺序
Step 2: 登录(如需)        → 建立 session
Step 3: 按模块循环           → get_excel_cases → 逐条执行
Step 4: save_test_results   → 每模块完成后立即保存(含 HTML 报告)

Step 1:查看分组

python
1get_grouped_cases(project="huudi", excel_path="huudi_cases_v1.xlsx")

返回各模块用例数。执行顺序:高优先级模块先跑,用例数最多的模块最后(防止 context 不够)。


Step 2:登录前置

project.yamllogin 段读取:

yaml
1login: 2 url: "https://..." 3 account: "user@example.com" 4 password_value: "Password123"

登录操作

  1. browser_navigate(login.url)
  2. browser_snapshot() → 确认登录页加载
  3. 找邮箱框 → browser_type(account)
  4. 找密码框 → browser_type(password_value)
  5. 找登录按钮 → browser_click()
  6. browser_snapshot() → 确认已登录(URL 变化 或 出现用户名/头像)

登录成功后复用同一 session,整个执行过程不重复登录。 登录失败 → 停止执行,报告原因,不继续。


Step 3:逐条执行

执行顺序(每条用例)

precondition → 全部 S → 统一验证所有 E

S 和 E 不是一一对应的。先把所有 S 做完,再统一验证所有 E。

处理 precondition

precondition 类型处理方式
P1. 用户在 xxx 页面browser_navigate 到对应 URL
P1. 用户已登录确认 session 有效;已登录跳过
P1. 用户已有 N 条记录SKIP: 需要预置数据
P1. 3天内未操作SKIP: 时间条件无法模拟

执行 S 步骤

每步必须先 snapshot,用 snapshot 返回的 ref 定位元素:

描述关键词playwright-mcp 操作
点击「xxx」/ 点击 xxx 按钮browser_click(ref=...)
输入 / 填写 / 在 xxx 中输入browser_type(ref=..., text=...)
进入 / 跳转到 xxx 页面browser_navigate(url=base_url+path)
留空 / 不填写跳过,不操作
等待 / 加载browser_snapshot() 轮询,最多 3 次,间隔 2s
上传文件browser_type(ref=input[type=file], text=path)

S 执行失败(元素找不到 / 超时):

  1. browser_screenshot(path="/abs/path/fail_{case_id}.png") 截图,记录绝对路径
  2. 记录 passed: false, error: "S{n} 失败: {原因}"
  3. 跳过该用例剩余所有 S 和 E

验证所有 E

全部 S 完成后,做一次 browser_snapshot(),然后逐条验证:

E 类型验证方式
显示 xxx 文字检查 snapshot 文本包含该内容
按钮禁用 / 不可点击检查元素 disabledaria-disabled
跳转到 xxx 页面检查当前 URL 或页面标题
字段显示错误状态检查 aria-invalid=true 或 error class
弹窗 / Modal 出现检查 snapshot 中是否有 dialog/modal 元素
布局 / 颜色 / 视觉样式SKIP: 需人工视觉验证
邮件发送SKIP: 需邮箱环境

E 验证结果

  • 所有 E 通过 → passed: true
  • 任一 E 不通过 → passed: false, error: "E{n} 失败: 期望 xxx,实际 yyy"
  • 无法自动验证 → passed: null, error: "SKIP: {原因}"

Step 4:保存结果(每模块)

每个模块执行完后立即保存:

python
1save_test_results( 2 project="huudi", 3 results=[ 4 {"case_id": "HUUDI-T0001", "module": "用户注册和登录", "title": "...", "passed": True}, 5 {"case_id": "HUUDI-T0002", "module": "用户注册和登录", "title": "...", "passed": False, "error": "E2 失败: ..."}, 6 {"case_id": "HUUDI-T0003", "module": "用户注册和登录", "title": "...", "passed": None, "error": "SKIP: 需要预置数据"}, 7 ], 8 excel_path="huudi_cases_v1.xlsx", 9 screenshots=[ 10 # 只传 FAIL 用例的截图,路径为 browser_screenshot 返回的绝对路径 11 {"case_id": "HUUDI-T0002", "path": "/abs/path/fail_HUUDI-T0002.png"}, 12 ] 13)

返回中包含 report_html_path(HTML 文件路径),向用户展示:

✅ 用户注册和登录 执行完成
   结果已保存:projects/huudi/artifacts/huudi/report.html
   通过 28 / 失败 1 / 跳过 2 — 共 31 条

结束:输出总汇总

所有模块执行完后,汇总输出:

═══════════════════════════════════
  Huudi 测试执行报告
═══════════════════════════════════
  用户注册和登录    ✅ 29/31  (1 FAIL, 1 SKIP)
  KYC验证          ✅ 22/28  (3 FAIL, 3 SKIP)
  投资流程         ✅ 24/26  (0 FAIL, 2 SKIP)
───────────────────────────────────
  总计: 85 条  通过 75  失败 4  跳过 6
  报告: projects/huudi/artifacts/huudi/report.html
═══════════════════════════════════

关键规则

  1. 每步操作前必须 snapshot — 用 ref 定位,不猜 CSS selector
  2. 失败立即截图browser_screenshot() 保存现场
  3. 按模块分批 — 不要一次加载全部用例
  4. 模块完成即保存 — 不要等全部跑完才 save
  5. 法语/英语界面文本照搬 — 不翻译按钮名
  6. 登录 session 全程复用 — 不重复登录

関連スキル

Looking for an alternative to case-executor or another community skill for your workflow? Explore these related open-source skills.

すべて表示

openclaw-release-maintainer

Logo of openclaw
openclaw

Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞

333.8k
0
AI

widget-generator

Logo of f
f

カスタマイズ可能なウィジェットプラグインをprompts.chatのフィードシステム用に生成する

149.6k
0
AI

flags

Logo of vercel
vercel

React フレームワーク

138.4k
0
ブラウザ

pr-review

Logo of pytorch
pytorch

Pythonにおけるテンソルと動的ニューラルネットワーク(強力なGPUアクセラレーション)

98.6k
0
開発者