Skip to content

USE CASE · HEALTHCARE

QA for healthcare web apps: booking, portals and intake forms

Published · 6 min read · By TestOptim AI Team

Short answer

QA for healthcare web apps checks that a patient can register, book an appointment, fill in a form and read their own information, and that staff can do their work without losing what was entered. An AI QA agent tests that functional behaviour through the browser: it explores a staging environment with test accounts, tries the inputs that break forms, and files each failure with steps, a screenshot and logs. It is not a compliance, security or accessibility audit, and it must never be given real patient data.

  • The costly bugs are lost or wrong information: a booking that is not saved, a form that drops its answers, a page open to the wrong person.
  • Test each role separately. A patient, a clinician and a receptionist use different apps.
  • Use a staging environment with made-up patients. Screenshots and recordings from a run are stored as evidence.
  • It tests behaviour in the browser. It does not certify anything about privacy, security or accessibility rules.

What QA for healthcare web apps should cover

Core flows in a healthcare web app and the bugs to look for
FlowWhat can go wrong
Patient registrationA date of birth in the future accepted, names with accents or hyphens rejected, required fields that take blanks or spaces
Appointment bookingA slot in the past offered, a double click booking the same slot twice, the back button dropping the chosen time, a cancellation that leaves the slot taken
Intake and consent formsA long multi-step form that loses its answers on refresh, a step that can be skipped, a submit button that does nothing
Patient portalResults or messages that open without signing in, a session that stays open after signing out, a password reset that fails
Staff and clinician screensA receptionist reaching actions meant for a clinician, a saved note that is gone after reload, a search that misses an existing patient
Requests and messagingA refill or referral request that shows success but throws a server error, a message sent twice

Add the rules the agent cannot guess to its knowledge base: how far ahead a patient may book, which fields are mandatory for which visit type, what each staff role may change. A failure is only a bug if it breaks a rule you hold.

What the agent tries on a booking or intake form

TestOptim explores the app in real Chrome, records its pages and flows in a knowledge base, and writes test cases in plain English: at least one happy path, two negative cases and one edge case per flow. On a booking flow, those cases look like this:

  • Book a valid appointment and confirm it appears in the patient's list.
  • Pick a date that is out of range, such as one in the past, and expect to be refused.
  • Leave required fields empty or fill them with spaces only.
  • Enter a name with accents, then a script or SQL injection string, and check the form handles both.
  • Click the confirm button twice and count the bookings.
  • Refresh in the middle of a multi-step form, or press back, and check the answers are still there.
  • Open the booking and results pages while logged out.

While tests run, the agent records console errors, uncaught exceptions, failed network requests and HTTP 5xx responses. A form that shows a success message while the save request fails is still reported. Lost or exposed data and a fully blocked sign-up are rated critical. A missing required-field check is rated high. See how severity is decided.

Testing patient, clinician and staff roles

Add one credential profile per role, each a test account. Exploration signs in as one profile at a time, so explore once per role. Test runs sign in with the default profile. To run a role's tests, make that profile the default, or keep one project per role.

A run uses one account, so it cannot follow a booking from the patient's screen to the clinician's in a single test. Check that hand-off yourself after a release, or look for the record in the second role's project. The same goes for checking that one patient cannot see another's records: create two test patients and confirm it by hand, as described in SaaS testing.

What this testing does not cover

TestOptim tests functional behaviour through the browser. It is not a compliance audit, a penetration test or an accessibility audit. A passing run says nothing about any privacy, security, medical-device or accessibility rule you are subject to.

  • Clinical correctness. The agent checks that the app behaves as a user would expect. It does not judge whether a dose, a result range or a piece of medical content is right.
  • Accessibility. There are no WCAG audits. Use a dedicated accessibility tool and human testing.
  • Security and backend access rules. It tests through the interface and does not inspect your database rules or source code.
  • Native mobile apps. Web apps only. A patient app on iOS or Android is out of scope.
  • Other browsers and load. Tests run in Chrome, and there is no load or performance testing.
  • Layout, video calls, email and text messages. There is no pixel-by-pixel visual regression. Check the quality of a video visit and the content of reminders by hand.

How to run it without touching patient data

  • Use a staging or test environment filled with made-up patients, clinicians and appointments. Never point the agent at production or at a copy of production data.
  • Each issue carries a screenshot and logs, and each run has a recording. Anything the test account can see is stored as evidence, which is why the data must be made up.
  • The agent fills in and submits forms, so bookings, messages and requests will appear in the environment. Keep any connected system, such as a lab or pharmacy link, in its test mode.
  • If sign-in sends a one-time code, add a fixed test code to the profile so scheduled runs keep working. See OTP logins.
  • If staging sits on a hospital or clinic network, the TestOptim CLI tunnel reaches it from a machine inside that network, with no inbound ports.
  • Run after each deploy from CI with an API key, and use Re-test this fix to confirm a bug is gone.

Plans and limits are on the pricing page.

Frequently asked questions

Is TestOptim HIPAA compliant?

TestOptim AI makes no HIPAA claim and holds no healthcare certification. It is a functional testing tool that works through the browser. Run it only against a staging or test environment with made-up patients, and never give it real patient data or a login to a production system.

Can an AI agent test a patient portal?

Yes, on a staging environment with a test patient account. TestOptim AI signs in, explores the portal in Chrome, writes tests for flows such as booking, forms and messages, runs them, and files bugs with steps, screenshots and logs. It also tries the same pages while logged out.

Can real patient data be used to test a healthcare app?

No. Use made-up patients in a staging or test environment. The agent submits forms, and every run stores screenshots, a recording and logs as evidence, so any real record the test account could open would be copied into a bug report.

What bugs matter most in a healthcare web app?

The ones that lose or expose information: a booking that looks confirmed but was not saved, an intake form that drops its answers on refresh, a results page that opens without signing in, and a staff role that can reach actions meant for another role.

Does TestOptim run accessibility audits for healthcare sites?

No. TestOptim AI does not run WCAG accessibility audits. It finds functional bugs, such as broken forms and flows, in Chrome. For accessibility, use a dedicated audit tool together with testing by people who use assistive technology.

How do you test an appointment booking flow?

Test the valid booking first, then the ways it breaks: a past date, an empty form, a double click on confirm, the back button mid-flow, a refresh halfway through, and a cancellation. Check the appointment list after each one, because the bug is often a wrong record, not an error message.

More AI QA testing guides

START YOUR 7-DAY TRIAL

Find the bugs before your users do

7-day trial, card required · No code or test scripts · 7-day Solo trial, then $19–$149/mo self-serve