Authorization notice. DSH Android is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA product tester checking that a like, follow, or favorite button updates its count correctly in a feed.
The problemManually confirming that a counter changed by the right amount on each row is tedious and easy to misread.
The outcomeThe row is tapped at a known position and the counter change is verified automatically.
What you need first
- A DeepSeek Harness (DSH) host, tested by the author with DSH 0.1.5-rc.1
- adb available on the machine so the plugin can resolve it
- A running Android emulator or a USB-connected Android phone
- For builds: a Gradle project that has ./gradlew
Steps
- Call android_ui_rows on the streamed device to read the list as rows, each with an index and a counter key.
- Pick the row index and the counter key you want to test from that output.
- Call android_tap_row with that index and expect_count set to the counter key with delta 1.
- Read the verification in the result, which checks the counter moved by exactly the expected amount.
- If the key is unknown, the tap is refused, so copy the key exactly as listed.
Prompt for your agent
Using the dsh-android plugin, call android_ui_rows on the streamed device, then call android_tap_row with index <row index> and expect_count set to {key: <counter key from the listing>, delta: 1}. Expected output: a result showing the counter's before and after values and whether it moved by exactly 1. Verify the result reports a match before marking the test as passed.
Caveat. The counter parsing depends on the label format the app uses, so an unusual label may not produce a counter key.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for ZSeven-W/dsh-android and "Confirm a like or count changes by exactly one"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer