How to Build Your Own AI Code Verification System >>> Join a hands-on webinar on Dec. 15th!
LLMs fail at test execution because they are a probabilistic state machine (read: they are not deterministic). At every step, an LLM randomly samples the next token based on probabilities. During unsupervised CI/CD runs dynamic page elements, dynamic loading states, or rotating ads alter the page snapshot fed into the model which causes the exact same test prompt to trigger different actions or skip assertions across runs.
No. While setting temperature to zero reduces randomness in token selection, cloud-based inference still introduces parallelism that causes variance. More importantly, the live application snapshots feeding into the model change between runs due to dynamic content or slight loading delays, altering the input sequence and changing what the model decides to do next.
Teams should use LLMs strictly for supervised test creation such as generating test cases, test data, and initial code drafts where a human reviews the output before it enters the pipeline. Unsupervised CI/CD test execution should be handled by a deterministic execution layer that computes rather than predicts, ensuring identical inputs always produce identical pass/fail results.
No. Tool-calling frameworks constrain what actions an agent can take, but they do not change the LLM's underlying probabilistic nature. On two separate runs of the same prompt the model still decides with probabilities whether to call a tool, which tool to select, and what arguments to pass. This results in inconsistent browser interactions.
Self-healing locators only fix one symptom: selectors that break when the underlying UI code changes. They do not prevent an LLM agent from skipping steps, generating inconsistent assertions, or taking hours to run. Deterministic execution (such as Applitools' Deterministic Language Model (DLM)) eliminates brittle DOM locators altogether while executing plain-English steps and visual checks the exact same way on every run.