Connectors

/

Ghost Inspector

/

Ghost Inspector suite health report
Report

Know whether a Ghost Inspector suite is getting better or worse

For QA leads who want pass rate and run time trends for a suite, with the tests behind them, by asking their AI assistant.

Try PopdockAI free
Get a live demo
Ghost Inspector suite health report
Give me a health report on the Nightly regression suite in Ghost Inspector for the last 30 days.
The Nightly regression suite is getting worse: 82 percent pass rate over 30 days, 70 percent in the last week. - Runs: 30, with 1 unknown result - Duration: median 14 minutes, worst 22, up 31 percent - Costliest test: Order history, 9 failures Recommendation: fix Order history first, then review the slow login steps.
Ghost Inspector
Sample figures. Your results come from your own account.
ghost-inspector-get-suite
ghost-inspector-get-suite-result
ghost-inspector-get-test-result

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

Ghost Inspector

Ghost Inspector
Run it on your own Ghost Inspector data.

Connect Ghost Inspector, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

A suite drifts from reliable to noisy unnoticed

A Ghost Inspector suite can drift from reliable to noisy without anyone deciding to look. Judging its health means reading weeks of runs, spotting pass rate and run time trends, and finding which tests cause them.

Without PopdockAI

  • Read weeks of suite results
  • Work out pass rates and durations by hand
  • Guess at a trend from a few runs
  • Never find the tests behind it

With PopdockAI

  • Every run in the window is read for pass rate and duration
  • Slowdowns over 25 percent are flagged
  • Failing tests are grouped to show which cost the most
  • No trend from fewer than four runs, and nothing is written back

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Report the health of the Ghost Inspector suite named `{suite-name}` over the last `{lookback-days}` days (default 30).

**Step 1: Identify the suite**

Call `ghost-inspector-get-suite` with `name.contains` set to `{suite-name}`. If more than one matches, list them with their organization and folder and stop. Keep the suite `id`, `test-count`, `browser`, `region` and `test-frequency`.

**Step 2: Pull the suite run history**

Call `ghost-inspector-get-suite-result` with `suite-id` from step 1 and `date-created.from` set to the start of the window. For each run you have `count-passing`, `count-failing`, `count-unknown`, `execution-time-ms` and `date-execution-started`.

**Step 3: Work out the trend**

* Overall pass rate across the window, and pass rate for the most recent quarter of it, so a recent decline is visible
* Median run duration for the first half of the window against the second half; call out a duration increase above 25 percent
* Any run with a non zero `count-unknown`, which means tests neither passed nor failed and usually points at an infrastructure problem

**Step 4: Find the tests responsible**

Call `ghost-inspector-get-test-result` with `suite-id` from step 1, `passing` false and the same `date-created.from`. Group by `test-name` and count. These are the tests costing the suite its pass rate.

**Step 5: Report**

* Suite name, organization, folder, test count, schedule, default browser and region
* Pass rate over the window, and whether it is improving or declining
* Median and worst run duration, and the trend
* A table of the failing tests by failure count
* Two or three concrete recommendations

**Rules and guidelines:**

* Read only. Do NOT call `ghost-inspector-execute-suite`, `ghost-inspector-execute-test`, `ghost-inspector-update-suite`, `ghost-inspector-duplicate-suite`, `ghost-inspector-cancel-suite-run` or any comment tool.
* Report the numbers you actually have. Do not extrapolate a trend from fewer than four runs; say the sample is too small instead.

**Validation:**

* If `{suite-name}` matches nothing, list some suite names from `ghost-inspector-get-suite` and stop.
* If the suite has no results in the window, say it has not run in that period and check its `test-frequency` to say whether that is expected.

Who it's for

One answer, three teams that use it

QA leads

Report suite health with evidence

Pass rates, duration trends and the costliest tests give you a clear health update.

How has the Checkout suite in Ghost Inspector trended over the last 60 days?

Test automation engineers

Spot slowdowns early

Duration increases over 25 percent are flagged before the suite holds up releases.

Has the Smoke suite in Ghost Inspector got slower in the last two weeks?

Engineering managers

Decide where to invest in tests

Two or three recommendations point to the tests that would turn the suite around.

Give me a 30 day health report on the Mobile web suite with recommendations.

How it works

What PopdockAI does when you ask

You name the suite and a period, and your AI assistant reports whether it is getting better or worse. It checks the schedule when the suite has not run.

01

Ask

You name the suite and a lookback period.

Your AI tool

02

Read

It reads every suite run for pass rates, durations and unknown results.

ghost-inspector-get-suite
ghost-inspector-get-suite-result

03

Trend

It flags slowdowns over 25 percent and groups failing tests, needing four runs to call a trend.

ghost-inspector-get-test-result

04

Report

You get the trend, the costliest tests and two or three recommendations.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for Ghost Inspector and one secure connection to your AI tool. No code, no exports.

get-data

ghost-inspector-get-suite

Returns the test suites defined in Ghost Inspector, with the folder and organization they sit in and the browser, region and start URL their tests run with. Filter by organization, folder, name, browser or region, or fetch a single suite by ID.
get-data

ghost-inspector-get-suite-result

Returns Ghost Inspector suite runs, with the number of passing and failing tests in each, the run timing and the suite they belong to. Filter by suite, date range, pass state, or a minimum count of failing tests.
get-data

ghost-inspector-get-test-result

Returns individual Ghost Inspector test runs, including whether the run passed, how long it took, and the test and suite it belongs to. Filter by test, suite, browser, date range, pass state, or a minimum execution time for finding slow runs. This is the tool to start from when investigating a failure.
Read only.Nothing in Ghost Inspector Changes

This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.

How Popdock AI secures your data

The outcome

Know which way your suite is heading

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

One prompt template with infinite possibilities.

‍

Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.

Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

Try PopdockAI Free
See Documentation