Skip to content

Script Mapping

The Script Mapping & Sync screen is where you connect the two halves of your testing world. On one side you have manual test cases — the human-written entries in your test catalog that describe what should be verified. On the other side you have automated scripts — the real test functions discovered in your codebase (Playwright, Cypress, Jest, pytest, and many more). This screen lets you draw a line between a manual case and the automated test that actually exercises it, and then keeps watch over whether that line is still trustworthy.

Think of it like a library card catalog cross-referenced against the shelves. The catalog (manual test cases) tells you a book should exist; the shelf (automated scripts) is where the book physically lives. A mapping is the call number that ties the two together. And just as books get reshelved, edited, or go missing, this screen flags when a script changes on disk, when a case is edited, or when a script file vanishes entirely — so the cross-reference never silently goes stale.

Why does mapping matter? Without it, automation runs in a vacuum — you have green test results but no way to say which requirements those greens actually cover. Mapping gives you automation coverage (what percentage of your manual catalog is backed by real scripts), traceability (from a requirement, to a manual case, to the exact line of code that verifies it), and drift detection (an early warning when a script and its case fall out of step). It turns a pile of passing tests into evidence you can stand behind in an audit or release sign-off.

  • QA leads and test managers who need to report automation coverage and prove that critical manual cases are backed by real automation.
  • Automation engineers who write the scripts and want to attach them to the manual cases they fulfil.
  • Manual testers who author test cases and want to know which of their cases are already automated (so they can stop running them by hand).
  • Release managers and auditors who need an end-to-end traceability trail from requirement to executable test. No coding is required to create mappings — the screen does it for you through point-and-click. You only need to be able to read the names of your test cases and recognise the script files they belong to.
TermWhat it means on this screen
Manual test caseAn entry from your test catalog — has an ID, title, priority (critical/high/medium/low), and type (functional, regression, smoke, etc.). Listed on the left side of the Map Test Cases tab.
Automated scriptA real test function discovered in your codebase. Belongs to a suite (a script file) and has a test name and a framework. Listed on the right side of the Map Test Cases tab.
MappingThe link between one manual test case and one automated script test. Stored as testCaseId + scriptPath + testName + framework. One case can be mapped to more than one test (see Map Also).
Automation coverageThe share of your manual catalog that has at least one mapping. Shown on the Dashboard as the Mapped percentage (mapped ÷ total test cases).
Sync statusPer-mapping health: synced, script_updated, script_missing, or case_updated. Tells you whether the link can still be trusted.
Sync HealthA single headline percentage = synced mappings ÷ total mappings. Your at-a-glance confidence score for the whole map.
SuiteA single script file in the Available Scripts panel. Expands to reveal the individual test functions it contains.

The screen is organised into three tabs that flow left to right through a natural workflow: Dashboard (see where you stand), Mapped Test Cases (manage what is already linked), and Map Test Cases (create new links). The active tab is remembered in the URL (?tab=dashboard|mapped|map), so you can bookmark or share a specific view.

  • You create a mapping by selecting a manual case on the left and clicking Map next to a script on the right.
  • You review mappings in a table that shows the case, the script path, the test name, the framework, and the live sync status.
  • You remove a mapping with the Unlink action (singly or in bulk).
  • Testver watches the files behind each mapping; if a script is edited or deleted, or the case itself is edited, the sync status changes colour to warn you.
  • You run Check Sync Status to re-scan all mappings and refresh those statuses on demand.
The Script Mapping screen and its three tabs
  1. In the left navigation, open Script Mapping under the Test Management group (route /script-mapping). The header reads Script Mapping & Sync.
  2. The screen opens on the Dashboard tab by default.
  3. Use the three tabs under the header — Dashboard, Mapped Test Cases, Map Test Cases — to move between views.
  4. If you arrived via a shared link with ?tab=map (or mapped), that tab opens directly.
RegionWhat lives there
Header barTitle Script Mapping & Sync with a left-right arrows icon, plus the subtitle “Link test cases to automation scripts and monitor sync health”.
Tab stripThree tabs: Dashboard (chart icon), Mapped Test Cases (link icon), Map Test Cases (left-right arrows icon). The active tab is underlined.
Dashboard tabFour stat cards, a sync-status breakdown bar with drill-down cards, and a Quick Actions row.
Mapped Test Cases tabSearch box, sync-status filter, a bulk-action bar (when rows are selected), and a wide table of every mapping.
Map Test Cases tabAn info banner with an unmapped counter, then a two-panel layout — unmapped cases (left) and discovered scripts (right).
Success toastA small confirmation that slides in at the top-right after any action (map, unlink, mark synced, sync check), auto-dismissing after a few seconds.
View ScriptAn action on each mapped row that opens the linked test in the Test Explorer in a new browser tab, so you can read the code, its run history, and its results together.

The Dashboard tab is your starting point and answers four questions instantly through its top stat cards: how many test cases exist in total, how many are Mapped (with a coverage percentage), how many are still Unmapped, and your overall Sync Health percentage. From here the Quick Actions row lets you jump straight to mapping work or trigger a fresh sync check.

The screen flows left to right through a natural workflow. Each tab has its own guide:

TabGuideWhat you do there
DashboardDashboard tabSee where you stand — coverage and sync health.
Mapped Test CasesMapped Test Cases tabManage what is already linked.
Map Test CasesMap Test Cases tabCreate new links.

The active tab is kept in the URL (?tab=dashboard|mapped|map), so it survives a refresh and can be bookmarked.

I want to…Do this
Link a manual case to a scriptMap Test Cases tab → select the case (left) → expand the suite (right) → click Map on the test.
Cover one case with two scriptsSelect the case, then on an already-mapped test click Map Also.
Remove a single mappingMapped Test Cases tab → row → Unlink icon → confirm.
Remove many mappings at onceMapped Test Cases tab → check the rows → Unlink Selected → confirm.
Clear stale drift warningsSelect the reviewed rows → Mark Synced (or the per-row Re-sync icon).
See which cases aren’t automatedDashboard → Unmapped card, or the Map Test Cases tab’s left panel.
Check overall automation coverageDashboard → Mapped stat card (shows count and %).
Find mappings whose script vanishedMapped Test Cases tab → sync-status filter → Script Missing.
Read the actual script codeMapped Test Cases tab → row → View Script (new tab) icon — opens the test in the Test Explorer in a new tab.
Re-validate all statusesDashboard → Quick Actions → Check Sync Status.
  • Discover scripts first. The Available Scripts panel is fed by the Test Explorer. Run your framework or scan before you start mapping, or the right panel will be empty.
  • Map by priority. Tackle critical and high priority cases first — the priority badges on the left panel make it easy to spot them.
  • Keep the Show mapped toggle off while mapping so the right panel stays focused on tests that still need linking.
  • Run Check Sync Status after refactors. Renaming or moving files is the most common cause of Script Missing — a sync check surfaces these immediately.
  • Use the status filter as a worklist. Filter the Mapped tab to Script Updated or Case Updated to see exactly which links need a human review.
  • Mark Synced only after you’ve reviewed. It silences the warning but doesn’t change the underlying files — confirm the case and script really do match before clearing the flag.
  • Watch your coverage percentage over time — it’s the single most useful metric to report on automation progress to stakeholders.

No scripts appear in the Available Scripts panel

Section titled “No scripts appear in the Available Scripts panel”

No test suites have been discovered yet. The panel itself advises: run your test framework first so Testver can discover test suites, or use the Test Explorer to scan. Once suites appear, refresh the tab.

You haven’t selected a manual case yet. Each script row reads “Select a test case first” until you pick a case in the left panel. Select one and the Map buttons appear.

The script file was deleted, renamed, or moved after the mapping was made. Either restore the file at its original path, or unlink the case and re-map it to the file’s new location.

What do Script Updated and Case Updated mean?

Section titled “What do Script Updated and Case Updated mean?”

Amber means the script file changed on disk; blue means the manual case was edited. Neither breaks the link — they are review prompts. Confirm the case and script still describe the same behaviour, fix whichever is out of date, then Mark Synced (or use the row’s Re-sync icon) to clear the flag.

Statuses don’t auto-recompute on every visit. Open the Dashboard and click Check Sync Status to re-scan all mappings and refresh the figures.

Can one test case map to more than one script?

Section titled “Can one test case map to more than one script?”

Yes. Select the case, then use Map Also on additional tests to add further mappings for the same case.

There’s no undo button; the unlink takes effect after the confirmation prompt. Simply re-create the mapping from the Map Test Cases tab — the case will be back in the unmapped list, ready to link again.

It was mapped by an earlier discovery / reverse-engineering pass. Toggle Show mapped on to inspect those links; if one is wrong, unlink it from the Mapped Test Cases tab.