Skip to content
99tests Blog

Steps to Reproduce a Bug Example: A Worked Guide

Learn how to write steps to reproduce a bug example that developers can act on, with a worked UPI case and the device details Indian teams need.

Steps to Reproduce a Bug Example: A Worked Guide
In this article
  1. Fields Every Reproducible Bug Report Needs
  2. Why each field prevents back-and-forth
  3. Recording the Device and Network Indian Users Run
  4. Why Indian handset and carrier conditions change outcomes
  5. Logging a device and network matrix
  6. Writing Each Step So a Stranger Can Repeat It
  7. Handling Hindi and regional-language screens
  8. Worked Example of a UPI Payment Failure
  9. What the example leaves out and how to adapt it
  10. Confirming the Bug Repeats and Checking AI-Generated Steps
  11. Running the seven-step repeat check
  12. Checking AI-generated expectations against product requirements
  13. Separating execution from review
  14. Run Your Next Bug Checks on Real Phones
  15. How a test run works
  16. Fixed-price plans and re-runs

A ticket lands in your sprint backlog on Tuesday morning with two lines: "UPI payment fails after entering PIN. Please fix before Friday." An engineer opens the staging build on a flagship phone connected to office Wi-Fi, runs a quick ₹500 test, watches the confirmation screen load, and closes the ticket as "cannot reproduce." Two days after release, support tickets climb because users on budget Android handsets over mobile data keep hitting a blank screen.

That cycle wastes days of engineering time, and it usually comes down to how the ticket was written. Most bug reports treat the steps as a list of taps while leaving out the phone, network, and language that triggered the failure. A useful steps to reproduce a bug example puts those real-world conditions inside the reproduction path itself, and checks whether an AI-generated expected result is even valid before anyone opens a defect.

Getting this right matters more when your product serves Indian users across dozens of handset tiers and telecom circles. According to a 2025 Indian government telecom survey published by PIB, about 85.5% of Indian households have at least one smartphone, and 96.8% of rural residents aged 15 to 29 used mobile phones recently. When your audience spans rural 4G towers, low-RAM phones, and regional language settings, a generic three-line bug note won't help a developer trigger what your user saw.

Fields Every Reproducible Bug Report Needs

Start every defect ticket with a one-line title that names both the action and the failure, such as "Payment fails after UPI PIN on Android." A reader scanning forty backlog items shouldn't have to open the ticket to learn which flow broke and on which platform.

Once the title is clear, fill out the core fields before you write a single narrative paragraph. Every field below belongs in the ticket, drawn from a single worked UPI payment failure.

FieldWhat to recordExample entry
TitleAction and failure in one linePayment fails after UPI PIN on Android
Build and environmentApp version, build number, OS version, device modelv3.4.2, build 412, Android 14, budget Android phone (4 GB RAM)
Account and data stateTest account used, wallet balance, cart contentsTest wallet account, cart holds ₹500
PreconditionsPermissions, app language, network type and carrierLocation on, Hindi app language, Jio 4G
StepsNumbered, one action per line1. Open app 2. Sign in 3. Add ₹500 4. Select UPI 5. Tap Pay once
Expected resultWhat should happen, with a time limitConfirmation screen within 10 seconds
Actual resultWhat happened, with exact on-screen textReturns to blank Payment screen, then app closes
EvidenceScreen recording, screenshot, timestamp, logsScreen recording, IST timestamp, device logs

Why each field prevents back-and-forth

Each row in that table exists to block a specific follow-up question from engineering. Leave one blank and the developer has to guess, or send the ticket straight back to QA.

  • Build and environment: Record the exact app version, build number, OS version, and handset model, such as a budget Android phone with 4 GB RAM running Android 14 on build 412. Without the build number, nobody can confirm whether a new release fixed the defect.
  • Account and data state: State which test account you signed into, what the wallet held, and whether the cart started empty or pre-filled. Bugs tied to partial wallet balances or saved payment methods never appear on a fresh admin login.
  • Preconditions: List active permissions, the selected app language, and whether the handset ran on Wi-Fi or on a Jio, Airtel, or Vi SIM. Skipping the network type hides defects that only trigger over cellular routing.
  • Numbered steps: Write one concrete action per line so there's no ambiguity about tap order. If your team needs a refresher on turning flows into clean scripts, our guide on how to write test cases lays out the structure.
  • Expected and actual results: Put a time limit on the expected outcome and copy the exact on-screen wording for the actual result. Paraphrased errors can't be searched in server logs or source code.
  • Evidence: Attach a screen recording, a screenshot, device logs, and a timestamp in IST so engineers can match the phone crash against backend traces. For a fuller breakdown of ticket anatomy, see what makes a good bug report.

The stranger test: Read your draft and ask whether a developer who has never seen this app could trigger the exact same failure from the ticket alone. If they would have to message you for one missing detail, add that detail now.

Recording the Device and Network Indian Users Run

A UPI approval that dies only on a 4 GB Android phone, on Jio 4G, with the app in Hindi, will look like a clean pass if you retest it on office Wi-Fi in English. The handset, the carrier, and the language belong in the steps. They are often the trigger.

A digital illustration showing Indian users with devices and network details for recording bug reproduction steps.

Write that state into the ticket before step one. Capture the device model and RAM, the exact Android or iOS version, the browser name and version, screen size and density, and the app build. Add free storage, the active app language, whether battery saver is on, and the current battery level. Log the connection the same way you log a tap: Wi-Fi or cellular data, the carrier (Jio, Airtel, or Vi), and the signal strength you saw.

Why Indian handset and carrier conditions change outcomes

A budget Android phone with 4 GB of RAM does not behave like a developer handset with 12 GB. Under memory pressure the system can kill the app the moment the user leaves it to approve a UPI request in another app. OEM battery savers on many Chinese and budget Android phones suspend the background threads payment callbacks depend on. The same build can pass on a plugged-in lab phone and fail at 15% battery with saver enabled.

Office Wi-Fi hides a second set of failures. Captive portals, a fluctuating 4G signal, and a sudden handoff between cellular data and Wi-Fi can stall a token refresh or drop a payment redirect. Language changes layout, not just the words. Hindi and regional scripts often need more horizontal space than English labels, so a primary button slides off screen or an input check rejects a valid value. Schedule those passes on the carriers and scripts your users run. The app testing checklist and the app network testing checklist for India list the device, carrier, and language checks worth running before release.

Platform share shows where exposure is widest. It does not justify testing one stack. A mobile browser usage compilation by SQ Magazine puts Android and Chrome as the large majority of India's mobile operating-system and mobile-browser use, with iOS, Safari, and Samsung Internet as much smaller shares. Those smaller shares still cover millions of people because the connected base is huge, so a Safari-only or Samsung Internet-only failure is still a release defect.

Logging a device and network matrix

When a defect looks environment-sensitive, build a small matrix of every target you ran, whether the failure appeared, and the repeat rate (for example, 2 of 3 runs). Each row is a reproduction path.

DeviceOSBrowserNetworkCarrierLanguageStatus and rate
Budget Android, 4 GB RAMAndroid 14Chrome 1314GJioHindiReproduced (3 of 3)
Budget Android, 4 GB RAMAndroid 14Chrome 131Wi-FiNot applicableEnglishNot reproduced (0 of 3)
Budget Android, 4 GB RAMAndroid 13Chrome 1304GAirtelEnglishIntermittent (2 of 3)
iPhone 13iOS 18Safari 184GViEnglishNot reproduced (0 of 3)

That table tells an engineer where to look. The bug repeats on every Jio 4G run with Hindi, shows up on 2 of 3 Airtel 4G runs, and does not appear on office Wi-Fi or on the iPhone. I would not close it on a Wi-Fi retest. Rerun the failing rows on the same carrier, signal, and language.

Writing Each Step So a Stranger Can Repeat It

A step is reproducible only when a tester who has never opened the app can execute it exactly and land on the same result. "Log in and pay" fails that test, because everything that matters, the account, the network, the amount, the timing, is left to the reader's imagination. Six habits close that gap:

  • Write one action per line. Combining two clicks into one step hides which action triggered the fault.
  • Name the screen and the exact control. Write "On the Checkout screen, tap Pay" instead of "submit the order."
  • Supply exact input values. Put "₹500" or the specific test VPA rather than "enter an amount."
  • State timing whenever it matters. Waiting 15 seconds after an action can expose a timeout that rapid tapping masks.
  • Write the environment into the step when it changes behaviour. If the failure only appears on one carrier or in one language, that condition is part of the action: "On Jio 4G, with the app language set to Hindi, tap Pay." Assuming office Wi-Fi sends the engineer chasing a bug they cannot see.
  • Describe observations, not causes. Write "the spinner runs for 40 seconds," never "the payment server is down."

For a walkthrough of how structured reproduction notes fit into a wider QA workflow, watch the short clip below.

Weak steps almost always leave out one of three things: the screen name, the exact input, or the wait condition. Compare how a rushed ticket reads against a repeatable rewrite on the same OTP login flow.

Weak stepReproducible step
Log inOn the Login screen, enter the test phone number from the test data sheet and tap Send OTP
Wait for the codeOn Airtel 4G with SMS permission granted, wait up to 30 seconds for the OTP message
Enter OTPType the 6-digit code exactly as received, then tap Verify once
App hangsAfter tapping Verify, the spinner runs for 40 seconds and the Home screen never loads

Read the right-hand column aloud. Every line tells the next tester what to touch, what to type, how long to wait, and what they should see. Nothing depends on memory or context sitting in the original tester's head.

Handling Hindi and regional-language screens

If the defect occurred while the app was set to Hindi, Tamil, or another regional language, don't translate the button labels into English. Quote the exact text displayed on screen in the original script, then put the English translation in brackets right next to it, such as "Tap 'भुगतान करें' (Pay)." Engineers reading the code can match the string key immediately, and another tester can follow the exact button even if they don't read the script fluently.

Some crashes resist even well-written steps because they only surface on particular build or runtime states. Written reproduction steps and environment diagnosis solve different halves of that problem, and the Capgo app troubleshooting playbook covers the diagnostic side of pinning down mobile build state. Your job in the ticket is the other half: making every action, input, and condition explicit enough that the failure can be replayed on demand.

A list of actions that a tester who has never opened the app cannot follow is a summary, not a reproduction.

If you want a ready-made layout to keep your whole team writing in the same style, use our test case format and free template. Standardising the layout takes ten minutes up front and removes hours of Slack clarification during release week.

Worked Example of a UPI Payment Failure

Seeing every rule applied to one complete defect makes the structure easier to copy. In this scenario, an Android shopper pays with UPI, approves the collect request in their UPI app, and loses the payment screen when returning to the merchant app.

A four-step guide infographic for confirming software bugs and verifying AI-generated reproduction steps for quality assurance.

Here is how the complete reproduction block looks inside the bug tracker, with a one-sentence explanation showing why each line earns its place.

  1. Reset the app data and install build 412 from the APK link. Starting from wiped storage clears cached tokens and half-finished carts from earlier sessions.
  2. Sign in with the test wallet account, with the OTP sent to the test SIM on Jio 4G. This locks the login session to a known account state and a real cellular OTP path.
  3. Add ₹500 to the cart on the Checkout screen. Fixing the exact rupee amount ensures any minimum-value rule or fee tier stays identical across runs.
  4. Select UPI and enter the test VPA. Naming both the payment method and the test virtual address removes ambiguity between intent flows and VPA entry.
  5. Tap Pay once and approve the request in the UPI app. Pressing Pay a single time prevents accidental duplicate payment requests while triggering the app switch.
  6. Wait 15 seconds without touching the screen. Holding off on extra taps exposes callback timeouts and return-intent crashes that impatient tapping hides.

Expected result: The confirmation screen appears within 10 seconds of returning from the UPI app, showing the ₹500 order ID.

Actual result: The merchant app returns to a blank Payment screen with no text or spinner, then closes back to the Android home screen after roughly 5 seconds.

Evidence: Attach the full screen recording showing the app switch and crash, the exact timestamp in IST (for example, 14:22:08 IST), and the captured device logs.

What the example leaves out and how to adapt it

Notice what isn't in those six lines. There's no speculation about whether the bank timed out, no guess about the payment gateway's webhook delay, and no narrative about what the tester was doing twenty minutes earlier. Backend teams can pull the bank response from the IST timestamp and account ID; putting theories inside the steps only distracts from the repeatable path.

You can lift this exact six-part skeleton and apply it to any high-risk Indian mobile flow. For a fuller look at payment edge cases, review our guide on how to test a UPI payment flow alongside our UPI payment test cases. To adapt the same format to an OTP login flow, swap steps three through five for entering the test mobile number, recording the carrier SMS arrival time, and tapping Verify once before waiting 15 seconds. For a standard card or wallet checkout, keep the clean install, exact cart value, single tap, and fixed wait window intact.

Confirming the Bug Repeats and Checking AI-Generated Steps

Filing a ticket after a single glitch clogs your backlog with phantom defects. Before you hit Submit, verify that the bug repeats under controlled conditions, and if an AI coding tool wrote the test case, verify that its expected result matches your product specification.

A bug verification checklist infographic outlining steps to confirm and test reported issues for quality assurance.

Device fragmentation in India makes single-run testing unreliable. According to the 2024 Device Coverage Report from pCloudy, testing only the top 20 devices covers less than one-third of India's users, while more than 75% of Indian traffic comes from phones. Handsets in circulation span multiple Samsung, Google, and budget Android models across different OS versions, so a defect that passes once on Wi-Fi can still fail consistently over cellular DNS, packet loss, or carrier-grade routing.

Running the seven-step repeat check

Run this verification loop in order whenever a bug surfaces on a mobile build:

  1. Reset app data and install the specified build. Never confirm a failure on an app that has been upgraded in place over five older builds unless upgrade state is the bug you're testing.
  2. Run the shortest path exactly as written. Follow your own draft word for word; if you had to tap an extra dismiss button, add that step to the ticket.
  3. Repeat three times and record each result. Three failures out of three means the bug is deterministic, and your report should label it that way. One failure out of three is intermittent, so log the exact rate alongside any trigger you noticed, such as low free memory or a 4G-to-Wi-Fi handoff.
  4. Clear the cache and repeat once. If the failure vanishes after a cache clear or on a clean install, suspect stale local data before blaming the product code.
  5. Repeat once on the original network. Re-running solely on office Wi-Fi can mask cellular latency, DNS resolution issues, or carrier-level timeouts.
  6. Run a control case that should pass on the same device. Completing a healthy flow, such as loading the account profile or making a small wallet check, proves the phone and SIM are working properly.
  7. Save evidence at every failure point. Capture timestamps, request identifiers, screen recordings, and device logs for each failed run rather than just the first one.

Checking AI-generated expectations against product requirements

Teams using AI coding tools to draft test cases face a subtle trap: the steps read smoothly, so nobody questions whether the expected outcome is right. A 2025 empirical study on arXiv found that practitioner use of large language models focuses heavily on test design, automation, and learning, while test metrics, log analysis, and test-evidence evaluation remain much less common. Separate research cited in that paper warns that AI-generated tests can contain faulty assertions, while showing persistent limits in complex scenarios and inconsistent reproducibility even in newer models.

Say an AI-generated UPI test case asserts that the confirmation screen must appear within 3 seconds, and the test fails at 6 seconds. If your product requirement allows 10 seconds for UPI confirmation, the defect sits inside the AI assertion, not inside your app. Before filing a bug from an automated or AI-written suite, check the expected result against an independent oracle: your written product requirement or PRD.

Independent oracle rule: Never treat a failing AI-generated step as proof of a product defect until you compare its expected result against the written requirement and re-run it on a clean build.

Separate a genuine product failure from four common false alarms: a broken test fixture, stale test data, timing sensitivity on a slow phone, or an assertion that merely mirrors the model's own assumption. We break down that triage process in how to test AI-generated test cases, and our workflow for testing AI-generated test cases on real devices applies human execution before any failure reaches your sprint board.

Separating execution from review

The easiest way to keep vague or false bug reports out of engineering is to separate finding a bug from approving the ticket. Have a reviewer who didn't run the test check every report against a clear bar before developers see it.

At 99tests, verification is separate from testing: the person who found a bug is never the person who grades it. We reject incomplete reports that miss steps, environment metadata, or evidence, merge duplicate reports into a single clean ticket, and grade bug severity against a published standard. That review gate keeps developers focused on real, repeatable failures instead of chasing half-written notes.

Run Your Next Bug Checks on Real Phones

A checkout that passes on an emulator can still fail on a ₹10,000 Android phone that is low on RAM, sitting on a congested Jio or Airtel tower, with a vendor battery saver killing background apps. Language, carrier, and that physical device belong in the reproduction steps, not in a footnote. That is the trade-off covered in emulator vs real device testing.

99tests runs fixed-price manual testing with 20,000 registered testers in India on their own phones, laptops, and networks. You can review mobile app testing in India coverage, or see how the crowdsourced testing model uses those real devices instead of emulators.

How a test run works

The run follows a short sequence:

  1. Pay and submit the test pack. Send test cases in any format, including cases written by an AI coding tool, plus an APK link, TestFlight invite, or web URL, the device and browser targets, and a deadline.
  2. Review the session split. Cases are parsed into sessions by device so you can see what will run before testers start.
  3. Get the verified report. An independent reviewer checks each finding. The report gives a pass or fail for every case, a screenshot of every failure, exact reproduction steps, device, OS, and network, and a screen recording on every serious bug. The sample report shows that layout.

Sessions are timeboxed and paid whether or not a bug turns up. Testers who file a real, reproducible bug can earn a severity bonus on top of the session fee.

Fixed-price plans and re-runs

Prices are fixed, with no hourly overages. Full plan details are on the 99tests pricing page:

  • Starter: ₹9,999 + GST for five 45-minute sessions across two devices or browsers, with the report in three business days.
  • Standard: ₹18,999 + GST for ten 45-minute sessions across four devices or browsers, with reporting in three business days.
  • Deep: ₹34,999 + GST for twenty 90-minute sessions across six devices or browsers, with reporting in five business days.

After a fix ships, every report includes a one-click re-run of the same plan on the new build, using the same devices and cases, so you can see whether the bug is gone before launch.

If you want step-by-step reports from real Indian phones, networks, and browsers, 99tests runs your cases, including AI-generated ones, at a fixed price with independent review. Pay, submit the build and cases, and the report comes back with reproduction steps, device details, and visual evidence. Visit 99tests to set up the next real-device run.