• LOGS
  • VISUAL
  • SUMMARY
  • HUMAN

How to debug failed test executions with your agent

Connect your agent to Perfecto once. After that, you ask your agent to find out why a test failed.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I debug failed tests using my AI?

Your agent pulls error logs and screenshots from Perfecto to show you exactly what went wrong. You get the root cause without having to navigate the web dashboard. This breakdown shows you how it works.

Debugging outcomes

Where your data lands.

Your agent organizes Perfecto data into these four outcomes.

LOGS

Error analysis

Your agent grabs the specific failure logs. You get the stack trace or error message needed to fix the code.

VISUAL

Visual evidence

Your agent pulls screenshots from the execution. You see the application state at the moment of failure.

SUMMARY

Run overview

Your agent reads the execution summary. You get a quick count of passes and failures for the suite.

HUMAN

Manual triage

Your agent flags issues that need a person. You decide if a failure is a real bug or only a flaky test.

The workflow

What your agent does when a test fails.

Your agent handles the data retrieval so you can focus on the fix.

  1. Fetch execution data

    Your agent looks up the specific details of a failed run to understand the context.

    get_execution_details
  2. Gather visual evidence

    Your agent finds and retrieves screenshots or video files attached to the run.

    list_artifacts
  3. Review test results

    Your agent pulls the summary report to see the overall health of the test suite.

    get_report_summary
  4. Identify the root cause

    Your agent combines logs and screenshots to explain why the test failed.

    get_execution_detailslist_artifacts

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Perfecto tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to begin debugging immediately.

Starting points

Swap the bracketed text for your actual Perfecto execution IDs or test names.

Perfecto Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_qkMLVDlhWeRHbw49znraw9alYWakOJ9o2dj1pqaq/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Perfecto capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "perfecto-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_qkMLVDlhWeRHbw49znraw9alYWakOJ9o2dj1pqaq/mcp"
    }
  }
}
Copy into chat04
  • 01

    Show me the failure logs for execution ID 55432.

  • 02

    Get the screenshots for the last failed test in the 'Checkout Flow' suite.

  • 03

    Summarize the results for the most recent Perfecto test run.

  • 04

    Look at the artifacts for execution 8821 and tell me why the button click failed.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Perfecto once, then ask.

You only need to link your account once. Your credentials stay encrypted, and you can start asking questions in your preferred AI client immediately.

Connect Perfecto to your agent

FAQ

How this task behaves

  • 01

    Can my AI fix the code for me?

    No. Your agent only pulls logs and screenshots from Perfecto to help you understand the failure. You must perform the actual code changes.

  • 02

    Does your agent delete any test results in Perfecto?

    No. Your agent only has read access to execution details, artifacts, and summaries. It cannot modify or delete anything in your Perfecto account.

  • 03

    Can I see the screenshots directly in my AI chat?

    Yes. When your agent uses the tool to list artifacts, it can provide the links or data needed to view the visual evidence of a failure.

  • 04

    Can your agent run new tests in Perfecto?

    No. This specific setup is for reading existing execution data. It cannot trigger or start new test runs.

  • 05

    How does your agent know which test failed?

    You tell your agent which execution ID or test suite to look at, and it uses the available tools to fetch that specific data.

  • More questions about Perfecto? See everything the Perfecto Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Perfecto to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Perfecto plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Perfecto to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.