1. Context
I have a Sign In form and Forgot Password form and I want to create automation test follow case:
- Fill out forms with test data.
- click through workflows.
- test responsive designs.
- validate error messages.
- and monitor console for JavaScript errors.


Previously, we were required to write test code using frameworks such as Selenium, which made the process of developing automation tests significantly time-consuming. But now with Cursor, we can approach automation testing in a much simpler way.
2. Automation testing with Cursor AI
Agent (Cursor AI) can execute comprehensive test suites and capture screenshots for visual regression testing.
To create automation test follow above request, Simply put, I just need to write a prompt like this:
@browser Fill out forms with test data, click through workflows, test responsive designs, validate error messages, and monitor console for JavaScript errors

You will see Cursor's testing progress, on the right side and the test will be running on the browser.

And testing report as below

3. Security
The browser runs as a secure web view and is controlled by an MCP server running as an extension. Multiple layers of protection safeguard you against unauthorized access and malicious activity. Cursor's Browser integrations have also been audited by numerous external security experts. Detail
4. Conclude
Although using Cursor AI for automation testing takes less time than writing code, but we still need to consider the cost of each AI test run (including re-runs, screen count, models, etc.).
Whether you need scalable software solutions, expert IT outsourcing, or a long-term development partner, ISB Vietnam is here to deliver. Let’s build something great together—reach out to us today. Or click here to explore more ISB Vietnam's case studies.
Refer









