Test ManagementAI Test Gen
AI Test Gen
Introduction
Section titled “Introduction”What is AI Test Generation?
Section titled “What is AI Test Generation?”The AI Test Generation screen (titled AI-Powered Test Case Generation at the top of the page) is where Testver uses an AI model to write test cases for you. Instead of authoring every test case by hand, you point the AI at material you already have — a requirement document, a note, a JIRA ticket, or even your existing automation scripts — and it produces a list of structured test cases (title, priority, type, preconditions, and numbered steps with expected results) that you can review, refine, and save into your catalog.
Think of it like handing a thorough QA analyst a stack of requirements and saying “draft me the test cases.” They read each requirement, think through the happy path, the negative cases, the boundaries, and the error handling, then hand you a tidy stack of draft test cases. You stay in control: you read each one, keep the good ones, drop the rest, and file them where they belong. The AI does the typing; you do the judging.
Who this guide is for
Section titled “Who this guide is for”This guide is for anyone who wants to produce test cases faster:
- QA engineers and testers who want a strong first draft of test cases from a requirement instead of starting at a blank page.
- Business analysts and product owners who have written requirements, notes, or JIRA tickets and want to see what coverage they imply.
- Automation engineers who already have test scripts and want matching manual test cases extracted from them (the Reverse Engineer mode).
- Test leads who want to spot coverage gaps — the traceability matrix shows which requirements are covered by which test strategies. No coding is required to use this screen. You do need source material already loaded into Testver (for the From Sources mode) or discovered automation scripts (for the Reverse Engineer mode).
Key terms
Section titled “Key terms”| Term | What it means on this screen |
|---|---|
| Source | A piece of input material already stored in Testver — a Requirement, a Note, a JIRA ticket, or a Document. You manage these on the Sources page. The AI reads the selected source to write test cases. |
| Mode | Which generation flow you are using. Two modes exist: From Sources (generate from requirements/notes/documents) and Reverse Engineer (extract test cases from automation scripts). |
| Generated test case | A draft test case produced by the AI. It typically has a title, priority, type, optional description, tags, preconditions, and a list of numbered steps (each with an action, an expected result, and optional test data). These are not saved until you choose to save them. |
| Streaming | Generation is live. Each test case appears in the list the moment the AI finishes writing it, rather than waiting for the whole batch. A progress banner shows elapsed time and how far along the pipeline is. |
| Requirement (extracted) | When generating from sources, the AI first reads the source and breaks it into individual requirements (each gets an ID like REQ-1). Test cases are then generated per requirement. |
| Strategy | The testing angle a test case takes — for example happy-path, negative, boundary, equivalence, error-handling, security, performance, accessibility, compatibility, integration, or data-validation. Each generated test is tagged with one strategy (shown as a cyan chip). |
| Persona | A user role a test applies to (shown as a violet chip when present). Used as a filter dimension. |
| Priority | How important the test is: critical, high, medium, or low (shown as a colored chip). |
| Type | The test category: functional, regression, smoke, integration, e2e, api, performance, or security (shown as a colored chip). |
| Auto Save | An option that, when ticked, saves the generated test cases automatically as soon as generation finishes — no manual Save click needed. |
| Incremental mode | An option that tells the AI to skip requirements that already have matching test cases (matched by a source-quote fingerprint). Useful when you edited a source and only want tests for what changed. |
| Target Folder | The catalog folder the saved test cases will land in. Defaults to root (no folder). |
| Traceability matrix | A grid shown after generation that maps each extracted requirement against each test strategy, so you can see coverage and spot gaps at a glance. |
| Mapped (Reverse Engineer) | An automation test that is already linked to a test case. Mapped tests are dimmed and cannot be re-selected for reverse engineering, to avoid duplicating work. |
How it works
Section titled “How it works”At a high level, the screen takes one kind of input and produces one kind of output, depending on the mode you pick:
| Mode | What you give it (input) | What it produces (output) |
|---|---|---|
| From Sources | One selected source (a Requirement, Note, JIRA ticket, or Document) already stored in Testver. | A set of draft test cases grouped by the requirements the AI extracted from that source, each tagged with a strategy and priority, plus a traceability matrix. |
| Reverse Engineer | One or more automation script files (or individual tests within them), selected from the discovered test suites. | Draft manual test cases reverse-engineered from those scripts, each tagged with the source script it came from. |
In both modes the flow is the same: choose your input, set options (target folder, auto-save, and for sources, incremental mode), click the generate button, watch results stream in live, review and filter them, then save the ones you want into your catalog.
Getting Started
Section titled “Getting Started”Opening AI Test Generation
Section titled “Opening AI Test Generation”- From the Testver navigation, go to the AI Test Generation area (route
/ai-test-gen). - The page header reads AI-Powered Test Case Generation with the subtitle “Generate, review, and optimize test cases with artificial intelligence.”
- Below the header you land directly on the single Generate flow — there is no tab bar to navigate.
- Pick a mode at the top: From Sources or Reverse Engineer. From Sources is selected by default.
The screen layout
Section titled “The screen layout”
| Area | Location | What it does |
|---|---|---|
| Page header | Top, full width | Shows the brain icon, the title AI-Powered Test Case Generation, and a one-line description. |
| Steps | Above the mode cards, in From Sources mode | Where you are: 1 Choose a source → 2 Choose requirements (optional) → 3 Review the cases → 4 Saved. The current step is highlighted. |
| Mode selector | Top of content area | Two cards: From Sources (clipboard icon) and Reverse Engineer (rotate icon). Click one to switch the form below. |
| Mode form | Center panel | The input form for the active mode — a source picker for From Sources, or a script/test list for Reverse Engineer. Includes the options row and the generate button. |
| Options row | Bottom of the form | Target Folder dropdown plus the Auto Save checkbox; in From Sources mode also the Incremental mode and Use app knowledge checkboxes. |
| Coverage toggle | Bottom-left of the From Sources form | High-level (the default) or Detailed — how deep each requirement is covered. |
| Generate button | Bottom-right of the form | The purple gradient button that starts generation. Its label reflects the mode and selection count. In From Sources mode a Choose requirements button sits next to it. |
| Success / error banners | Below the form | Green success banner (with an X to dismiss) or red error banner appear here after actions. |
| Streaming progress banner | Below the results | While generating, shows a spinner, elapsed time, current phase/requirement, and a Cancel button. |
| Requirement list | Below the form | Appears after Choose requirements — the extracted requirements with a Grounding column, to pick which ones to generate from. |
| Generated results | Below the form | The list of draft test cases, the filter bar, the summary/save bar, detected-domain cards, skipped-requirements list, and the traceability matrix. |
| Accepted view | Below the form | Replaces the results after you save — the created cases with their TC- ids, requirement links, grounding and automation verdicts, and the hand-off to automation. |
| Regeneration warning modal | Centered overlay | Pops up when you generate from a source that already has test cases while Incremental mode is off. |
| Confirmation dialogs | Centered overlay | Switch to Detailed coverage? when you pick Detailed, and Cancel test generation? when you cancel a running generation. |
At a glance
Section titled “At a glance”- Two modes, one button: pick From Sources or Reverse Engineer, select your input, click generate.
- Results stream in live — you do not have to wait for the whole batch before reviewing.
- Nothing is saved until you click Save Selected or Save All (unless Auto Save is ticked).
- You can cancel mid-generation (after a confirmation) and keep whatever has already streamed in.
- After generation you can search, filter by strategy/priority/persona, and group results before saving.
Choosing Your Input (Generation Modes)
Section titled “Choosing Your Input (Generation Modes)”What you provide depends on the mode. Below are all the input fields and options for each mode exactly as they appear on the screen.
From Sources mode
Section titled “From Sources mode”
In From Sources mode you select exactly one source to generate from. The list shows your active sources and is filterable by type and searchable by text.
| Field / control | Type | What it does |
|---|---|---|
| Type filter chips | Buttons: All, Requirement, Note, JIRA, Document | Filter the source list to one source type, or All to show every type. Each source shows an emoji by type (Requirement, Note, JIRA Ticket, Document). |
| Search sources box | Text input | Search sources by title or content. Case-insensitive substring match against the source title and body. An X button clears the search. |
| Source list | Single-select radio list | Pick one source. Selecting a source replaces any previous selection. Each row shows the type icon, the title, a content preview (first 120 characters), a TC count badge, and the type label (Requirement, Note, JIRA Ticket, or Document). |
| TC count badge | Read-only badge per source | Shows how many test cases were already generated for that source. Emerald badge means it already has tests; grey means none yet. Used to warn you about re-generating. |
| Target Folder | Dropdown | Which catalog folder the saved tests go into. Options are No folder (root) plus your folder tree (indented by depth). Defaults to root. |
| Auto Save | Checkbox | When ticked, generated test cases are saved automatically as soon as generation finishes. When unticked, you save manually afterward. |
| Incremental mode | Checkbox (labeled “skip already-covered”) | When ticked, the AI skips requirements whose source quote already matches an existing test case. Useful after editing a source so you don’t re-pay for covered requirements. |
| Generate from N Sources | Button | Starts generation. Disabled until a source is selected or while a generation is in progress. The label reflects the selection count. |
| Use app knowledge | Checkbox (its hint shows what has been explored, or nothing explored yet) | Grounds the generated steps in what an exploration run actually observed — real page names, real control labels, which role can reach what. On by default; with nothing explored yet it changes nothing. See Grounding below. |
| Coverage | Toggle: High-level / Detailed | High-level (the default) asks for fewer, broader functional tests per requirement. Detailed asks for thorough coverage — happy-path, negative, boundary, data-validation, integration, security, performance and accessibility scenarios, plus role checks where a role changes the outcome. It still groups by behaviour: a form’s field rules are checks of one requirement, and each test type gets one data-driven case whose steps try each value — not one case per value. Clicking Detailed first opens a Switch to Detailed coverage? confirmation; Cancel keeps High-level. |
| Language | — | Test cases are written in English, whatever language the source is in. Quotes from the source stay word for word. |
| Choose requirements | Button | Extracts the requirements first and shows them in a list, so you can pick which ones to generate from and see how much of each would be guesswork. See Choosing requirements first. |
Reverse Engineer mode
Section titled “Reverse Engineer mode”
In Reverse Engineer mode you select existing automation tests (or whole script files), and the AI writes matching manual test cases from them — only for the tests you ticked, so the rest of a file is left alone. Tests that are already mapped to a test case are dimmed and cannot be selected. Only test-script files inside the project are read (up to 50 per run, 512 KB each); Testver’s own .testver files never are.
| Field / control | Type | What it does |
|---|---|---|
| Info header | Static panel | Explains the mode: select individual scenarios or whole files to generate manual test cases. |
| Search scripts or tests | Text input | Filter the suite list by file path or test name (case-insensitive substring). |
| Select All Unmapped | Button | Selects every unmapped test across all visible suites. |
| Deselect All | Button | Clears the entire selection. |
| Selected count | Read-only text | Shows how many tests are currently selected. |
| File-level checkbox | Checkbox per script file | Selects or deselects all unmapped tests in that file. Shows a partial state when only some tests in the file are selected. Disabled for fully-mapped files. |
| Expand toggle | Chevron per file | Expands a file to show its individual tests so you can pick specific scenarios. |
| Individual test checkbox | Checkbox per test | Selects a single test scenario. Disabled (and the row dimmed) if that test is already mapped. |
| Mapping badges | Read-only badges | All Mapped (whole file already mapped, dimmed), N/M Mapped (partially mapped, amber), or “N available” (count of unmapped tests). |
| Target Folder | Dropdown | Same as From Sources — the folder saved tests go into. |
| Auto Save | Checkbox | Same as From Sources — auto-save on completion. (Incremental mode is not shown in this mode’s options row.) |
| Reverse Engineer (N tests) | Button | Starts generation from the selected tests. Disabled until at least one test is selected, or while generating. |
If one script fails (the AI provider errors, or stops answering for 90 seconds), a message names that script and the others carry on — the cases they made are still listed.
Generating Test Cases
Section titled “Generating Test Cases”Starting a generation
Section titled “Starting a generation”- Pick your mode and provide the input (a source, or one or more scripts/tests).
- Set the Target Folder, pick the Coverage depth, and tick Auto Save, Incremental mode and Use app knowledge as you want them (Coverage, Incremental mode and Use app knowledge are in From Sources mode only).
- Check the estimate next to the buttons — About N AI calls · X–Y test cases — which updates as you change the source, Coverage and Incremental mode. Each call uses AI credits; the case count is what you will have to review.
- Click the purple generate button (Generate from N Sources or Reverse Engineer (N tests)).
- If the run would make more than about 40 AI calls (a long document, or Detailed coverage), a This is a big run dialog says how many and where they go, and suggests cheaper ways (High-level coverage, or Choose requirements). Click Generate (or Read the source) to go ahead, or Cancel.
- If you are generating from a source that already has test cases while Incremental mode is off, a warning modal appears first — see The regeneration warning.
- A progress banner appears and test cases begin streaming into the list below as each one is finished.
The regeneration warning
Section titled “The regeneration warning”If you generate from a source that already has linked test cases and Incremental mode is off, Testver opens a warning modal titled This source already has generated test cases. It lists the affected source(s) with their test-case counts and recommends Incremental mode. You get three choices:
| Button | What happens |
|---|---|
| Cancel | Closes the modal and does nothing. No generation runs. |
| Generate Anyway | Runs a full regeneration of everything. This may produce duplicate test cases for requirements that are already covered. |
| Use Incremental Mode | Turns on Incremental mode and generates, skipping requirements that already have matching test cases. This is the recommended choice for re-runs. |
Watching progress (and cancelling)
Section titled “Watching progress (and cancelling)”While generation is running, the progress banner shows a Cancel button. Clicking it opens a Cancel test generation? confirmation: Keep generating closes it, Yes, cancel stops the run. The test cases that already streamed in are kept on screen so your effort isn’t wasted — you can still review and save them — but the remaining requirements are not generated and the run cannot be resumed.
Leaving the page while it runs
Section titled “Leaving the page while it runs”A generation from sources runs on the Testver server, not in your browser tab. You can open another page — or close the tab — and it carries on.
When you come back to AI Test Gen, a banner at the top of the page offers the run:
| Banner | Button | What happens |
|---|---|---|
| A generation is still running — from source, N test cases so far. | Follow it | Shows every case made so far, then keeps adding the rest as they come. |
| A generation from source finished with N test cases. | Show it | Shows the finished results to review and save. |
| Requirements extracted from source are ready to choose from. | Show it | Opens the requirement list from a Choose requirements run. |
Dismiss sets the run aside. Once you save its cases (or discard them all, or click Done), it is not offered again.
Reviewing the results
Section titled “Reviewing the results”Once test cases start arriving, the results area shows a summary/save bar and the list of test cases. Each test case appears as a collapsible card:
- A checkbox to select the test for saving.
- A chevron to expand or collapse the card details.
- The title of the test case.
- Chips on the right: the strategy (cyan, mono), the priority (colored), the type (colored), the persona (violet, if present), the grounding and automation verdicts (see Grounding), and — for reverse-engineered tests — the source script name (purple, with a code icon).
- A possible duplicate of TC-N chip (amber) when a case already in your catalog does the same thing — see Duplicates.
- An edited chip once you have changed the case.
- An N review notes chip (amber, or red when one is major) when the AI’s own review found a problem with the case — see Fixing what the review found. A fixed chip once the AI rewrote it.
- When expanded: an optional description, tags, preconditions, and the numbered steps. Each step shows its action, an “Expected:” line, and an optional “Data:” line. Below them are Edit and Discard, and the review notes with their suggested fix. Above the cards (after streaming finishes) is a filter bar for slicing the results:
| Filter control | What it does |
|---|---|
| Search box | Full-text search over test titles, preconditions, tags, and step bodies (action, expected result, test data). |
| Group by | Dropdown to group cards by Requirement, Strategy, Priority, or Flat (no grouping). Defaults to Requirement. |
| Expand all / Collapse all | Expand or collapse all groups at once (shown when not in Flat mode). |
| Strategy chips | Multi-select chips (cyan) to show only tests of selected strategies. Only strategies that actually appear are shown. |
| Priority chips | Multi-select chips (amber) for critical/high/medium/low. |
| Persona chips | Multi-select chips (violet) for personas, when present. |
| Quality chips | grounded, automatable, needs a look, possible duplicates, review notes. Shown only once the results carry those labels — a project with no exploration data does not see grounding filters for a dimension none of its cases have. |
| Showing X of Y | A live counter of how many tests match the current filters out of the total, with a Clear filters link when any filter is active. |
Below the list, two more panels may appear after generation: a Detected Application Domain panel (one card per source, showing the detected domain, a description, and key concerns), and a N requirements skipped (already covered) panel when Incremental mode skipped any requirements. Finally, the traceability matrix renders requirement-by-strategy coverage so you can spot gaps.
The matrix grades against what the depth you chose was actually trying to cover. Detailed generation is asked for at least one test per applicable strategy and then runs a gap-filling pass, so an empty cell there is a genuine miss and is marked ✕, with a “N req with gaps” banner. High-level is asked for the opposite — one to three focused tests, explicitly not one per strategy — so an untested strategy is what you asked for, not a failure: those cells read as a plain dot and no gap warning appears. Use Deepen on a requirement to fill it in properly.
Editing and discarding cases before saving
Section titled “Editing and discarding cases before saving”Fix a case before it reaches your catalog:
- Expand the card and click Edit.
- Change the Title, Priority, Preconditions or Steps — each step has an action, an expected result and test data. + Add step adds one; the × next to a step removes it.
- Click Done editing. The card shows an edited chip, and your version is what gets saved.
Discard on a card takes it off the list. To keep only some cases you can also tick just those and click Save Selected (N) — the rest stay on screen. To get different results, adjust your input or options and regenerate.
Duplicates of cases you already have
Section titled “Duplicates of cases you already have”When a run finishes, Testver compares each new case with the test cases already in your catalog. A case that does the same steps as one you have — even under a different title — gets a possible duplicate of TC-N chip naming the existing case. Two cases with similar titles but different steps are not flagged.
It also compares the run’s cases with each other. A case that does what an earlier case of the same run does — say, two requirements on the sign-in page both wrote “a wrong password shows an error” — gets a repeats a case above chip (hover it to see which). The first one is kept. A data-driven variant — the same steps with different test data — is not counted as a repeat. After a Deepen, the new cases are compared with everything already on the list.
- Discard N possible duplicates (in the save bar) removes both kinds at once.
- The possible duplicates quality chip shows only those cases, to check them one by one.
- A flagged case is still saved if you leave it in — the chip is a warning, not a block.
How many cases to expect
Section titled “How many cases to expect”| Coverage | Requirements | Cases per requirement | Typical total |
|---|---|---|---|
| High-level (default) | One per feature or major rule — about 8–20 for a typical spec | 1–3 (usually a positive case and its negative partner) | about 16–60 |
| Detailed | One per behaviour, flow or business rule — field rules and error cases are its acceptance criteria, not requirements of their own | About one per test type that applies (typically 3–6), each data-driven: its steps try every value | several times High-level |
Three things keep the count honest:
- Grouped requirements. Detailed never makes a requirement per field rule; a missed rule found by the completeness check is added to the requirement it belongs to.
- Related requirements know about each other. Requirements about the same feature or screen are generated one after another, each told what the ones before it already cover, so they don’t write the same scenario twice. Unrelated ones still run in parallel.
- Repeats are flagged — against your catalog and within the run (see above).
Fixing what the review found
Section titled “Fixing what the review found”After generating, the AI reviews the whole set and notes concrete problems on the cases they belong to: placeholder test data (“a valid email”), vague steps, a missing final check, a step that uses data nothing set up, two cases doing the same thing, a case trying to check too much. (A case the AI’s answer was cut off in — it ran out of room mid-case — is kept, with a note that its last step may be unfinished.)
- Click Fix N with AI in the save bar.
- Each flagged case is rewritten to resolve its notes only — its intent and the requirement it verifies stay. The dialog shows each case Before and After, with one line saying what changed.
- Untick any change you don’t want, then click Use N of M fixes. The cards take the new text and show fixed; their notes are gone. Nothing is saved until you save.
You can also fix a case by hand with Edit, or filter to the noted cases with the review notes chip.
Deepening a whole High-level run
Section titled “Deepening a whole High-level run”On High-level results, Deepen on a requirement adds its Detailed cases (edge, boundary, security) to the list. Deepen all N in the save bar does it for every requirement, one after another — about one AI call each. Stop deepening ends it: the requirement in progress stops and the rest are left as they are.
Saving test cases
Section titled “Saving test cases”The summary/save bar appears at both the top and the bottom of the results list (so you can save without scrolling back up). It offers:
| Control | What it does |
|---|---|
| Discard N possible duplicates | Shown when any case is flagged as a duplicate. Removes those cases from the list. |
| Save to | The folder the cases are saved into. It starts as the Target Folder from the form; change it here without regenerating. |
| Select All / Deselect All | Selects or deselects all generated tests. When filters are active, the label changes to Select Visible (N) / Deselect Visible and only affects the currently visible tests. |
| Save Selected (N) | Saves only the ticked test cases into the Save to folder. Disabled when nothing is selected. |
| Save All | Saves every generated test case into the Save to folder, regardless of selection. |
- Review the generated cards, edit or discard the ones that need it, and tick the ones you want to keep.
- Check the Save to folder.
- Click Save Selected (N) to save just your picks, or Save All to save everything. Both are unavailable while a generation or Deepen is still running.
- A green banner says how many were saved. With Save Selected, the cases you didn’t tick stay on screen — save them now (to another folder, if you like) or leave them. Once nothing is left to save, the cards are replaced by the accepted view (see After Saving), listing every case saved from this run.
- If some cases could not be saved, the banner says how many and why, and those cases stay on screen to save again.
- The saved test cases now live in your catalog (in the chosen folder) and are linked to the source(s) they came from.
Saved cases start In review
Section titled “Saved cases start In review”Cases written by AI are saved with the review status In review, so nobody mistakes them for checked cases. On the Test Cases page, tick the ones you have checked and click Approve (or Reject) in the bar that appears. Rejected cases are left out of quick test plans.
After Saving
Section titled “After Saving”Every successful save — Save Selected, Save All, or Auto Save — ends on the accepted view, titled N cases added to Test Management:
| Part | What it shows |
|---|---|
| Case table | Each created case with its TC- id, title, the requirement it verifies (Req), and its Grounding and Automation verdicts. |
| N of M can be automated | The automatable cases, with Automate N in Web mode (Mobile mode in a mobile workspace) to hand them to the AI Assistant, which writes each test, runs it until it is green twice, and maps the script back onto the case. |
| N held back | Cases that need setup or a person, each with its recorded reason. They stay in Test Management as manual cases. |
| N expected to fail | Cases where the requirement and what exploration observed disagree (spec drift). |
| Coverage strip | Requirement coverage (requirements linked to a case), Automated coverage (requirements whose cases are all automatable), and, when any, the requirements Still unexplored. With a Jira connector, Push N to Jira creates a Jira issue for each saved case (see Pushing test cases to Jira). |
Click Done to close the accepted view and return to the form.
The requirements are saved too
Section titled “The requirements are saved too”Saving also stores every requirement AI Test Gen found in the document on the Requirements tab — the ones you chose not to generate for included — each with the quote it came from, and every case is linked to its own requirement. Coverage is then counted against the whole document: a document with 40 requirements and cases for 3 reads 3 of 40, and the document matrix shows the other 37 as uncovered rows.
The same requirement is found again on the next run (it is matched by its quote), so generating again adds cases to the requirements you already have instead of new copies. With Incremental mode on, a requirement that already has cases is skipped. Deleting the source removes the requirements that came from it.
When the source changes
Section titled “When the source changes”Each stored requirement keeps the sentence it was quoted from. When you edit the source’s text — or Refresh from Jira brings a changed description — a requirement whose sentence is no longer there counts as changed:
- the cases written from it are flagged Source changed on the Test Cases page, with what the source said and what it says now (an approved one goes back to In review);
- the source shows N to review here and on the Sources page;
- the changed requirement drops out of the coverage count until it is generated for again.
Select the source and click Regenerate changed requirements in the amber note under the source list. It runs with Incremental mode on, which for a source with stored requirements compares the quotes: a requirement whose sentence is unchanged is skipped, and only the changed ones are generated again — even when the AI words their titles the same. The old flagged cases stay until you review them: update or delete each one, then Mark reviewed on Test Cases.
This screen does not keep a browsable history of past generations. Your latest run is offered again for 30 minutes if you leave before dealing with it (see Leaving the page while it runs); once you click Done the view is gone, and there is no “previous runs” list on the page.
What persists instead is the outcome of saving: the test cases you saved live permanently in the Test Cases catalog, and each source carries a TC count badge showing how many test cases have already been generated for it. That badge is your durable record of what’s already been produced from a given source — it’s also what powers the regeneration warning. To re-examine or change generated tests, open them in the Test Cases catalog.
Grounding: where the steps come from
Section titled “Grounding: where the steps come from”Left to itself, a generator gets the assertions right — they come from your requirement — and invents everything else: the page names, the button labels, which role can reach a screen, sometimes whether the path exists at all. The assertions are what you asked for; the navigation is plausible fiction.
App knowledge fixes the second half. When an exploration run has walked your application, generation uses what it recorded for navigation and vocabulary.
The rule
Section titled “The rule”This is worth stating exactly, because the whole feature depends on it:
| Input | What it decides | What it never decides |
|---|---|---|
| Your requirement or document | Every assertion — what the test expects and what counts as a pass | How to get there |
| App knowledge (exploration) | Navigation, page identity, control names, which role can reach what | What the test asserts |
| Your existing test cases | House style — step granularity, tags, how your team writes test data. Approved and hand-written cases are preferred over earlier AI drafts, rejected ones are never used, and secret-looking test data (passwords, tokens, keys) is masked before it is shown to the AI | Either of the above |
| Your project’s test data | Which fixture or environment variable a step should use — fixture tests/fixtures/users.json → admin.email, ${TEST_USER_EMAIL} — instead of an invented value. Only file names, their keys and variable names are read (from fixture folders and .env.example-style files), never a value, and never your real .env | What the test asserts |
The source document is final. If exploration and the requirement disagree — the document says a password needs eight characters, the signup field accepts four — the generated case asserts the requirement, is flagged as expected to fail, and the disagreement is reported as spec drift.
What you see on each generated case
Section titled “What you see on each generated case”| Marker | Meaning |
|---|---|
| grounded | Every step maps to a control an exploration run actually observed. |
| partly grounded | Some steps were never observed — those are the lines to read first. |
| navigation invented | No explored page backs these steps. The assertions still come from your requirement. |
| observed / not observed (per step) | Whether that individual step was backed by something recorded, shown with the page it was matched against. |
| Grounded by | The files behind the grounded steps, named so you can open them rather than take our word for it. |
| Possible spec drift | The requirement and the observed behaviour disagree. Shows both sides and states that the case asserts the requirement. |
Can this be automated?
Section titled “Can this be automated?”Every generated case also carries an automation verdict, so you know what can go straight to Web mode and what needs a person:
| Verdict | Meaning |
|---|---|
| automatable | A run can execute it unattended. |
| needs setup | Automatable once something exists first — two concurrent sessions, or data of a particular age that has to be seeded. |
| manual | A step needs something no automated run can do: a real emailed link, a one-time code, a CAPTCHA, a bank page, physical hardware, someone else’s approval, or an expected result that is a human judgment (“looks professional”). |
Ordinary test automation is not a blocker: signing in, filling forms, using a sandbox payment card, walking a multi-page checkout, and relying on seeded catalogue data are all automatable. Every verdict comes with a one-sentence reason, and you can override any of them from the card.
Choosing requirements first
Section titled “Choosing requirements first”The Generate from N Sources button does everything in one pass. Choose requirements splits it, so you can see what you are about to pay for:
- Choose sources. Pick your source as usual, then click Choose requirements instead of Generate. Testver extracts the requirements and stops.
- Pick what to generate from. Every requirement appears with a Grounding column — 9 pages explored, or not explored. A Grounding panel on the right summarises what exploration has recorded. Hover a grounded chip to see which pages. A requirement that previously produced a case recording spec drift is called out too. Tick the ones you want; everything is ticked by default. Back to sources returns to the form.
- Review. Click Generate cases for N requirements; generation runs for exactly the requirements you picked. The line beside it says about how many test cases that will make. The results carry the grounding and automation markers described above, plus three extra filters — grounded, automatable, needs a look — and a header reading, for example, Generated 11 test cases · 8 grounded · 6 automatable.
- Accept and automate. Saving shows the accepted view: a table of the created cases with their
TC-ids, requirement links, grounding and automation verdicts. From there, Automate N in Web mode (Mobile mode in a mobile workspace) hands the automatable ones to the AI Assistant, which writes each test, runs it until it passes, and maps the script back onto the case.
The grounding column does not block anything. It tells you, before you spend anything, how much of the result will be guesswork.
Common Tasks (How Do I…?)
Section titled “Common Tasks (How Do I…?)”| I want to… | Do this |
|---|---|
| Generate tests from a requirement document | Stay in From Sources mode, select the source, click Generate from 1 Source. |
| Generate tests from my automation scripts | Switch to Reverse Engineer mode, pick the scripts/tests, click Reverse Engineer. |
| Save the tests automatically | Tick Auto Save before clicking generate. |
| Put tests in a specific folder | Choose it in the Target Folder dropdown before generating, or in Save to before saving. |
| Fix a case before saving | Expand it, click Edit, change it, click Done editing. |
| Drop cases I already have | Click Discard N possible duplicates in the save bar. |
| Check how many AI calls a run makes | Read About N AI calls next to the generate buttons. |
| Go back to a run after leaving the page | Open AI Test Gen again and click Follow it (or Show it) in the banner at the top. |
| Mark AI cases as checked | On the Test Cases page, tick them and click Approve. |
| Fix the problems the AI review found | Click Fix N with AI in the save bar, check each change, click Use N of M fixes. |
| Make every requirement of a High-level run thorough | Click Deepen all N (Stop deepening ends it). |
| Update cases after the source changed | Select the source, click Regenerate changed requirements; review the flagged old cases on Test Cases. |
| Send the saved cases to Jira | In the accepted view, Push N to Jira (or Push to Jira on Test Cases). |
| Re-run after editing a source without duplicates | Tick Incremental mode (or choose Use Incremental Mode in the warning modal). |
| Save only some of the generated tests | Tick just those cards, then click Save Selected (N). |
| Save everything at once | Click Save All. |
| Find a specific generated test | Use the search box and the strategy/priority/persona filter chips. |
| See coverage gaps | Read the traceability matrix at the bottom; empty cells for required strategies are flagged. |
| Stop a long generation early | Click Cancel in the progress banner, then Yes, cancel — partial results are kept. |
| Select every test in a script file | Click the file-level checkbox in Reverse Engineer mode. |
| Skip tests already linked to a test case | Reverse Engineer mode auto-dims mapped tests; pick from the unmapped ones (or use Select All Unmapped). |
Tips & Best Practices
Section titled “Tips & Best Practices”- Generate from one well-scoped source at a time. The source picker enforces single selection on purpose — cleaner input yields cleaner, more focused test cases.
- Set the Target Folder before you generate so saved tests land in the right place without a second step.
- Don’t blindly Save All. Skim the cards, fix or discard the weak ones, drop the possible duplicates, and save the rest — the filters and group-by make this quick.
- On a long document, look at the About N AI calls estimate first — Choose requirements and generating for the ones that matter costs far less than the whole document.
- Use Group by → Requirement plus the traceability matrix to confirm every important requirement has coverage before saving.
- Watch the TC count badge: an emerald badge means that source already produced tests — switch to Incremental mode to avoid duplicates on a re-run.
- Leave Auto Save off while you’re still experimenting, so you can review before anything is persisted.
- If generation is taking long, the elapsed timer and phase labels tell you it’s still working — you can cancel and keep partial results at any time.
Troubleshooting & FAQ
Section titled “Troubleshooting & FAQ”| Symptom / Question | Cause / Answer |
|---|---|
| ”Generation failed: …” red banner | The AI provider rejected or couldn’t complete the request — most often a missing or invalid AI provider key, or a transient model error. Confirm an AI provider is configured, then retry. |
| The generate button is greyed out | You haven’t selected an input yet (no source, or no scripts/tests), or a generation is already running. Make a selection or wait for the current run to finish. |
| ”No sources available” | There are no sources in Testver. Add requirements, notes, or documents on the Sources page first. |
| ”No test scripts discovered yet” | Testver hasn’t discovered any automation suites. Run your test framework so the suites can be discovered, then return to Reverse Engineer mode. |
| A test in Reverse Engineer mode is greyed out and can’t be selected | It’s already mapped to a test case. Mapped tests are excluded to avoid duplicate work; pick from the unmapped ones. |
| ”No test cases were generated. Try refining your input.” | The AI returned an empty result for your input. Try a richer or clearer source, or a different selection. |
| ”This source is too large to generate from in one run” | One run reads up to about 400,000 characters. Split the document into smaller sources — one per feature or chapter — and generate from each, or use Choose requirements on a smaller source. |
| ”Auto Save failed: …” | The run finished but could not be saved (for example, its target folder was deleted meanwhile). The cases are still on screen — pick a folder and click Save All. |
| I left the page while it was generating | A generation from sources keeps running on the server. Open AI Test Gen again and click Follow it (or Show it) in the banner at the top. Reverse Engineer and Deepen stop when you leave, and closing the tab with their unsaved results asks first. |
| A warning says the source has extractable-text problems | A non-fatal “parse-error” — e.g. a selected source had no extractable text (such as a scanned PDF). That input was skipped; provide a text-based source instead. |
| I got duplicate test cases after re-running | You ran a full regeneration on a source that already had tests. Use Incremental mode (or Use Incremental Mode in the warning modal) on re-runs. |
| ”Nothing was saved …” | No case could be saved; the message gives the reason (for example, The target folder no longer exists). Your cases stay on screen — fix the cause and save again. |
| Where did my generated tests go after saving? | Into the Test Cases catalog, in the Target Folder you chose, linked to the originating source(s). The accepted view lists them with their TC- ids until you click Done. |
| A case says “N review notes” | The AI’s review found a concrete problem with it (expand the card to read it). Fix it with Edit, or let Fix N with AI rewrite it. |
| A note says the answer was cut off | The AI ran out of room in the middle of that case. It is kept — check its last step, or regenerate. |
| ”Regenerate changed requirements” made no new cases | No requirement’s sentence actually changed — only text around them did — so every requirement was skipped as covered. |
| Can I edit a generated test before saving? | Yes — expand it and click Edit. You can change the title, priority, preconditions and steps. |
| A case is marked “possible duplicate of TC-N” | A case in your catalog already does the same steps. Open TC-N to compare; discard the new one, or keep it if it really differs. |
| ”You already have 3 generations running” | Up to 3 run at once. Wait for one to finish, or open AI Test Gen and cancel one. |
| My saved AI cases say In review | That is on purpose — AI-written cases start In review. Approve them on the Test Cases page once checked. |
| Can I see my past generation runs? | Only the latest one, for 30 minutes after it finishes (the banner at the top). Saved tests persist in the catalog, and each source’s TC count badge reflects what’s already been generated. |
| I cancelled — did I lose everything? | No. Cancelling keeps every test case that had already streamed in, so you can still review and save them. The rest of that run cannot be resumed — generate again to cover it. |
| I clicked Detailed but the toggle stayed on High-level | Detailed needs confirming. Click Switch to Detailed in the dialog that opens. |
Related
Section titled “Related”- Test Cases — where saved cases land.
- Sources — what From-Sources mode reads.
- Script Mapping — case ↔ script links.
- Settings → LLM — pick the AI provider.