local-testing

Automate macOS native app UI testing with AppleScript and screenshots.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/1154761334/it-bidding-copilot --skill local-testing-1154761334
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: local-testing
Source: https://github.com/1154761334/it-bidding-copilot/tree/main/frontend/.agents/skills/local-testing
Command: npx skills add https://github.com/1154761334/it-bidding-copilot --skill local-testing-1154761334

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Automates testing and interaction workflows for native macOS apps and bots, reducing manual effort and error.

Core Features & Use Cases

  • Automated UI control: Uses AppleScript and osascript to activate apps, navigate chats, and send messages.
  • Cross-platform bot testing: Supports Discord, Slack, Telegram, WeChat, Lark/飞书, and QQ, enabling comprehensive bot interactions.
  • Use Case: Test chatbot responses in multiple messaging platforms by scripting message sends and verifying outputs through screenshots or OCR.

Quick Start

Activate the desired app with osascript, then navigate to the chat or contact, input your message from clipboard, and analyze the response by capturing a screenshot.

Frequently Asked Questions about local-testing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate macOS app testing using AppleScript?

Automate macOS app testing by using AppleScript and osascript to activate apps, navigate chats, send messages, and capture screenshots for response verification. This approach streamlines functional and regression testing workflows by directly controlling native app UIs.

Can I use UI automation to test chatbots across multiple messaging platforms?

Yes, UI automation supports cross-platform bot testing for Discord, Slack, Telegram, WeChat, Lark/飞书, and QQ. Scripts send messages to chats and verify bot responses by capturing screenshots, enabling comprehensive interactions across popular messaging platforms.

What's the best way to verify chatbot responses during automated testing?

Verify chatbot responses by capturing screenshots of the chat window after sending scripted messages. You can then analyze the captured screenshots or use OCR to confirm the bot's output, ensuring reliable and repeatable test automation.

Does this UI automation approach require any external dependencies?

No external dependencies are required. The automation relies entirely on built-in macOS utilities like AppleScript, osascript, and screencapture to interact with native apps, meaning no additional packages or libraries need to be installed.

How do I send a message in a chat app using osascript?

Send a message by using osascript to activate the target app, navigate to the desired chat or contact, input your message from the clipboard, and trigger the send action. This script-based control enables automated message sending across supported platforms.