We made the AI open the app it just fixed and click through it like a person
Some bugs never show up in the code: a Save button hidden behind another panel, a total cut off at the edge. This is how we made the AI run the app, click around, find bugs, fix them and check again.
By Jongmin Lee
Ask an AI to fix a bug and it will change the code in no time. But “fixed it” and actually fixed are two different things. Most of the time the AI reads the code, changes it, sees the automated tests pass and calls it done. Nobody ever opened the app and pressed that button.
Some bugs simply can’t be seen by reading code. A Save button you can’t click because another panel covers it. A total whose last digits are cut off when the window gets narrow. A screen that freezes the moment you press something. The code looks fine; the screen is broken.
So we made the AI in Blyck open the app itself, click, type and look at the screen, the way a person would. We call it app control.
The AI does what a person would do
Ask it to “test this program and fix the bugs”, and the AI works like this.
First it opens the app and reproduces the problem. It presses buttons, enters values and takes screenshots to confirm something is really broken. We made sure it never says it fixed a bug it couldn’t reproduce. Then it changes the code, opens the app again and clicks through the same steps again, this time to see with its own eyes that it works. Its final report separates what it checked from what it couldn’t check.
Only tests that were seen failing get kept
For every bug it finds, the AI saves a test sequence: clicks, typing, waits and checks, in order. There is one rule: a sequence is only “registered” if it failed before the fix and passed after it.
That rule matters. A test that passes from the start proves nothing about the bug. Only if you’ve seen it fail before the fix can you trust it to catch the same bug if it ever comes back. Every time the code changes again, the registered sequences run again to check that old bugs haven’t returned.
It doesn’t take over your screen
If the AI grabbed your mouse and keyboard while clicking around, you couldn’t do anything else. So on Windows the test app runs on a separate, invisible desktop. You can keep working while the AI tests. Since you can’t see the test window, the AI shows you its screenshots in the chat. On the Mac, too, the app under test never jumps to the front and steals what you’re typing.
We hid bugs on purpose to see if it would find them
To see whether this was actually useful, we built small test programs in each language with bugs hidden on purpose, including ones that only show up on screen, like a covered Save button and a cut-off total. Then we opened a fresh AI chat and only said: “test this program and fix the bugs.”
We tried Electron, Flutter, WPF, WinForms, Swing, JavaFX, Tauri, Wails, Fyne, Tkinter and PySide6, plus Android, iPhone and Mac apps. The AI found and fixed every bug we had hidden. Each run took from a few minutes to about twenty, and not once did the test app pop up on the user’s screen.
This is how we fix Blyck, too
The place this gets used the most is Blyck itself. Blyck is an app with a screen too, so when we fix Blyck, the AI starts a separate test copy of Blyck, clicks through it and checks.
Just today we fixed three things this way: sending a message while the AI was answering stopped the answer; ranges written with a single tilde, like “3~5”, were drawn as strikethrough in AI answers; and entering a blank-page address in the web pane caused an error. All three were reproduced in the test app first, and we only called them done after the same steps passed again after the fix.
Nothing is left in the app you ship
For the AI to drive an app, the app needs a small test hook inside. That hook only goes into test (debug) builds, never into release builds. Just in case, before a release build we check that no hook was left behind. If one is, you’re told not to ship it.
There are still things it can’t do. Windows that appear outside the program, like a file picker or a permission prompt, can’t be clicked by the AI. Those are listed in the report as “needs a human check”.
Before the AI says “fixed”
If the AI changes the code and finishes its answer without opening the app to check, Blyck reminds it once to open the app and verify. That works the same with Claude and ChatGPT (Codex).
What we wanted was simple. A human developer clicks through once after fixing something. We wanted the AI to do the same, so that “fixed” actually means fixed.
Questions or feedback? Leave them on GitHub.