CitraTest automated regression testing for Windows patches, Citrix VDA upgrades, and golden image updates - run the same on-the-glass scripts on the old image and the new one before users log on.
Direct answer: A clean patch install, a registered VDA, or a session host that reports healthy is not proof the updated image is usable. CitraTest® automated regression testing replays the same glass-level scripts - logon-to-shell plus the business steps users cannot skip - against the current image and the candidate image. Real mouse and keyboard drive the Citrix, Microsoft RDS, Azure Virtual Desktop, browser, or thick client path; WaitForImage verifies each screen state; StartTimer / StopTimer show whether a moment of truth got slower. CitraTest does not modify the operating system or application code under test, so the image you validate is the image you ship.
Every month the same window opens. Operating system patches land, a new VDA or agent version is approved, an application vendor ships an update, and someone seals a new golden image. The change ticket closes when the build finishes and the hosts come back registered. The users do not see any of that. They see whether the published app opens, whether the login script finished, and whether the chart, order line, or invoice actually painted on the screen when they start work.
That gap is the patch night problem: the image is declared done by the platform, but it is only proven by the glass.
Install succeeded ≠ image ready
Platform signals after an image update are useful - and incomplete. The installer exited cleanly. The machine catalog or host pool updated. Hosts report healthy and accept connections. None of that replays what a user does after the session opens: launch the line-of-business app, sign in, open the record, and wait for the screen that means work can continue.
Image updates tend to break the things platform checks never look at: a published app that now prompts on first launch, a login script that waits on a dialog no one clicks, a printer or plug-in step that changed, a font or theme change that moves a button. Those are glass-level failures. They need glass-level regression.

Illustrative / method diagram - not Tevron customer results. Healthy platform checks do not prove the updated session paints usable UI.
One script, two images: before and after
The method is deliberately boring. Do not write a new test for every patch cycle. Keep one regression suite that encodes the user path, and run it against both sides of the change:
| Step | What you do | What it tells you |
| Baseline run | Replay the suite against the current production image (or a host built from it). | Known-good pass/fail and timer values for each moment of truth on today's image. |
| Candidate run | Replay the identical suite against a host built from the updated image - patches, new VDA or agent, updated apps. | Whether every expected screen state still appears under WaitForImage, and whether timers moved. |
| Compare | Line up pass/fail by step and StartTimer/StopTimer results side by side. | The exact step that broke or slowed - logon-to-shell, app first paint, or a named business screen. |
| Decide | Promote, hold, or roll back the image based on glass evidence. | A change decision grounded in what users will see, not only in a completed build. |
Because the same scripts run on both images, a difference is a finding about the image, not about the test.
What the regression suite should cover
Keep the suite short enough to run every cycle and specific enough to catch what patches actually break. Reuse the split from Control Plane ≠ Farm:
- Logon-to-shell - drive the real client (Citrix Workspace, RDS / AVD client, or browser) through authentication, profile load, and login scripts until desktop chrome or the published-app window is ready. Image updates often show up here first.
- First launch of each critical app - first-run prompts, licensing dialogs, and plug-in changes surface on the first launch after an update, not on the tenth.
- The business steps that cannot slip - open the chart, enter the order line, post the invoice, print the label. One timer per moment of truth, named after what the user sees.
- Dynamic values after sync - where a record number, total, or status must be checked, sync with WaitForImage first, then read or verify the text with Advanced OCR. OCR is not a wait/sync.
CitraTest works with Java, .NET, Citrix, Microsoft Terminal Server / RDS, terminal emulation, SAP, Epic, Cerner, and other Windows applications; all it needs is access from a Windows client to the target application. That is exactly the position of a user on the morning after the patch window.
One measurement contract: see, wait, act, measure
Image regression uses the same on-the-glass contract as every CitraTest script (User Guide / Quick Start guidance):
- Scripts encode the workflow on a Windows desktop.
- Playback sees the UI with bitmap images (and OCR when text is dynamic).
- Playback acts with real mouse and keyboard.
- WaitForImage synchronizes and verifies expected screen state before the next step.
- StartTimer / StopTimer capture on-screen response: StartTimer immediately after the initiating action; StopTimer immediately after WaitForImage confirms completion.

Illustrative method diagram - not customer results. The same pipeline runs on the current image and the candidate image.
Keep the comparison honest: real regression vs display drift
Image updates can change display properties as well as code. If the comparison is going to mean anything, control what the test sees:
- Match the display contract - resolution, color depth, theme, and font smoothing identical between capture and playback, and between the baseline run and the candidate run.
- Prefer small, unique, static bitmaps for sync cues - toolbar icons and window chrome that should not change with a patch.
- Recapture deliberately - when an update intentionally changes the UI, refresh only the affected baselines and note why. Do not bulk-recapture to make a red run green.
- Start from a clean desktop - close leftover windows between iterations so one failure does not cascade into every step after it.
Done this way, an "image not found" on the candidate image points at a step that really changed - which is the whole point of running the regression before the image ships.
How this sits next to VU and APM (brief)
The same glass definition of success carries across Tevron products:
- CitraTest - run the regression suite on the old and new image and decide whether the image is ready.
- CitraTest VU - when the change could affect capacity (new VDA, new OS build, new app version), replay the same paths under concurrency before rollout. See Logon Storm vs Density.
- CitraTest APM - after promotion, keep the same class of glass transaction running in production so drift after the rollout is caught on the screen.
Closing: the image is done when the glass says so
Patch night regression is not a new product mode. It is CitraTest automated testing pointed at the riskiest routine change in end-user computing: encode the user path once, replay it on the current image and the updated image, compare WaitForImage results and StartTimer/StopTimer values step by step, and promote the image only when the screens users depend on still appear. Build logs and healthy hosts still matter. They do not replace proof that the published app, the shell, and the business screen came up on the new image.
FAQ
What is golden image regression testing with CitraTest?
It is replaying the same CitraTest on-the-glass scripts - logon-to-shell plus the business steps users cannot skip - against the current image and the updated image before the update reaches production. A pass means each expected screen state appeared under WaitForImage; StartTimer/StopTimer show whether the moments of truth got slower on the new image.
Why is a successful patch or VDA install not proof the image is ready?
An install log, a registered VDA, or a host that reports healthy describes the platform. It does not prove the published app launched, the login script finished, or the chart, order line, or invoice painted on the screen. Regression on the glass checks what the user will actually see on Monday morning.
How do I tell a real regression from display drift after an image update?
Keep the display contract - resolution, color depth, theme, font smoothing - identical between capture and playback, and keep baseline bitmaps small and unique. If the update intentionally changed the UI, recapture the affected baselines deliberately. Then an image-not-found failure points at the step that really broke instead of at theme drift.
Can OCR be used as the wait when validating a new image?
No. Confirm readiness with image functions such as WaitForImage first, preferring static bitmaps. Use Advanced OCR afterward to read or verify dynamic text. OCR is not a wait/sync.
Does CitraTest need to be installed inside the golden image?
No. CitraTest plays back from a Windows machine with access to the client path - Citrix Workspace, the RDS or AVD client, a browser, or a thick client. It does not modify the operating system or application code of the system under test, so the image you validate is the image you ship.
Contact Tevron
Tevron LLC
402 Amherst Street, Nashua, NH 03060
Phone: 866.788.3650
Email: sales@tevron.com
Web: www.tevron.com
Product: CitraTest · CitraTest VU · CitraTest APM
Citrix, HDX, Microsoft, Windows, Remote Desktop Services, Azure Virtual Desktop, and related marks are trademarks of their respective owners. Tevron is not affiliated with Citrix or Microsoft. Names are used for identification only. CitraTest®, CitraTest VU®, and CitraTest APM® are Tevron products.