Connectors

/

Ghost Inspector

/

Audit Ghost Inspector test organization
Report

Find the clutter in your Ghost Inspector account

For QA leads who want loose suites, empty folders and unused data sources found without clicking through every folder, by asking their AI assistant.

Try PopdockAI free
Get a live demo
Audit Ghost Inspector test organization
Audit how our Contoso QA organization in Ghost Inspector is organized. What should we clean up?
The Contoso QA organization breaks 4 of 7 housekeeping rules. - Loose suites: 3 suites sit outside any folder - Empty: 2 suites have no tests and 1 folder is empty - Settings: 5 tests use a different browser from their suite - Data sources: 1 data source has no rows Fix first: the empty suites, the loose suites and the unused data source. Want the full list by rule?
Ghost Inspector
Sample figures. Your results come from your own account.
ghost-inspector-get-organization
ghost-inspector-get-folder
ghost-inspector-get-suite
ghost-inspector-get-data-source
ghost-inspector-get-test
ghost-inspector-get-data-source-row

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

Test account clutter nobody has time to audit

A Ghost Inspector account collects clutter: loose suites, empty suites and folders, unscheduled tests and unused data sources. Nobody audits it because it means clicking through every folder, suite, test and data source.

Without PopdockAI

  • Click through every folder and suite
  • Open each test to check its schedule and settings
  • Look for data sources with no rows
  • Give up and live with the mess

With PopdockAI

  • Folders, suites, tests and data sources are read together
  • Each housekeeping rule gets a line, even when clean
  • Unscheduled tests are flagged without being called defects
  • The three fixes to make first are named, and nothing is changed

The prompt

Use this prompt

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

Prompt
**Objective:** Audit how the Ghost Inspector organization named `{organization-name}` has its tests, suites, folders and data sources arranged, and list what breaks the conventions.

**Step 1: Identify the organization**

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

**Step 2: Read the structure**

Call `ghost-inspector-get-folder`, `ghost-inspector-get-suite` and `ghost-inspector-get-data-source`, each with `organization-id` from step 1. Then call `ghost-inspector-get-test` once per suite, filtered by that suite's `id`, so you know what each suite holds.

**Step 3: Check each rule**

* suites with no `folder-id`, which sit loose at the top level
* suites whose `test-count` is zero, which never do anything
* folders that no suite references, which are empty
* tests with no `test-frequency`, which only ever run when somebody presses the button
* suites whose tests do not all share the suite's `browser` and `region`, since a per test override is usually accidental
* suites with `screenshot-compare-enabled` where the tests have it off, and the reverse
* data sources no test appears to draw on, checked by calling `ghost-inspector-get-data-source-row` with each `data-source-id` and the `organization-id` to see whether it holds any rows at all

**Step 4: Report**

One section per rule, each listing the offenders by name and id, with a count. Lead with a two line summary: how many suites, tests, folders and data sources exist, and how many findings there are. Close with the three findings worth fixing first and why.

**Rules and guidelines:**

* Read only. Do NOT call `ghost-inspector-create-suite`, `ghost-inspector-create-folder`, `ghost-inspector-create-data-source`, `ghost-inspector-update-suite`, `ghost-inspector-update-folder`, `ghost-inspector-update-test`, `ghost-inspector-update-data-source`, or any execute or duplicate tool. Report the problems, let a person fix them.
* A rule with no offenders still gets a line saying it is clean. An absent section reads as an oversight.
* An unscheduled test is not automatically wrong. Flag it, note that it may be run on demand deliberately, and do not call it a defect.

**Validation:**

* If `{organization-name}` matches nothing, list the organizations from `ghost-inspector-get-organization` and stop.
* If the suite or test lists come back at `max-records`, say the audit is partial and which sections are affected.

Who it's for

One answer, three teams that use it

QA leads

Keep the test account organised

A rule by rule report with the three fixes to make first gives you a clear clean up plan.

Audit the Fabrikam QA organization in Ghost Inspector and tell me the top three things to tidy.

Test automation engineers

Find tests with settings that drift

Tests whose browser, region or screenshot settings differ from their suite are listed.

Which Ghost Inspector tests in Northwind QA use a different browser or region from their suite?

Engineering managers

See if the suite is maintained

Empty suites, unused data sources and loose suites show how much upkeep the account needs.

How many empty suites, empty folders and unused data sources does our Contoso QA organization have?

How it works

What PopdockAI does when you ask

You name the organization, and your AI assistant checks it against every housekeeping rule. Partial reads are flagged and nothing is changed.

01

Ask

You name the Ghost Inspector organization.

Your AI tool

02

Read

It reads its folders, suites, tests and data sources.

ghost-inspector-get-organization
ghost-inspector-get-folder
ghost-inspector-get-suite
ghost-inspector-get-data-source
ghost-inspector-get-test
ghost-inspector-get-data-source-row

03

Check

It tests each housekeeping rule and gives every rule a line, even when clean.

No items found.

04

Report

You get the findings and the three to fix first, and nothing is changed.

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-organization

Returns the Ghost Inspector organizations the account can see, with their contact details, subscription plan and test and suite counts. Filter by name, plan or location. Most other Ghost Inspector tools take an organization ID, so this is usually the first call.
get-data

ghost-inspector-get-folder

Returns the folders Ghost Inspector suites are organized into, filtered by organization or by name.
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-data-source

Returns the Ghost Inspector data sources that supply variable values to tests and suites, filtered by organization or by name.
get-data

ghost-inspector-get-test

Returns the browser tests defined in Ghost Inspector, with the suite they belong to, their schedule and run settings, and whether the last run passed. Filter by suite, name, browser, region, creation date or current pass state, or fetch a single test by its Ghost Inspector ID.
get-data

ghost-inspector-get-data-source-row

Returns the rows of a Ghost Inspector data source, which are the values a data-driven test iterates over. Pass the data source ID to see its rows.
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

A short clean up list instead of a vague mess

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