QA Interview Hub · Knowledge base · Quizzes · Українська

QA Fundamentals

Bugs

reports, severity, life cycle

What should a good bug report contain?

A good bug report lets a developer reproduce the failure without asking a single question. It contains a title with the trigger condition, environment, preconditions, minimal steps with concrete values, actual and expected results with the source of the expectation, evidence and a severity estimate. It describes the observed failure, not a diagnosis; a guess about the cause is marked as a hypothesis. One bug, one report.

QA Fundamentals · Bugs and bug reports

The developer replied "cannot reproduce" in five minutes. What was wrong with the report?

A ticket appears in the tracker: "Transfer does not work". The developer opens it and has questions: on which environment, under which user, what exactly was entered, what does "does not work" mean? The ticket goes back to its author, who answers the next day, and another question comes up in the next round. After three exchanges two days are gone and the fix has not even started. This lesson is about what a bug report consists of so that it reproduces without a single question, and why every field exists.

How it works and why. A bug report is a message to a person who did not see the failure and must reproduce it, understand it and fix it. Each field of the template answers a question that person would ask first. If the field is missing from the ticket the question still arises, only it costs more: hours of waiting for an answer.

FieldThe developer's questionWhat to write
TitleWhat is broken and under what condition?"[Module] what happens if the condition"
EnvironmentWhere is it visible?environment, build, browser and version, OS, device
PreconditionsWhat state is the system in?role and account, balance, flags, required data
StepsHow do I repeat it?numbered, minimal, with concrete values
Actual and expectedWhat is the difference and what do we judge by?the fact and the source of the expectation: requirement, mockup, API contract
EvidenceWhat exactly did you see?screenshot, video, log, HAR, request and response
Severity, priority, frequencyHow important is it and how often does it happen?impact estimate, priority suggestion, "5 out of 5"

ISTQB terminology separates three things: a person makes an error (mistake), it leaves a defect in the code, and at run time the defect shows up as a failure. A bug report describes what is observed, that is the failure and the conditions where it is visible. Finding the cause in code is the developer's job, so a diagnosis does not belong in the report: "backend has no validation" is a hypothesis, and if you want to record it, mark it as a hypothesis on a separate line. The ISTQB defect report template also has an identifier, a date, the author, the test object, the context (which test case or activity found the bug), the status and references (for example, to the test case); the tracker fills in the identifier, date, author and initial status on its own.

A weak and a strong report of the same bug

Typical

Title Transfer does not work

Steps I tried to make a transfer.

Actual / expected none

Environment none

The developer knows neither the environment, nor the input, nor what counts as correct. The first question comes within a minute, the answer comes the next day.

Better

Title [Payments] Transfer returns 500 if the amount has 3 decimal places

Steps 1. Enter the amount 100.555. 2. Click "Continue".

Actual / expected POST /api/transfers → 500 / the hint "No more than 2 decimal places"

Environment staging, build 2.14.3, Chrome 129

The condition, the value, the request and the expectation in one place. The developer reproduces it in two minutes and sees where to look: the amount validation.

Figure 1. The same bug in two reports: the difference is in the number of questions the author will have to answer.

Example: from a ticket that gets sent back to a ticket that gets picked up. The initial version:

Title: Transfer does not work
Description: I tried to make a transfer and got an error.
Severity: high

Nothing here is false, but the ticket cannot be acted on. Every line raises a question: where exactly, which amount, which user, what error? The severity "high" is taken from thin air, because without the conditions the impact cannot be judged. The improved version answers these questions in advance:

Title: [Payments] Transfer returns 500 if the amount has 3 decimal places
Environment: staging, build 2.14.3, Chrome 129, Windows 11
Preconditions: user qa_user_03, balance 5,000.00 UAH
Steps:
  1. Open "Transfer to card"
  2. Enter the amount 100.555 and the card 4111 1111 1111 1111 (test)
  3. Click "Continue"
Actual: the banner "Something went wrong"; POST /api/transfers → 500
Expected: the hint "No more than 2 decimal places", no request is sent
  (requirement PAY-142, items 3.1–3.2: the amount is accurate to the cent, extra decimals are rejected)
Reproducible: 5/5; with the amount 100.55 the transfer succeeds
Severity: major (the transfer is impossible for this input)
Priority: medium (my suggestion; the PO decides)
Attachments: video.mp4, transfers.har

What exactly the strong version changed. The title already contains the trigger (3 decimal places), so the ticket can be found by search and told apart from its neighbours. The expectation rests on a requirement, not on "it seems to me": without it the developer is entitled to answer "works as designed". The line "with the amount 100.55 the transfer succeeds" narrows the search area: the problem is in the input, not in the whole feature. The severity is justified by impact, and the priority is given as a suggestion, because the PO assigns it in the end (the difference is covered in the lesson "How does severity differ from priority?").

Limits and alternatives. A template helps but does not replace thinking. Too many fields turn filling in into a formality, so fast teams keep a minimum: title, steps, actual/expected, environment, and add the rest when needed. Some bugs do not fit "steps": intermittent defects that depend on time or load. For them, instead of perfect steps, write the conditions in which the bug was seen, the frequency ("3 of 10") and the evidence: a log with the time, a transaction ID, a HAR. Security defects are often reported through a separate channel or with restricted access, not in a general ticket with every exploit detail. Tickets visible to the customer are also written more calmly: without ratings such as "terrible bug".

Common mistakes.

  • A title such as "Error", "Does not work", "Bug in the cart": the ticket cannot be found or told apart from others, and duplicates multiply.
  • Steps like "then click somewhere there": without concrete values and order, reproduction depends on luck.
  • No expected result: the developer answers "works as designed" and the talk is about taste, not about the requirement.
  • A screenshot without context: it shows the banner but not the URL, the user and the request that caused it. For API bugs the request and response fit better than a picture.
  • Several different problems in one ticket: one gets fixed, the other stays, and the ticket status says nothing. One bug is one report.
  • A diagnosis instead of a fact: "backend is broken" reads as an accusation and may be wrong.

Check yourself

A ticket says: "The cart sometimes shows a wrong total. Chrome. Severity: critical". Name three questions the developer must ask and one field that looks unjustified in this ticket.

Answer

Questions: which items and quantities were in the cart, what counts as the correct total (a requirement or a calculation), how often it happens and after which actions. The unjustified field is severity critical, because without steps and frequency the impact cannot be judged, and the word "sometimes" hides the very condition of the bug.

Why is it better to write "expected: a hint about a 2-decimal maximum (requirement PAY-142)" than "expected: normal behaviour"?

Answer

Because the expectation has a source that can be checked: a requirement, a mockup, an API contract. "Normal behaviour" depends on who reads it, and the developer can legitimately answer that what exists is normal for them. With a source the argument moves from opinions to verification.

In an interview. Junior: A good report has a title that shows what is broken and under what condition, the environment, minimal steps, the actual and expected result, evidence (screenshot, video, a request from DevTools) and severity. The goal is for the developer to reproduce the bug without questions to me. Middle/Senior: I treat a report as a message to a person who did not see the failure, so for each field I imagine their question. I describe the observed failure, not a diagnosis, tie the expected result to a requirement, attach a HAR or a log with a transaction ID, narrow the condition (100.55 works, 100.555 does not) and mark separately what is a fact and what is a hypothesis. I leave priority as a suggestion for the PO. If the ticket comes back with questions, I extend my template instead of only answering in a comment.

How does severity differ from priority?

Severity measures how strongly a defect disrupts the system, and QA sets it. Priority measures how urgently to fix it, and the PO or a manager assigns it, weighing deadline, audience, workaround and cost of the fix. The scales are independent: a typo in the company name on the home page has low severity but high priority. Priority is recalculated; severity changes only when something new is learned about the defect.

QA Fundamentals · Bugs and bug reports

A typo in the company name on the home page: a trifle or a release blocker?

The day before a release QA files two bugs: a rare admin export crashes and the company name on the home page has a typo. The PM looks at the list and says: we defer the export and fix the typo today. A newcomer is surprised: "But the export crashes!". For them it is a contradiction, for the team it is two different scales at work. This lesson is about what severity measures, what priority measures and why they must not be merged into one rating.

How it works and why. Severity describes the consequences of the defect itself: how strongly it breaks the work of the system or the user when it appears. It is a property of the bug as such, it hardly depends on the calendar, so QA sets it, as QA sees the behaviour. Priority describes the order in the fix queue: what to do earlier. It is affected by context QA may not know: the release deadline, the number of users, reputation risks, contract terms, the availability of a workaround, the cost of the fix. This is a business decision made by the PO or a manager, and QA only proposes. With one scale "how bad" and "when to fix" would get mixed, and after every change of the release plan the seriousness of defects would have to be reassessed. ISTQB puts it this way: severity is the degree of impact of a defect on the system, priority is the level of (business) importance of fixing it.

Two scales and four classic cases

High priorityLow priorityhigh severityPayment doesnot go throughhigh severityA rare adminexport crasheslow severityA typo in thecompany namelow severityA pixel shiftedin the footer
Figure 1. The highlighted cells are the cases where the scales diverge. These are what interviewers ask about.

Severity and priority in short

What we compareSeverityPriority
QuestionHow bad is it?When do we fix it?
AboutThe defect itselfThe queue and context
Who usually rates itQAPO, manager
How it changesRarelyWith the calendar and new data
Typical levelsBlocker … TrivialP1–P4, High–Low

How to tell them apart. If the question is "how serious is this bug", severity answers it. If the question is "what do we do first in this release", priority answers it. In a team with one scale the severity is written separately in the ticket text so that it is not lost. The level names are not standardised: ISTQB only defines both terms (the degree of a defect's impact and a level of importance assigned by criteria), while the actual levels and who assigns them are agreed by each team, so it is worth clarifying on a project.

A typical severity scale has five levels. The names differ a little between teams, the meaning does not:

LevelWhat it meansExample
BlockerThe system or a key scenario is unavailable, testing cannot go onThe application does not start after a build
CriticalLoss of data or money, or an important function down with no workaroundA double charge
MajorAn important function works wrongly, but there is a workaroundA filter in a list returns extra results
MinorAn inconvenience that does not prevent finishing the taskSorting is not kept after a refresh
TrivialCosmeticA shifted pixel, a typo in a hint

Priority usually has three or four levels: High, Medium, Low or P1–P4. The standard Jira field is called Priority (Highest, High, Medium, Low, Lowest), and severity on a project is often an additional custom field or lives only in the description. So the question "where do I put severity" depends on the settings of the particular tracker.

Example: four bugs before a release. Below is a list with an example of how a team reads it:

BugSeverityPriorityWhy
Order payment fails for Visa cardsCriticalP1Money, many users, no workaround
A typo in the company name on the home pageTrivialP1Reputation, a one-minute fix, the first page everyone sees
The admin export crashes for a 100,000-row report; accounting uses it once a quarterMajorP3The crash is serious, but there is a workaround (export by month) and the next quarter is far off
An icon in the footer is shifted by 2 pixelsTrivialP4Nobody will notice, we will fix it together with something else

The second row often causes surprise, because its severity is the lowest and its priority the highest. There is no contradiction: a typo in the company name breaks nothing technically, but every visitor sees it and the fix takes a minute. The third row is the mirror image: the defect is technically heavy, but the value of fixing it quickly is small. Now imagine accounting needs the export tomorrow because a reporting date arrives. Severity stays Major, while priority grows from P3 to P1. That is why priority is revisited during the life of a ticket, and severity is changed only when something new is learned about the defect itself (for example, the bug turned out to be not only in the export but also in saving data).

Limits and alternatives. Severity is not the number of affected users: a bug in a rare scenario that leads to a leak of other people's data has the highest severity despite a small reach. Some add a third axis, frequency: a rare but severe bug and a daily but minor one weigh differently. In the risk-based approach of ISTQB risk is assessed as a combination of likelihood and impact, and severity there corresponds to impact. Small teams use one scale, most often priority: it is simpler, but the conversation about how severe the bug is technically gets lost. The other extreme is separate scales that nobody explained: then severity is set "by eye" and different testers disagree on the same bug. A short description of each level with an example, as in the table above, accepted by the whole team, helps.

Common mistakes.

  • Assuming a blocker is always P1 and a trivial one always P4: the scales are independent, and the company-name example shows it.
  • Setting P1 on all bugs "so they don't get lost": when everything is urgent, nothing is, and the queue loses its order.
  • Assigning priority alone without discussing it with the PO: QA proposes but does not know the business context (deadlines, contracts).
  • Inflating severity so that a bug gets fixed faster: that substitutes the scales. For speed there is priority, and the argument must be impact, not emotion.
  • Never revisiting priority: a bug that was P3 a month ago can become P1 before a release candidate.

Check yourself

An online shop has an "Order details" window. For rare orders with 200+ items it opens in 40 seconds, and for the rest instantly. What severity and priority seem reasonable, and what does priority depend on?

Answer

Severity is more likely major: the function works but is extremely slow for one class of data. Priority depends on the business: whether such orders exist in reality (B2B customers) and how many, whether there is a workaround (split the order), whether a release is close. Possibly P2 or P3, and if a large customer has such orders, priority rises while severity stays the same.

QA set severity trivial and the PO set P1. What is wrong here, and does QA need to change the severity?

Answer

Nothing is wrong: the scales are independent. Severity trivial means a minor technical impact, P1 means it must be fixed immediately for business reasons (for example, a mistake in the legal name on the home page before a presentation). Severity does not need changing, because it describes the defect, not the urgency.

In an interview. Junior: Severity is the technical impact of a defect on the system, and QA determines it. Priority is the urgency of fixing it, and the business determines it. They do not always match: a typo in the bank's name on the home page has low severity but high priority. Middle/Senior: These are two independent axes: severity characterises the defect itself and hardly changes, priority depends on context and shifts with the release calendar, the reach and the availability of a workaround. QA sets severity and proposes priority with a reason, the PO decides. The classic cases are a rare export crash (high severity, low priority) and a typo in the company name (low severity, high priority). I also ask about the risk of a data leak, because it raises severity regardless of the number of users, and separately about frequency.

What is the life cycle of a bug?

A bug life cycle is a set of statuses and allowed transitions that shows, at any moment, whose turn it is. The classic path is New, Assigned, In Progress, Fixed, Verified, Closed, with Reopened if the retest fails. Side exits are Duplicate, Rejected, Cannot reproduce and Deferred. The bug is closed by whoever verifies it, after a retest on the build that contains the fix. Status names depend on the team's workflow.

QA Fundamentals · Bugs and bug reports

The developer moved the bug to Fixed. Who closes it, and when?

A bug in the Fixed state is not closed yet. The developer says it is fixed, but whether this is really so and whether the fix reached the environment QA tests is still unknown. Who moves the ticket on at this stage, why it sometimes goes back, and how Duplicate differs from Rejected all depend on the life cycle. This lesson covers the states a bug goes through, who changes them and what to do about it in Jira, where every team configures the workflow its own way.

How it works and why. A bug life cycle is a set of statuses and the allowed transitions between them. It exists to answer three questions at any moment: who holds the ticket now, what is expected from them next and whether the problem can be considered resolved. The classic path: the bug is filed (New), assigned to a developer (Assigned), the developer works (In Progress), fixes it and hands it over (Fixed, Ready for QA), QA retests (Verified) and closes (Closed). If the retest fails, the bug goes to Reopened and back to the developer. ISTQB lists somewhat different example statuses (open, deferred, duplicate, waiting to be fixed, awaiting confirmation testing, re-opened, closed, rejected), which confirms that there is no single standard set, only a principle: every status shows whose turn it is.

The main path and the return

NewAssignedIn ProgressFixedReady for QAVerifiedReopenedClosedretest failedReopened goes back to the developer.Off the main path: Duplicate, Not a bug,Cannot reproduce, Deferred (see the table).
Figure 1. The main path of a bug from New to Closed. If the retest fails, the bug goes back to work instead of being closed.

Besides the main path there are exits for when a fix is not needed or not possible:

StatusWhenWho usually sets it
Rejected, Not a bug, Works as designedThe behaviour matches the requirement, there is no defectThe developer, after agreeing with QA or the PM
DuplicateThe same bug has already been filedWhoever triages the queue, QA or a lead
Cannot reproduceThe developer cannot reproduce it from the stepsThe developer; QA adds data or answers the question
Deferred, Won't fixThe risk is accepted: the fix is postponed or will not happenThe PO or a manager, not the developer alone

The statuses in the table are part of the same cycle: "deferred" or "cannot reproduce" does not mean the ticket is thrown away. Such statuses leave a trace to come back to when new information appears.

Example: a ticket that came back. This is the history of one bug (simplified, the status names are illustrative):

PAY-231  Transfer returns 500 for an amount with 3 decimals
New → Assigned (developer A) → In Progress
  → Ready for QA (build 2.14.4)
  → Reopened   comment: "100.555 is fixed, 1e2 gives 500, step 3"
  → In Progress → Ready for QA (build 2.14.5)
  → Verified (retest + payments regression run) → Closed

How to read it. The developer fixed the 100.555 case but did not account for an amount written in exponent form. QA did not close the ticket formally after Ready for QA but checked it, and not only the exact scenario from the report but neighbouring inputs too. In Reopened they wrote what exactly stayed wrong and at which step, so the developer does not have to reproduce the bug again. The ticket was closed only after the retest and a payments regression run, because fixing validation could affect neighbouring fields. The difference between a retest and regression is covered in a separate lesson.

The key rules of this example: the bug is closed by whoever verifies it (usually QA), not by whoever fixed it; verification is done on a build that really contains the fix (the build number in a comment makes this visible); a return to Reopened states the reason.

The comment on Reopened

Typical

Status Ready for QA → Reopened

Comment Does not work.

What exactly none

Build, data none

The developer does not know what is still broken or at which step. They will have to reproduce the bug from scratch, and the ticket goes around again.

Better

Status Ready for QA → Reopened

Comment 100.555 is fixed. The amount 1e2 still gives 500.

What exactly step 3: enter 1e2 instead of 100.555

Build, data build 2.14.4, qa_user_03

It shows what exactly is still not fixed, on which input and on which build. The developer goes straight to how the number is parsed.

Figure 2. The same transition to Reopened: the difference is whether the developer has something to act on without questions.

Limits and alternatives. The names and transitions depend on the settings of Jira (or another tracker) on the project, so the answer "it depends on the workflow" is right in an interview, but it must come with a description of the principle. In Jira the status is usually separate from Resolution: in standard projects the Resolution field takes values such as Done, Won't Do, Duplicate, Cannot Reproduce, and it is filled in when closing. Kanban teams with continuous delivery often have a shorter cycle (To Do, In Progress, In Review, Done) and build the QA check into Done or test before the merge, so there is no separate Ready for QA status. In some teams Verified means the bug was checked on the test environment, and Closed is set after the release, when the problem is confirmed in production. These are legitimate variations: what matters is that the team understands every status the same way.

Common mistakes.

  • Closing a ticket on the developer's word "fixed": without a retest on the right build the bug may remain.
  • Retesting on an environment with an old build and reopening the bug: first compare the build number with the fix.
  • Reopening a bug with an empty comment: the developer does not know what does not work and the ticket bounces between two people.
  • Closing a duplicate without a link to the main ticket: information is lost and watchers do not see where to follow.
  • Silently closing "Cannot reproduce" if the bug was seen several times: better to leave a comment with the frequency and data than to hide the problem.
  • Changing statuses arbitrarily with bulk edits: the metrics (the lifetime of a bug, the reopen rate) get numbers that cannot be trusted.

Check yourself

The developer moved a bug to Ready for QA, you retest on the environment and the bug reproduces. What do you check before setting Reopened?

Answer

Whether the environment really has the build with the fix: compare the build number in the ticket with the one on the environment and check the deploy date. Then whether your scenario exactly matches what was fixed and whether cache or session interferes. If the build is right and the bug remains, Reopened with the build number, steps and evidence. If the build is old, a comment to the developer and wait for the deploy.

Why is it better to close a "Duplicate" with a link to the original ticket than to simply delete it?

Answer

A duplicate may carry extra data: another environment, another request, other steps. The link preserves it, and the author and watchers learn where to follow the fix. Deleting loses that information and breaks the ticket history.

In an interview. Junior: A bug is created (New), assigned to a developer, fixed, returned to QA, I retest and close it. If the retest failed, I reopen it. There are also statuses Duplicate, Cannot reproduce, Not a bug and Deferred. The exact workflow depends on the Jira settings. Middle/Senior: For me the life cycle is the answer to "whose turn is it": every status has an owner. The bug is closed by whoever verifies it, after a retest on the build with the fix and regression around the changes. I accompany Reopened with a comment that has the build number and the step where the problem remains. Statuses and Resolution are configured per team, so I first find out what each means on this project, and I watch metrics such as the reopen rate: it shows how good the fixes and the reports are.

What do you do if a bug doesn't reproduce?

A bug that does not reproduce is not closed right away: it points to a hidden condition that changes between attempts. Conditions are varied one at a time: version, config, data, time, speed, network, cache, session, device. Frequency, time to the second and request ID are recorded to find the case in the logs. Risk decides the effort: a possible double charge stays open, a cosmetic issue is documented and closed.

QA Fundamentals · Bugs and bug reports

A bug was seen twice and now it does not reproduce. Close the ticket?

While checking a cart, a coupon was applied twice and the discount doubled. QA takes a screenshot and files a ticket, and the next day the developer replies "cannot reproduce" and moves it to Cannot reproduce. The bug has not gone anywhere: QA and a user who wrote to support saw it, and nobody knows when it will show up next. This lesson is about why a bug "does not reproduce", how to narrow the cause and what to do when reproduction never succeeds.

How it works and why. A defect shows up deterministically when all the conditions needed for the failure coincide: the code version, the data state, the order and speed of actions, time, environment. When a bug "floats", one of the conditions stays hidden and changes from attempt to attempt. So reproduction is not repeating the same clicks but hunting for the hidden condition. The work goes from simple to complex: first reproduce in the same conditions, then change one factor at a time and watch when the bug disappears or appears.

SuspectSignHow to check
Version and settingsNot seen on another environment or after a deployCompare the build, config, feature flags
Data and account stateThe bug is tied to a particular user or orderTake the same data, role, balance, action history
Time and time zonesOnly at night, at the start of a month, after a DST changeChange the system time or time zone, a fixed clock on the test environment
Races and speedThe bug appears with fast actions or a slow networkDouble click, Network throttling in DevTools, a repeated request
Cache and sessionDisappears in a private windowClear the cache, cookies, localStorage, compare with a clean profile
Load and dependenciesOnly in working hours, when third-party services failLogs with timestamps, monitoring, request limits
Browser, device, languageThe bug is only on mobile or with another localeA browser matrix, device emulation in DevTools

Close it or document it

Typical

"Cannot reproduce" and Close

The information disappears. Next time a user, not QA, will see the bug, and there will be no new data, because nobody saved the old one.

Better

Document it and keep it visible

Frequency, time, ID, hypotheses checked. The ticket stays open with a label or in Cannot reproduce, and a new case is added to it.

Figure 1. A non-reproducible bug does not go away. The only difference is whether data is left for the next attempt.

Example: from "seen once" to a reproducible report. The initial version: "A coupon was applied twice. Screenshot attached." The developer did not reproduce it, because their only option is to repeat the steps on a fast local environment. QA went down the table. Double application looks like a double request, and a double request happens when a button is pressed twice before the response returns. They turned on the 3G Network throttling preset in DevTools (called Slow 3G before Chrome 127), clicked "Apply" twice quickly and saw two POSTs with the response 200. Result: 7 of 10 attempts. Now the report looks like this:

Title: [Cart] A coupon is applied twice (intermittent, ~3/10)
Environment: staging, build 2.14.4, Chrome 129, Windows 11
Observed: 3 of 10 attempts (QA), 1 support request
Time of the case: 18 Nov, 14:32:10-14:32:14 (UTC+2), qa_user_03
Request ID: req-7f3a (example), POST /cart/coupon → 200 twice
Checked and not confirmed:
  - another browser (Firefox): not reproduced in 10 attempts
  - a clean profile: not reproduced
Confirmed: Network → 3G, double click: 7 of 10
Hypothesis (not a fact): the button is not disabled until the response
Ask for the developer: server logs around 14:32 for req-7f3a

It has four things that were missing. The frequency (3 of 10 at first, 7 of 10 with throttling) shows the bug is conditional. The exact time and the request ID let the developer find the record in server logs without reproducing the bug. The list of what was checked and not confirmed saves several rounds of questions. And the hypothesis is marked as a hypothesis, so it does not sound like a verdict.

Limits and alternatives. The effort spent searching must be limited. For a small cosmetic bug it is right to spend half an hour and document it, while for a possible double charge of money the search goes on until the cause is found or data for analysis appears. Seriousness and risk decide how much time is justified. If the bug comes from production, it is often data rather than steps that help: logs, request tracing, tools such as Sentry or session replay. So it can be right to ask the developers to add logging at the suspicious place so that the next case records itself. Logs and recordings rotate, so collect them at once, before they are erased. During exploratory testing it is useful to record the screen so as not to reconstruct actions from memory.

Common mistakes.

  • Closing the ticket yourself as "cannot reproduce" after two attempts: a bug seen by several people does not disappear through silence.
  • Not writing down the time and the user at once: a day later the logs cannot be found, while a time accurate to the second and a request ID settle the matter.
  • Changing several conditions at once: when the bug disappears, it is unclear which factor was the cause. Change one at a time.
  • Reproducing only on your own machine and a fast environment: you need the same data, network and device as the person who saw the bug.
  • Writing a hypothesis in the ticket as a fact: if it is wrong, the developer goes in the wrong direction.

Check yourself

A double-charge bug was seen in production twice in a month, and it does not reproduce on staging. What do you do besides trying to reproduce?

Answer

I collect data from production: the time and transaction IDs of the two cases, server logs, network requests, user data (per the privacy policy). I look for what they share: device, network speed, a double request. I propose adding logging and monitoring in the payment spot, and I keep the ticket open and propose a high priority to the PO because money is at risk.

You are checking a bug that disappears in a private browser window. What cause does this suggest and what do you check next?

Answer

A private window has a clean cache, cookies and storage, so the cause is most likely browser state: a stale cache, an old token or an old setting in localStorage. Next I clear the cache, cookies and localStorage one at a time to see which cures the bug, and then clarify whether it is a defect of the application (it does not handle the state) or only an artefact of my profile.

In an interview. Junior: First I repeat in the same conditions: environment, build, user, data. I collect logs, network and time, look for special conditions (a race, a cache, a time zone) and ask the developer to look at the server logs. If it does not reproduce, I document what I found and the frequency instead of just closing it. Middle/Senior: I take non-reproducibility to mean a hidden factor, so I change conditions one at a time and watch when the bug disappears: cache, data, time, network speed, a double request. I record the time to the second, the request ID and the user so the developer can find the case in the logs without reproducing it. The time spent depends on the risk: for a possible double charge the ticket stays open and asks for extra logging, for a cosmetic bug documentation is enough.

The developer says "it's not a bug". What do you do?

First compare the behaviour with the source of the expected result (the test oracle): a requirement, mockup, API specification or standard. If the requirement is clear, the argument ends with the comparison. If it is silent or ambiguous, the PO or PM decides and QA prepares options. The decision is recorded in the ticket and the requirement. “By design” is not “good for the user”: such cases are filed as improvements.

QA Fundamentals · Bugs and bug reports

The developer writes "works as designed", but you are sure it is a bug. What next?

A user changes a password, and their session on another device stays alive. QA files a bug, the developer answers "it is not a bug, it is by design", QA insists, and for three more days the discussion goes round in circles, comment after comment. Nobody gets any further and the ticket hangs. This lesson is about why such arguments arise, how to get out of them with facts instead of "that is how I see it", and who has the final word.

How it works and why. The "bug or not a bug" argument is really an argument about what counts as correct. The expected behaviour does not live in the head of QA or the developer: it has a source. ISTQB calls it a test oracle, a source to determine the expected result. Such a source can be a requirement or a user story with acceptance criteria, a mockup, an API specification, a standard (HTTP, WCAG), the behaviour of a previous version, similar screens of the product, a decision made by the PO. When the source exists and is unambiguous, the talk is short: the fact is compared with it. When it does not, everyone considers correct what they themselves expect, and the talk never ends. That is why the first step is always checking the source, not proving yourself right.

Three situations after "it is not a bug"

"Not a bug": check the requirementRequirement clear,bug is realShow requirementand evidenceRequirement clear,I was wrongClose as Not a bug,say thanksRequirement silentor ambiguousAsk the PM/PO,record the decision
Figure 1. The requirement decides everything. Sometimes QA is right, sometimes the developer, and sometimes there is no answer, and then the decision belongs to the product.

Each branch has its own action. If the requirement is clear and the bug is real, show it with the fact and evidence: a quote, a screenshot, a request and response. If the requirement is clear and the developer is right (it happens that QA read an old version or understood it inexactly), the ticket is closed as Not a bug, and QA updates their knowledge and test cases. That is a normal part of the work, not a defeat. If the requirement is silent or allows two readings, neither side has the right to decide alone: the question is addressed to the PM or the PO, who are responsible for the expected behaviour of the product. QA lays out options and consequences, not "who is right".

Example: from an argument to a decision.

Before:
  Dev: Not a bug, that is how it works.
  QA:  No, it is a bug.
  (six more comments)

After (the QA comment):
  Requirement: PAY-142, item 3.1 "the amount is accurate to the cent".
  Fact: 100.555 → POST /api/transfers → 500, screenshot and HAR attached.
  Unclear: item 3.2 is silent on whether to round or reject the input.
  Options: (A) reject with a hint, (B) round to 100.56.
  @PO: which option? Either way a 500 is unacceptable.
Decision (PO, 20 Nov): option A. Requirement item 3.2 is extended,
  test case TC-88 is updated.

How to read it. In "Before" both sides assert, but nobody shows a source, so the argument has no end. In "After" QA starts with the requirement and quotes it, gives the fact with evidence, singles out what is unclear in the requirement and offers options. After that the ticket has an addressee and a question with answer options. The PO's answer is recorded in the ticket, the requirement is extended, the test case is updated. A month later, when nobody remembers the argument, the answer is in the ticket history. Look separately at the last line of QA: even if the PO picks option B, a 500 in response to valid input remains a problem. A decision about the expected behaviour does not cancel defects outside it.

Limits and alternatives. "Works as designed" does not mean "good for the user". Verification answers "is what was designed built", validation answers "is it what users need" (the difference is in the lesson on verification and validation). If the behaviour matches the requirement but harms the user, it is no longer a bug but a change proposal: file it as a separate ticket of the improvement type with a justification, not as a bug. When there are no requirements at all (a startup, a quick prototype), rely on reasonable user expectations, consistency with other screens and experience of similar products, and escalate the question anyway. There are exceptions: if the "not a bug" concerns security or data loss, QA does not leave the ticket without a decision but escalates it. To make such arguments rarer, hold a requirements discussion before development (three amigos: PO, developer and QA) and require stories to meet the Definition of Ready: clear acceptance criteria remove most questions in advance.

Common mistakes.

  • Arguing without a source: "I think" against "I think" has no winner and costs days.
  • Treating the talk as a contest: the aim is not to win the argument but to find out what counts as correct.
  • Deciding for the PO: QA or the developer decided that "it is better this way" and changed the behaviour without agreement.
  • Not recording the decision in the ticket: a month later someone else files the same bug again.
  • Silently accepting "not a bug" although the defect clearly harms: the risk question should have been raised and settled with the PO.
  • Not updating the requirement and the test case after the decision: the mismatch will come back.

Check yourself

The requirement says "the user must receive a confirmation email". The email arrives after 25 minutes. The developer: "the email arrives, not a bug". What do you do?

Answer

The requirement gives no time, so this is an ambiguity. I collect facts (send and receive times, mail service logs), and propose that the PO clarify an acceptable delay (for example, within a minute) and give options. Until there is a decision, the ticket stays with a question to the PO and is not closed. After the answer the requirement is extended and a check is added.

Why does QA first check the requirement in response to "it is not a bug" instead of giving more evidence of being right?

Answer

Because without a source of the expected behaviour evidence proves nothing: a screenshot shows what happens, not what should happen. Checking may reveal that I was wrong (then I save everyone time) or that the requirement is incomplete (then it is a question for the PO). Either way the talk moves from opinions to a document.

In an interview. Junior: First I check myself against the requirement and the mockup. If the requirement is clear, I show it and the evidence. If it is ambiguous, the question goes to the PM, because the product defines the expected behaviour, not me and the developer. I record the decision in the ticket. Middle/Senior: I see this as a question about the test oracle: is there a source of the expected behaviour. If the requirement is clear, the argument ends with a comparison. If it is silent, I do not fight but prepare options with consequences for the PO, record the decision, and then update the requirement and the test case. "Works as designed" does not yet mean "good for the user", so such cases are handled as an improvement. To have fewer arguments, I support requirements discussion before development and clear acceptance criteria in the Definition of Ready.

The bug report and steps to reproduce

Steps to reproduce are an algorithm for someone who did not see the failure: concrete, atomic, ordered, ending in an observable result. The set must be minimal: extra steps are removed one at a time. Preconditions are kept apart from the steps, and the steps are run from a clean state before sending. Tokens and personal data never go into a ticket.

QA Fundamentals · Bugs and bug reports

A developer reproduces the bug in nine steps, but the minimum is three. How to shorten the path?

The ticket has nine steps: open the site, log in, open the profile, then the history, then the transfer, enter an amount… The developer goes through them and does not see the bug, because three of the nine steps name no values, and two more change nothing. Steps to reproduce are an algorithm for another person: what must be done to see the failure. This lesson is about the properties that make a good algorithm and how to cut it down to the minimum.

How it works and why. The steps are read by a person who has not seen the bug and does not know what you consider obvious. So every step must be concrete (which value, which button), atomic (one action), sequential (the order matters) and end with an observable result. The steps must be minimal: every extra step is a chance to make a mistake and extra time, and also a false lead ("probably the problem is in the profile"). A minimal set shows exactly what is needed for the bug to appear, and so where to look for the cause.

To avoid mixing things up, separate what goes where:

WhatWhereExample
The state of the system before the startPreconditionsUser qa_user_03, balance 5,000 UAH
Where and on what it is runEnvironmentstaging, build 2.14.3, Chrome 129
User actionsStepsOpen "Transfer to card"; enter 100.555
What was seenActual result500, the banner "Something went wrong"
What should have happenedExpected resultA hint about 2 decimal places

A typical mix-up: preconditions written as steps ("1. Create a user, 2. Top up the balance…"), so four of the nine steps turn out to be preparation, not reproduction.

Steps before and after minimisation

Typical

9 steps without values

"Enter an amount", "click the button". The developer has to guess the input and does not know which steps matter, so reproduces slowly or wrongly.

Better

3 steps with values

Open the transfer, enter 100.555, click "Continue". The condition of the bug can be read from the steps themselves.

Figure 1. The same bug before and after minimisation: fewer steps and every value named.

Example: from nine steps to three. The initial version:

1. Open the site
2. Log in
3. Go to the profile
4. Go to the history
5. Click "Transfer"
6. Enter an amount
7. Enter a card
8. Click the button
9. See the error

There is no amount and no card here, and "the button" is not named. Steps 3 and 4 add nothing: the bug depends on neither the profile nor the history, and step 5 is replaced by opening the transfer form directly. Minimisation works like this: remove one step or a group of steps and repeat the scenario. If the bug stays, the step is extra. If it disappears, the step is needed. For data it is the same: gradually simplify values until the bug disappears, and record the last value that still causes it. The result:

Preconditions: user qa_user_03, balance 5,000.00 UAH
1. Open "Transfer to card"
2. Enter the amount 100.555 and the test card 4111 1111 1111 1111
3. Click "Continue"
Actual: 500, the banner "Something went wrong"
Expected: the hint "No more than 2 decimal places"

For API bugs the best steps are the request itself: it can be run in one line, with no UI at all.

curl -i -X POST https://staging.example.test/api/transfers \
  -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <token of qa_user_03>' \
  -d '{"cardNumber":"4111111111111111","amount":100.555}'

The token in a ticket is replaced with a placeholder and the real one is never pasted: dozens of people see a ticket, and a secret in it leaks.

Check before sending. It is worth running the report by your own steps from a clean state (a new browser profile or a new test order) and making sure the bug really reproduces. If the steps reproduce the bug only in your already "dirty" state, this is where it shows. For complex cases record a screen video: it shows that no steps were skipped. Another check: read the steps with the eyes of a person who does not know the product. Is it clear where the "Continue" button is? Is the input data named?

Limits and alternatives. Steps are not always linear: intermittent defects that depend on time and load have no perfect steps. Then write the conditions, the frequency and the evidence instead of inventing a sequence (there is a separate lesson on a non-reproducible bug). For visual defects, besides steps you need the window size, zoom, theme and language. Some teams write the scenario in Given/When/Then format: "Given: a user with a balance of 5,000. When: they enter 100.555. Then: …"; it is the same idea, but with a clear split into context, action and result. Test data: never paste real personal and payment data into a ticket, only test cards and accounts.

Common mistakes.

  • Steps without values: "enter an amount" does not let you reproduce a bug that depends on a specific number.
  • Extra steps on the way to the scenario: the developer spends time and wrongly looks for a link.
  • Preparation among the steps: preconditions mix with actions, and it is unclear what exactly reproduces the failure.
  • Steps from memory: after several repeats the author forgets a detail, and without a check nobody notices.
  • One ticket for several bugs with one set of steps: each needs its own report, otherwise the ticket status says nothing.
  • Not checking for a duplicate before creating: the same bug is filed for the third time.

Check yourself

A ticket has 7 steps. How do you shorten them without losing reproducibility?

Answer

Remove steps one at a time and repeat the scenario. If the bug stays, the step is extra and is deleted. If it disappears, the step is needed. The same for data: simplify values until the bug disappears and write down the last value that still causes it. Preparation goes into the preconditions.

Why is it better to give a curl request in a ticket with an API bug than a screenshot of the response?

Answer

A request can be run immediately and the failure seen without a UI, while a screenshot only shows the consequence. The request shows the method, address, headers and body at once, so the developer sees which value causes the error. The token is replaced with a placeholder.

In an interview. Junior: A report has a title, environment, preconditions, numbered steps, actual and expected result, severity, priority and evidence. The steps must be minimal and sufficient, with concrete data. One bug per report, and I check for a duplicate before creating. Middle/Senior: Steps are an algorithm for a person who did not see the failure, so each step is concrete and atomic, preconditions are separate, and the end of the steps is an observable result. I minimise them by removing one step at a time and simplifying the data, and I run them from a clean state before sending. For an API I add curl, for intermittent bugs I write the conditions, the frequency and logs with the time instead of perfect steps. Real personal data and tokens never get into a ticket.

Severity and priority in triage

At triage QA sets severity from the defect's impact, while the PO or a manager assigns priority from audience, deadline and fix cost. Not everything gets P1: priority is tied to response times (SLA) agreed by the team. If QA disagrees with a priority, QA lays out the consequences as facts and records the disagreement in the ticket.

QA Fundamentals · Bugs and bug reports

Five bugs at triage and all are P1. How to bring order without upsetting the team?

Before a release the team goes through the bug queue (triage). Five tickets, and all have priority P1, because each author thinks their own bug is the most important. The developers do not know where to start, the PM cannot decide what to defer, and QA feels guilty because QA set the ratings. This lesson is about triage in practice: the criteria for keeping severity and priority apart, the response times tied to priority and what to do when the PO disagrees with the QA rating. What severity and priority are and how they differ is covered in the lesson "How does severity differ from priority?".

How it works and why. At triage QA sets severity from the impact of the defect, while the PO or a manager assigns priority from business needs. They do not always match, and that is normal: classic examples of such a divergence are in the lesson "How does severity differ from priority?". So that the ratings do not depend on mood, each has its own set of questions:

What decides severity and what decides priority

Severity: the impact of the defect

What breaks: a function, data, money, security. Whether it blocks other scenarios. Whether there is a workaround. Whether the data can be restored. QA answers.

Priority: the order of fixing

How many users and how much money are affected. The release deadline. Contract and regulatory requirements. The cost and risk of the fix. Whether it blocks other work. The PO answers.

Figure 1. Two different groups of questions: severity is about the defect, priority is about the context.

Example: triage before a release. Below is the same queue of five bugs, with severity and priority kept apart, and a decision that follows from both:

BugSeverity and priorityDecision
After a password change the session on another device stays activeCritical (a security problem), P1 (a regulatory requirement, a small fix)In this release
A PDF report does not open for orders with Cyrillic in the title (5%)Major (a function breaks for part of the data), P2 (customers complain)In this release if we make it
The partner's logo is blurred on the home pageMinor, P2 (a partner demo next week)A quick fix before the demo
The "Export" button is inactive in Safari 15 (2% of users)Major, P3 (a small audience, there is a workaround)Next sprint
An English error text contains a leftover Ukrainian wordTrivial, P4To the backlog

Now the queue has an order, and it can be explained to every author. Four things are worth noticing. The criteria answer "why exactly so", not "it seems to me". The first bug has the highest pair of ratings, because security problems can rarely be deferred and the fix is small. The third bug has low severity but priority P2: a classic divergence, explained by an outside factor (the demo). And the priority of the fourth ticket can change: if there are more reports, it will rise.

Many teams tie response times (SLA) to priority. This is an example, the actual numbers are set by the team:

PriorityResponseFix
P1within 1 hourin this release or a hotfix
P2within 1 working dayin this release if we make it
P3at sprint planningin the next sprint
P4as neededwhen we get to it

Limits and alternatives. The levels of severity (for example, from blocker to trivial) and priority (high, medium, low or P1–P4) and their criteria depend on the team, so on a project it is worth agreeing on them once and writing them down. Two scales make sense when the team actually works with them. Small teams often keep one scale (most often priority), and then the impact of the defect is described in text. Sometimes a third dimension (frequency) is added, or severity and likelihood are combined into a risk matrix: this is done in risk-based testing. In standard Jira the field is called Priority, and severity has to be added as a custom field. If severity was not discussed at the start of the project, testers set it differently and the ratings stop being comparable. Priority is not fixed for ever: as a release approaches, with customer complaints or plan changes it is recalculated, while severity is changed only when something new is learned about the defect itself. In the end QA stays in the role of an adviser: proposes a rating and explains it, but the final word on priority belongs to the business. If QA disagrees with a decision, the disagreement is recorded in the ticket, and the numbers are not changed quietly.

Common mistakes.

  • Setting P1 on everything: when everything is urgent, nothing is, and the queue loses its meaning.
  • Mixing the scales: "severity high, because I want it fixed faster". Speed is priority.
  • Setting severity by the number of users: that is the impact on the business and part of priority, while severity depends on what exactly breaks.
  • Not changing priority after the context changes: a bug that was P3 can become P1 before a release.
  • Not agreeing on levels and criteria at the start of the project: the ratings of different people do not match.

Check yourself

An application crashes if you paste 10,000 characters into the "Notes" field, while normal notes are up to 300. What severity and priority, and what decides?

Answer

Severity is high (a crash), but it touches extreme input and the workaround is obvious. Priority depends on the business: how many users could paste such a volume (copying from a document), whether a leak or loss of data is possible. If it is rare and without consequences, P3, and the fix goes in the planned order.

QA believes a bug deserves P1, and the PO assigns P3. What does QA do?

Answer

Lays out the arguments as facts: whom it affects, what the consequences are, whether there is a workaround, what about the deadline. If the PO does not change the decision, QA records the disagreement in the ticket and may raise the question again if new data appear (complaints, a rise in frequency). Replacing the priority on your own is not an option.

In an interview. Junior: At triage QA sets severity from the impact of the defect, while the PO or a manager decides priority from the business urgency. You must not set P1 on everything: when everything is urgent, the queue loses its meaning. Middle/Senior: I bring criteria and facts to triage: what breaks, whether there is a workaround, whether data can be lost, how many users are affected, what the deadline is. I tie response times (SLA) agreed by the team to priority and recalculate priority when the context changes. When I disagree with the PO's decision, I lay out the consequences as facts, record the disagreement in the ticket and bring new data, and I do not change the numbers quietly.

Bug triage: who fixes what first

Bug triage is a short meeting of QA, a developer and the product owner where the bug queue becomes decisions: what is fixed, by whom and when. For each bug they decide whether it is a real defect or a duplicate, its severity and priority, the owner, the release and whether information is enough. Decisions rest on impact, cost and timing, and the reason is recorded in the ticket.

QA Fundamentals · Bugs and bug reports

The queue holds forty new bugs and only five can be fixed. Who chooses, and by what rules?

After two days of testing the tracker holds forty new tickets. Some are critical, some cosmetic, three duplicate each other, and two nobody could reproduce. If developers pick them in random order, a critical bug may wait a week while a cosmetic one takes a day. This lesson is about triage: a short meeting where the bug queue turns into a decision of «what, who and when».

How it works and why. Triage (from the French for «sorting») exists because no single role sees the whole picture. QA knows how to reproduce a bug and how much it hurts the user. A developer knows what the fix costs and what it risks. The product owner (PO) knows what matters for the business this week. While each decides alone, severity and priority drift apart. At the meeting these three views are put together and several decisions are made for each bug: is it a real defect (otherwise Rejected or Works as designed), is it not a duplicate, what severity and priority, who fixes it, in which release or sprint (or Deferred) and is there enough information to reproduce it.

What happens at triage

Input: new and disputed bugsa queue with no decisionMeeting: reproduction, impact, costQA, developer, PO at the tableOutput: status, severity, priorityowner and release recorded in the ticket
Figure 1. The bug is not «fixed at the meeting»: the meeting only makes the decision and records it in the ticket.

Example: four bugs in fifteen minutes. The meeting is time-boxed, roughly 15–30 minutes, and hard discussions are taken out separately.

BugDecisionWhy
Visa payment returns 500Hotfix now, Critical / P1money, no workaround
Icon shifted 2 px in an old SafariDeferred, Trivial / P4tiny impact, cost exceeds benefit
«Does not work», one report with no stepsInformation neededQA adds steps, log, environment
Export failure, BUG-17 already existsDuplicateclose with a link to BUG-17

Note what the table does not contain: the decision does not depend on who asks loudest. It rests on impact, cost and deadlines, and the reason is recorded so that a month later nobody asks «why did we not fix this».

Limits and alternatives. Triage is not always a separate meeting. A small team with a dozen bugs a week gets by with five minutes at the end of the daily or a daily review of new tickets. In a Kanban team triage is often run by a person on duty who reviews the incoming tickets every day. Triage does not replace refinement: refinement clarifies requirements of tasks, triage deals with defects that have already been found. It must also not turn into an investigation: if reproduction takes half an hour, the bug goes back with a question instead of being decided blindly. Status and field names depend on the tracker, what matters is that the decision is visible in the ticket.

Common mistakes.

  • Setting priority without the PO: developers and QA do not know what is critical for the business, so priorities diverge from real ones.
  • Discussing every bug two minutes longer: the meeting drags and the most important ones are reviewed last. Take the release blockers first.
  • Not recording the decision in the ticket: a week later nobody remembers why the bug was deferred.
  • Closing «cannot reproduce» without trying to ask the author: some of these bugs are real but depend on data or environment.
  • Never returning to Deferred: deferred bugs pile up and quietly make the product worse.

Check yourself

At triage a developer says: «The bug is cosmetic, we will not fix it», while QA knows that because of it a user cannot find the «Pay» button on small screens. What does QA do?

Answer

Shows the impact instead of arguing about a word: reproduction at 360 px, how many users have such screens (from analytics), what exactly is blocked. That is a severity criterion: the function is unavailable with no workaround. The decision made on that basis is recorded in the ticket.

The queue holds three tickets with the same symptoms from different authors. What to do at triage and why?

Answer

Keep one main ticket, close the others as Duplicate with a link, and add the new facts (steps, environments) to the main one. This way the developer sees the scale of the problem (the number of reports) and the team does not fix the same thing three times.

In an interview. Junior: Triage is a meeting where the team goes through new bugs and decides what to fix, in what order and who does it. QA brings the reproduction and the impact assessment. Middle/Senior: For each bug we decide validity, duplicate, severity and priority, owner and release, and record the reason in the ticket. QA proposes severity from the impact, the PO agrees priority. The meeting is time-boxed, release blockers go first, and unclear bugs go back for information instead of guessing. I watch the queue size and the age of Deferred items so that what was postponed does not sink.