Sort by topics
Search results for the term: “TEAMS”
AI in Software Test Automation – 2026 Guide
AI in software test automation is moving beyond isolated experiments and becoming part of broader QA and engineering workflows. Teams are using it to support test design, verify scenarios, generate automation code, analyze execution results, and reduce repetitive maintenance work. The value, however, depends on how these capabilities are introduced and governed. This guide explains where AI can support the test automation lifecycle, what organizations should evaluate before adopting a platform, and how to maintain control over test intent, generated code, execution evidence, and ongoing optimization. 1. AI in Software Test Automation: Why It Matters in 2026 As applications and delivery processes become more complex, test automation must cover more than the execution of predefined scripts. Teams also need to keep tests aligned with changing requirements, maintain automation assets, interpret execution results, and decide which scenarios require attention. AI can support these activities by connecting requirements, test design, execution evidence, code generation, and maintenance signals. The value comes from reducing repetitive work while preserving clear ownership, review, and traceability across the test automation lifecycle. For organizations adopting AI in software test automation, the priority in 2026 should be building a controlled workflow rather than adding isolated AI features. Generated outputs need reliable project context, execution-based verification, defined approval gates, and integration with existing repositories and CI/CD processes. 2. What Is AI in Software Test Automation? AI in software test automation refers to the use of capabilities such as natural language processing, contextual analysis, pattern recognition, and AI agents to support the creation, execution, verification, and maintenance of automated tests. Depending on the platform, AI can support different stages of the test automation lifecycle, from interpreting requirements to generating and maintaining automated tests. 2.1 How AI-Powered Testing Differs from Traditional Test Automation Traditional test automation executes predefined scripts according to explicitly programmed steps, conditions, and assertions. This provides predictability and technical control, but creating and maintaining the scripts can require significant engineering effort as requirements, interfaces, test data, and application behavior change. AI-powered testing adds a contextual layer to this process. It can interpret requirements, use project knowledge to prepare test scenarios, support execution-based verification, generate code, and analyze feedback from test runs. Depending on the implementation, AI may also identify unstable tests, suggest updates, or highlight gaps in coverage. The difference is not that AI removes scripts or human involvement. AI-assisted workflows can reduce the manual effort between a requirement and working automation, while QA remains responsible for test intent and engineering retains control over the code entering the repository. 3. Where AI Supports the Test Automation Lifecycle AI in test automation is not a single capability. Understanding its role at each stage of the testing lifecycle helps teams evaluate platforms more accurately and set realistic expectations for adoption. Understanding these capabilities separately helps teams evaluate platforms more accurately and decide where AI can provide useful support without removing human review and technical control. 3.1 Requirements and Test Design AI can translate requirements, acceptance criteria, tickets, and existing QA knowledge into structured test scenarios. This reduces the manual effort involved in turning business requirements into detailed test cases and can help teams identify missing preconditions, expected results, or alternative paths. The quality of the output depends on the available project context. Generated test cases should therefore remain reviewable and should clearly distinguish confirmed information from gaps that require input from QA or business stakeholders. 3.2 Execution-Based Verification A generated test scenario may appear correct while still being impossible to execute against the actual application. Execution-based verification allows an AI agent to replay the proposed steps, observe application behavior, identify relevant elements, and confirm whether the expected result can be reached. This creates technical evidence before automation code is generated. QA still needs to confirm that the verified path represents the intended business scenario. 3.3 Automation Code Generation AI can use test intent and execution evidence to generate automation code. The output should follow the project’s existing conventions, use its reusable components, and remain readable for the engineering team. Generated code should be tested and delivered through the organization’s normal version control and review process. This keeps automation visible, reviewable, and maintainable instead of isolating it inside a proprietary environment. 3.4 AI-Assisted Test Maintenance and Optimization AI can analyze execution history, recurring failures, unstable assertions, selector changes, and overlapping coverage to identify tests that may require attention. It can then recommend repairs, consolidation, or removal. Significant updates should remain visible and subject to review. An automatically modified test may continue to pass while no longer validating the original requirement, so maintenance decisions need clear ownership and approval. 3.5 Reporting, Traceability, and Review AI can help organize execution evidence and connect results with the relevant requirement, test case, code change, and review decision. This gives QA and engineering teams a clearer view of what was tested, how the automation was created, and why it changed. For enterprise use, teams should be able to inspect AI inputs, generated outputs, execution results, and reviewer decisions rather than relying on an opaque automation process. 4. Where AI Creates Business Value in Test Automation AI creates business value in test automation by shortening the path from a requirement to reviewable automation. It can reduce the manual work involved in interpreting tickets, drafting test scenarios, translating test intent into code, and analyzing execution results. This allows QA professionals to contribute their domain knowledge more directly to automation, while engineering teams focus on technical review and repository standards instead of building every test from scratch. The result can be faster automation delivery without creating a separate handover for every scenario. Greater traceability also helps teams understand how test intent becomes automation and whether later changes still reflect the original requirement. The value depends on implementation quality. AI-generated outputs still require reliable project context, execution-based verification, clear ownership, and review before they enter the test suite. Organizations should measure success through reduced manual effort, shorter time from requirement to reviewed automation, acceptance of generated code, lower maintenance effort, and more dependable execution results. 5. How to Evaluate and Integrate an AI Test Automation Platform Choosing an AI testing platform requires more than comparing feature lists. The platform should fit the team’s existing requirements workflow, automation frameworks, repositories, CI/CD processes, security policies, and technical skills. Decision-makers should begin with the workflow they want to support. A platform designed only to generate test cases may not solve the wider challenge of turning requirements into executable, maintainable automation. Teams should evaluate how the tool handles test design, execution-based verification, code generation, review, reporting, and ongoing maintenance. 5.1 Key Criteria for Evaluating an AI Test Automation Tool When evaluating an AI test automation tool, consider: Requirement integration: Can the platform use tickets, acceptance criteria, and existing QA knowledge as test context? Execution model: Does it verify proposed scenarios against the application before generating automation? Code ownership: Does the output remain accessible as standard code in the organization’s repository? Review and governance: Can teams inspect AI inputs, generated outputs, execution evidence, and reviewer decisions? Framework compatibility: Does the platform support the automation technologies already used by the organization? Repository alignment: Can generated code follow existing fixtures, helpers, hooks, naming rules, and quality standards? Deployment and data control: Can the platform operate within the organization’s required infrastructure and AI governance model? Maintainability: Does it use execution feedback to identify unstable, outdated, or redundant automation? Team fit: Can QA define and review test intent while engineering retains control over code quality? These criteria help distinguish a complete AI test automation workflow from an isolated generation feature. 5.2 Fitting AI Testing into Your CI/CD Pipeline An AI testing platform should work with the organization’s existing version control and CI/CD processes. Generated automation should enter the repository through the normal pull or merge request workflow, where it can be reviewed, executed, and approved before being merged. Execution results should return to the relevant code change, test case, and requirement source. This creates traceability between test intent, automation code, execution evidence, and release decisions. Integration may require repository access, execution environments, credentials, pipeline configuration, and approval gates. These requirements should be assessed during implementation rather than assuming the platform can be added without changes to the existing delivery architecture. 6. How to Adopt AI Test Automation with the Right Controls A practical AI test automation strategy should begin with one clearly defined workflow rather than an attempt to automate the entire testing process. Choose a repeatable, business-critical user journey, document the current effort and maintenance burden, and define what successful adoption should improve. Start with requirements and test cases that have clear preconditions, actions, and expected results. AI output depends on the quality of this context, so incomplete requirements and inconsistent testing conventions should be addressed before the workflow is scaled. Define ownership and approval gates from the beginning. QA should remain responsible for test intent and business relevance, while automation engineers or developers review generated code, repository alignment, and technical quality. AI-generated automation should not enter the test suite without execution-based verification and the required human approval. Implementation should include the technical and governance work required to connect the platform with repositories, execution environments, CI/CD, models, and reporting processes. Finally, track practical outcomes such as the time from requirement to reviewed automation, the number of generated tests accepted with limited changes, maintenance effort, recurring failures, and user adoption. Expand to additional workflows only after the initial process is stable, reviewable, and understood by the teams responsible for maintaining it. This shift changes how QA, automation, and engineering teams collaborate, a topic explored further in our guide to how AI is changing the work of developers, testers, and analysts. 7. Challenges and Limitations of AI in Test Automation AI in test automation depends heavily on the quality of the requirements, project context, test data, and repository conventions available to the platform. Incomplete or inconsistent inputs can lead to scenarios that are technically executable but do not reflect the intended business behavior. Execution-based verification can confirm that a proposed path works against the application, but it cannot independently determine whether the path represents the correct test intent. QA still needs to review the scenario, expected result, and alignment with the original requirement. Generated automation may also require adjustment to match project-specific fixtures, helpers, authentication methods, data setup, and coding standards. Teams should expect an implementation and review process rather than treating AI test automation as a plug-and-play capability. Security and governance create additional requirements. Organizations also need clear controls over deployment, model usage, data access, generated code, and approval of AI-supported changes, especially in business-critical or regulated workflows. The strongest implementations use AI to reduce repetitive work while keeping responsibility for test intent, code quality, and release decisions clearly assigned. For a broader view of risk-based testing, traceability, and quality governance, see our QA best practices guide. 8. How Qatana Brings AI Test Automation into One Controlled Workflow Qatana brings test design, execution-based verification, code generation, review, and maintenance into one agentic test automation workflow. It starts with requirements from Jira or GitLab, turns them into automation-ready test cases, and verifies the proposed user path through Playwright execution before generating code. The resulting standard Playwright code is delivered through a pull-ready merge request. QA retains control of test intent, while engineering reviews the technical implementation through the organization’s existing version control process. Execution results remain linked to the requirement, test case, code, and review history, providing traceability across the workflow. Qatana also uses execution results, CI/CD signals, and reviewer feedback to support test maintenance and optimization. The platform runs entirely on-premise and supports the organization’s selected LLM, keeping project context, generated code, and execution evidence within the customer’s controlled environment. Book a demo to see how Qatana turns requirements into execution-validated Playwright automation. 9. Frequently Asked Questions About AI in Software Test Automation Can AI fully replace manual testers? No. AI can support test design, execution, code generation, and maintenance, but testers still define business intent, review outputs, and perform exploratory testing that requires human judgment. How does AI improve self-healing test automation? AI can detect changes affecting automated tests and suggest or generate updates based on execution evidence. Significant changes should remain visible and require review to ensure the test still validates the intended behavior. Is AI-driven testing suitable for regulated industries? Yes, provided the platform supports appropriate governance, traceability, access control, and data protection. Organizations should also evaluate deployment options, model control, audit evidence, and internal compliance requirements. What skills do QA teams need to work with AI testing tools? QA teams need strong test design, domain knowledge, and the ability to review AI-generated scenarios and execution evidence. Familiarity with automation workflows, repositories, and AI limitations is also valuable.
ReadSaaS validation in pharma and GxP requirements
A SaaS application can support quality processes, laboratory work, manufacturing, distribution or clinical operations without requiring the customer to maintain the application in its own data centre. The cloud delivery model does not remove the regulated company’s responsibility for the way the system is used. If an application processes GxP data, affects product quality or patient safety, or supports regulated decisions, the organisation must demonstrate that it is fit for its intended use and remains controlled throughout its lifecycle. SaaS validation in pharma differs from a conventional implementation project. The supplier controls part of the platform, releases updates on its own schedule and may rely on subcontractors. The customer configures processes, roles, data, integrations and use. Responsibilities are shared, but regulatory accountability for the GxP process remains with the regulated organisation. This guide explains when a SaaS system requires validation, how to build a risk-based strategy, which supplier evidence can be used and how to maintain the validated state through frequent software releases. It focuses mainly on GMP environments. Many of the principles can also support GLP, GCP, GDP and pharmacovigilance systems after the applicable regulations and company procedures have been identified. 1. What SaaS validation means in a GxP environment Computer system validation provides documented evidence that a system meets approved user requirements, performs according to its intended use and is controlled in proportion to risk. In a SaaS model, the object of validation is not the supplier’s product in isolation. It is the customer’s specific use of the application, including its configuration, processes, data, interfaces, user roles and operating procedures. The same product may have a different validation status in two companies. One may use it only to arrange meetings. Another may use it to approve specifications, retain laboratory results or generate a record used in batch release. The product name and supplier claims do not determine the validation scope. Intended use, data criticality and the effect of each function on the regulated process do. In practical terms, the validation programme should answer four questions: Are the business and regulatory requirements clear and approved? Have risks to patients, products and data integrity been identified and controlled? Have the configuration and critical processes been tested effectively? Can the organisation maintain control after go-live? Validation is not a permanent certificate attached to an application. It is an evidence-based state associated with a defined version, configuration and use, and maintained through change control, incident management, access management and periodic review. 2. When a SaaS system falls within GxP scope The first step should be system and function classification, rather than ordering a full set of test scripts. The organisation needs to determine whether the application creates, modifies, stores, transfers or reports data used in regulated activities. It must also consider whether a failure, configuration error or unauthorised change could affect product quality, patient safety, data reliability or process compliance. SaaS applications that may have GxP relevance include: electronic quality management systems and eQMS platforms; document management, learning and training systems; LIMS, ELN and analytical data management platforms; clinical operations, safety and case management applications; systems for change control, deviations, CAPA and complaints; ERP, planning and warehouse systems when their data affect GxP operations; electronic record and signature platforms used in regulated processes. Not every function in such a system has the same criticality. A document approval workflow may require more rigorous controls than a supporting dashboard. A risk-based approach directs testing and documentation towards the functions that affect protected records and regulated decisions. 2.1 GxP impact assessment The impact assessment should identify the regulated process, business owner, record types, decisions made from the data and possible consequences of failure. A single GxP or non-GxP label may be too broad for a system that supports several processes. Function-level and data-flow analysis produces a more defensible scope. Functions are likely to have higher impact when they: control a critical process step or provide data used to release it; generate, calculate or approve a result relevant to product quality; retain original data, metadata and the audit trail; manage electronic signatures or approvals; transfer data between systems without an independent completeness check. The outcome should identify critical requirements, the evidence required and the types of change that will trigger reassessment or regression testing. 3. Regulatory basis for pharmaceutical SaaS validation The primary European reference is EudraLex Volume 4 and EU GMP Annex 11. Annex 11 applies to computerised systems used in GMP-regulated activities. It requires applications to be validated and IT infrastructure to be qualified. Decisions about validation scope and data-integrity controls should be based on a justified and documented risk assessment. Annex 11 does not create a separate legal class for SaaS. The delivery model does not remove obligations relating to supplier assessment, validation, security, audit trails, business continuity, archiving and periodic evaluation. The current EudraLex listing identifies the January 2011 revision of Annex 11 as the applicable published text. EMA guidance on GMP and data integrity expressly includes cloud-based applications and storage within the data lifecycle. An organisation should understand where data and metadata are generated, processed, transferred, stored, retrieved and disposed of, and which parties can access them. Validation effort should be scaled to risk. ICH Q9(R1) on quality risk management states that the level of effort, formality and documentation should be commensurate with risk. This principle does not allow required controls to be reduced for budgetary reasons. It allows evidence to be tailored to function criticality, system complexity and uncertainty. GAMP 5 is widely used as industry guidance for applying a lifecycle and risk-based approach to GxP computerised systems. The ISPE overview of GAMP 5 describes a framework intended to support systems that are effective, reliable and fit for use. GAMP 5 is not legislation and does not certify a product. Each organisation still needs a validation strategy based on applicable regulations, intended use and its pharmaceutical quality system. Where a system supports activities regulated in the United States, the scope of 21 CFR Part 11 and the relevant predicate rules also needs to be assessed. FDA guidance on electronic records and electronic signatures explains that Part 11 applies to specified electronic records maintained or submitted under FDA requirements. Not every electronic function is automatically in scope, and a claim that software is Part 11 compliant does not replace an assessment of the configured process. 4. Responsibilities of the regulated company and SaaS supplier In an on-premises implementation, the regulated organisation may control the servers, database, update schedule and many administrative activities. In SaaS, some of these activities are performed by the supplier or its subcontractors. This changes the sources of evidence and the oversight mechanisms, but it does not transfer accountability for the regulated process. Responsibilities should be recorded in the contract, quality agreement or another controlled document. A standard subscription agreement will rarely address every issue relevant to GxP operation. Area Typical supplier responsibility Regulated company responsibility Expected evidence Product development Controlled development lifecycle, product testing and defect management Assess supplier processes and determine whether available evidence can be relied on Audit or qualification report, SDLC description, test summaries Infrastructure Hosting, platform maintenance, monitoring and technical backups Assess the service model, retention needs and recovery requirements Architecture, responsibility model, recovery test results Configuration Configuration functions and product documentation Approve the configuration required for the GxP process Configuration specification, review and tests Access Role, authentication and access-management capabilities Design roles, provision access and perform periodic reviews Role matrix, test evidence and review records Releases Release communication, product testing and deployment Impact assessment, regression decision and approval for use Release notes, impact assessment and regression tests Data Technical storage, export and protection mechanisms Classify data and control retention, completeness and use Data map, export tests and archiving procedures Incidents Detect and manage service-side events Assess GxP impact, take quality actions and make business decisions Tickets, root-cause analysis, CAPA and decision records The responsibility matrix should not leave gaps or create duplicated duties without a named owner. Particular attention is needed where the supplier assumes that the customer will test a control while the customer considers it part of the standard service. 5. SaaS validation in pharma step by step 5.1 Define the intended use The intended-use statement explains why the organisation is implementing the system, which processes it will support, who will use it and which decisions will rely on its data. It needs to be specific. Describing an application only as a quality management system does not show whether it manages documents, CAPA, training, audits, signatures or all of these functions. The boundary should identify interfaces, source systems, GxP records and functions that remain out of scope. A clear boundary reduces later disputes about testing and accountability. 5.2 Map the process and data lifecycle A process map shows where data are created, reviewed, approved, reported and archived. For SaaS, it should also cover transfers between services, APIs, reporting layers, backups, exports and supplier administration tools. The analysis needs to include metadata required to reconstruct an event. A PDF export may be insufficient when it omits change history, signatures, timestamps, relationships or record context. 5.3 Qualify the supplier and service Supplier qualification should be proportionate to system criticality and dependence on the external service. ISO 27001 certificates, SOC reports and security-test results may provide useful evidence. They do not automatically demonstrate that the customer’s GxP workflow and configuration are compliant. The assessment may cover: the supplier’s quality system and assignment of responsibilities; the software development lifecycle, testing, code review and defect handling; release, change and release-note management; security, vulnerability management and incident response; business continuity, backups and recovery testing; subcontractor oversight and data-processing locations; access to documentation, audit support and data on contract termination. Depending on risk, the organisation may use a questionnaire, document review, remote audit or on-site audit. One fixed method is unlikely to suit every supplier. 5.4 Agree requirements and acceptance criteria The user requirements specification should describe the required outcome and measurable acceptance criteria. Requirements need to be testable and traceable. In addition to business functions, the URS should address data integrity, security, audit trails, electronic signatures, retention, export, performance, availability and failure handling where relevant. A statement such as the system has an audit trail is too broad. The requirement should define which events are recorded, whether the record contains the user, date, time, old and new values and reason for change, and who can review and export the history. 5.5 Assess functional and data-integrity risks The risk assessment links requirements to potential failures and controls. For each critical function, the team should determine what can go wrong, the possible effect, how the failure may be detected and which control reduces the risk. Critical requirements need appropriately strong evidence from testing or another assessed source. Risk assessment should not be reduced to a mechanical multiplication of scores. Rationale, process knowledge and the quality of input information matter more than a superficially precise number. Risk needs to be reconsidered when the configuration, process, interface or supplier changes. 5.6 Design the configuration and controls Standard SaaS configuration can reduce the need for custom code, but configuration can still determine how a regulated process behaves. Statuses, approval paths, escalation rules, roles, dictionaries, forms and retention rules should be described, reviewed and controlled. Extensions, scripts, automation and integrations increase the customer’s responsibility. Their owners, repositories, deployment method and test process should be defined. Extensive customisation may also reduce the value of standard supplier evidence. 5.7 Validate migration and interfaces Data migration requires evidence of completeness, accuracy and preservation of record meaning. The strategy should define mapping rules, transformations, rejected records, record-count reconciliation and exception approval. Sampling may be suitable when its scope is justified by risk and data structure. Interfaces should be tested in both directions when two-way flow matters to the process. Tests should cover valid data, transmission failures, duplicates, message retries, time synchronisation and behaviour after a partial failure. 5.8 Test critical processes Testing should demonstrate that requirements are met and controls are effective. Supplier evidence may be leveraged when the organisation understands its scope, version, environment and approval method. There is no value in automatically repeating every product test. The customer must still verify its own configuration, data, interfaces, roles and critical workflows. The test package may include: positive tests of critical business flows; negative tests and exception handling; role and segregation-of-duty tests; audit-trail and electronic-signature verification; data migration and transfer-integrity tests; report, calculation and export tests; failure, recovery and business-continuity scenarios; acceptance tests performed by representative users. IQ, OQ and PQ terminology may be used where it forms part of the organisation’s quality system, but the labels should not replace a logical connection between requirements, risks and evidence. For a typical SaaS service, much of the installation or infrastructure evidence may come from the supplier. The configured use and intended purpose still require customer assessment. 5.9 Approve the validation and go-live decision The validation summary report should identify the system version and configuration, completed activities, test results, deviations, residual risks and release conditions. An open deviation does not always prevent go-live, but risk acceptance needs to be explicit, justified and approved by the appropriate roles. Before release, the organisation should confirm that procedures, support, training, access management, backup arrangements, monitoring and incident handling are ready. Technical validation without operational readiness does not provide sustained control. 6. Validation documentation for a SaaS system The documentation package should provide traceability from intended use and requirements to risks, controls, tests and the release decision. Document names differ between organisations. The important point is whether evidence is complete, approved, current and reproducible during an inspection. Document or record Main purpose SaaS-specific consideration GxP impact assessment Determine whether and to what extent the system is controlled Analyse functions and data flows rather than the product name alone Validation plan Define scope, roles, methods, environments and acceptance criteria Identify supplier evidence and customer activities Supplier assessment Justify reliance on the supplier and service Subcontractors, hosting, SDLC, releases and audit rights User requirements specification Record approved user and regulatory requirements Testable criteria for data, audit trails, signatures and export Risk assessment Link functions to risks and controls Configuration criticality, integrations and automated changes Configuration specification Provide a controlled record of system settings Workflows, roles, rules, extensions and retention settings Test protocols and evidence Demonstrate that requirements are met Version, environment, test data, results and deviations Traceability matrix Connect requirements, risks and tests Identify which evidence originated with the supplier Validation summary report Record the conclusion and release decision Residual risk, conditions and outstanding actions Validated-state plan Define post-release control Release assessment, regression testing, review and retirement Supplier documentation should be accepted deliberately. A supplier test report is useful only when its version, scope, environment, criteria and approval status are understood and relevant to the functions used by the customer. 7. Data integrity and ALCOA principles A SaaS system should support data that can be attributed to an individual, read, associated with the time of the activity, retained as original data or a verified copy and considered accurate. The extended ALCOA+ principles also address completeness, consistency, endurance and availability. The data-integrity assessment should cover: unique accounts and accountability for user actions; time synchronisation and the meaning of time zones; protection of original data and associated metadata; change control and audit-trail review capability; completeness of exports, reports and verified copies; data protection during integration and migration; retention, archiving, retrieval and readability for the required period; data recovery after failure and evidence that restoration works. It is not enough to confirm that an audit-trail feature exists. The organisation should determine whether it is always active for critical events, who can change its settings, how changes are displayed and how it will be reviewed. If supplier administrators have privileged access, their activities also require appropriate oversight. 8. SaaS releases and the validated state The main challenge may not be initial validation, but the pace of subsequent change. A supplier may issue many releases each year and activate some features automatically. The regulated company needs a process that quickly separates immaterial changes from changes affecting a GxP process. A release-management process should include: Obtain release notes and the planned deployment date. Identify affected functions, interfaces, data and requirements. Assess impact on configuration, risk and documentation. Decide the regression scope and required actions. Execute and approve tests before GxP use where this is possible. Update controlled documents, training materials and traceability. Approve the release or implement an agreed risk-control measure. The supplier agreement should provide enough notice, access to a test environment and clear information about release impact. Where updates cannot be deferred, the customer’s process needs a short assessment window, prioritised regression scenarios and a response plan for an unacceptable result. The validated state also depends on routine operational controls, including access reviews, incident management, CAPA, interface monitoring, periodic evaluation, training, audit-trail review, recovery testing and controlled system retirement. 9. Common SaaS validation mistakes 9.1 Relying only on supplier certificates An ISO 27001 certificate or SOC report may support assessment of security and organisational controls. It does not confirm that the customer’s configuration, workflow, report and user roles meet GxP requirements. 9.2 Reusing an on-premises CSV model without adaptation Repeating documentation and tests designed for locally installed software can create work without addressing the main SaaS risks. The strategy should leverage assessed supplier evidence and focus customer activity on configuration, data, integrations and use. 9.3 Leaving responsibility boundaries unclear An imprecise agreement makes it harder to obtain evidence, investigate incidents and assess releases. Responsibilities should also cover subcontractors, privileged support access, data copies and service termination. 9.4 Testing only the expected path A process may work correctly with ordinary data and fail when an integration breaks, a duplicate appears, an approval is withdrawn or a connection is lost. Negative tests and exception handling are important for critical workflows. 9.5 Treating validation as a one-off event Evidence quickly becomes outdated when subsequent releases are not assessed. The validated-state plan should be designed before go-live, rather than after the first major update. 9.6 Confusing availability with recoverability A high availability percentage does not prove that the company can recover complete records and resume a regulated process within the required time. Backup, retention, recovery objectives, data export and manual continuity procedures require separate assessment. 10. GxP SaaS validation checklist [ ] We have defined the intended use, system boundary and process owner. [ ] We have assessed the effect of each relevant function on patients, products and data integrity. [ ] We have identified the applicable GxP rules and electronic record types. [ ] We have documented data, metadata, interfaces, exports and archive flows. [ ] We have qualified the supplier and assessed its quality system and SDLC. [ ] We have reviewed infrastructure providers, subcontractors and data-processing locations. [ ] We have documented responsibilities in the contract and quality agreement. [ ] We have approved testable user requirements and acceptance criteria. [ ] We have completed a documented risk assessment of functions, data and interfaces. [ ] We have approved the configuration, roles, workflows, retention rules and extensions. [ ] We have verified data migration and interface completeness. [ ] We have tested critical workflows, exceptions, permissions, audit trails and signatures. [ ] We have linked requirements and risks to evidence in a traceability matrix. [ ] We have closed deviations or formally accepted the residual risk. [ ] We have approved the validation report and operational readiness before go-live. [ ] We have a process for release-note assessment, change control and regression testing. [ ] We perform periodic supplier, system, access and validated-state reviews. [ ] We have tested backup, recovery, business continuity and data export. [ ] We have defined archiving, retention and controlled service-exit arrangements. [ ] Personnel have been trained for their roles and responsibilities. 11. How to select a SaaS validation partner A validation partner needs to understand both quality requirements and the technical architecture of the service. Familiarity with CSV templates alone is insufficient for assessing integrations, identity design, cloud controls, automatic releases and supplier evidence. Before engagement, check whether the partner can: translate intended use into GxP scope and a risk-based strategy; assess a SaaS supplier, product documentation and shared responsibilities; prepare the URS, risk assessment, plan, tests, traceability matrix and report; connect quality requirements with security, architecture and data integration; design a sustainable process for maintaining the validated state; support QA, IT and business owners without replacing their regulatory decisions. The delivery model should reflect organisational maturity. One company may need an independent strategy review, another a complete documentation and testing workstream, and a third ongoing support for regular SaaS releases. 12. Why TTMS SaaS validation in pharma requires cooperation between quality assurance, process owners, IT, security and implementation teams. TTMS combines computer system validation capabilities with experience in software development, integration, testing and maintenance for regulated industries. Support can include GxP impact assessment, supplier qualification, validation strategy and documentation, architecture and configuration review, test preparation, data-migration assurance and maintenance of the validated state. The engagement can be adapted to a new implementation, a system already in operation or a programme covering several cloud applications. A practical TTMS engagement may include: Inventory of systems, functions and data flows within GxP scope. Gap assessment of evidence, controls and responsibility boundaries. A risk-prioritised implementation roadmap. Preparation and execution of the agreed validation activities. Support for releases, regression testing and periodic reviews. The objective is to produce evidence that reflects actual system use and can be maintained after go-live. Decisions on GxP scope, risk acceptance and system release remain part of the customer’s quality system. 13. Discussing SaaS validation with TTMS If your organisation is planning a cloud implementation or needs to bring an existing application under control, start with the intended use, supplier evidence and release lifecycle. This establishes the scope before detailed documentation and testing begin. Contact TTMS to discuss a validation strategy, SaaS supplier assessment or support for maintaining the validated state in a GxP environment. FAQ Does every SaaS system used by a pharmaceutical company require validation? No. The scope depends on the intended use of the system and its impact on GxP activities. Applications used solely for general administration may be outside the validation scope. However, systems that create, process, store, or manage critical GxP records require documented assessment and appropriate validation controls to ensure fitness for purpose. Can a SaaS product be certified as GxP compliant? No. There is no universal certification that automatically makes a SaaS product GxP compliant. While suppliers may offer features that support regulatory requirements and provide relevant documentation, compliance ultimately depends on how the regulated company configures, uses, and controls the system within its own processes and quality framework. Is the supplier’s ISO 27001 certificate sufficient? No. An ISO 27001 certificate demonstrates that the supplier has an established information security management system, but it does not verify the customer’s specific configuration, critical workflows, data integrity controls, or GxP compliance requirements. It should be treated as one component of supplier qualification rather than proof of validation. How should automatic SaaS updates be validated? Organizations should establish a process for reviewing release information, evaluating potential impact, classifying changes, and performing risk-based regression testing when required. Critical business processes and GxP workflows should be verified before use whenever possible, or within a controlled and justified post-deployment validation window. Does 21 CFR Part 11 apply to every SaaS system? No. The applicability of 21 CFR Part 11 depends on whether the system creates, maintains, modifies, archives, retrieves, or transmits electronic records required by FDA regulations and whether electronic signatures are used. Each application should be assessed against its intended use and the relevant predicate rules to determine Part 11 requirements.
ReadRAG for Chatbots using CrewAI: Notes from a TTMS Tech Talk
Tech Talk is an internal series of technology sessions for TTMS employees, where we share knowledge and project experience. We demonstrate tried-and-tested tools, discuss challenges we have encountered and explain the solutions that have helped us in our work. Topics include artificial intelligence, data analytics, Salesforce, AEM and project management. Presentations are followed by time for questions, discussion and sharing ideas. During the session “RAG for Chatbots Using CrewAI”, held on 17 September, Jakub Kraśniewski, Senior AI Developer at TTMS, discussed improvements to a chatbot using a client’s documentation. He presented the challenges involved in preparing and retrieving information, the solution implemented and the approach to evaluating answer quality. The project involved a company in the education sector whose customers were preparing for a certification exam. The chatbot was intended to help them find information about registration, exam procedures, grading and appeals, thereby reducing the support team’s workload. It used several hundred pages of publicly available PDF documents, mainly in English. The team needed a way to retrieve relevant information from these materials while meeting a response time requirement of around 4 to 5 seconds. 1. How does RAG help a chatbot use company knowledge? Jakub began the presentation by explaining how RAG (Retrieval-Augmented Generation), a method of generating answers using retrieved source material, works. The system finds information relevant to the user’s question and passes it to a language model as context for the answer. In this project, the retrieved material consisted of passages from documentation describing exam rules and procedures. After extracting text from the documents, the system divides it into smaller chunks. An embedding model (an AI model that represents semantic features of text as numbers) converts these chunks into vectors stored in a database. The user’s question is processed in the same way. Comparing these representations allows the system to retrieve passages that are semantically related to the question. Jakub emphasised that the team is responsible for the quality of the material passed to the model. This involves checking whether the text was extracted correctly, whether the chunking preserved the necessary context and whether retrieval provides information useful for answering the question. The challenges the team encountered in the CrewAI-based solution demonstrated the importance of these steps. 2. What made information retrieval difficult in the CrewAI project? After explaining the basics of RAG, Jakub shared his experience from a project using CrewAI, a framework for building AI agent-based systems. He discussed three problems encountered in the configuration used: overly large text chunks, the absence of an additional relevance assessment and errors in PDF text extraction. 2.1 Overly large document chunks In the configuration Jakub described, text was split into chunks of 4,000 characters. The system retrieved five such chunks for each question, passing up to approximately 20,000 characters of source material to the model. A large chunk can contain information on several different topics, making it harder to match it to a specific question. The model generating the answer must then select the relevant information from the supplied content. In this project, the chunking approach therefore needed to be adapted to the structure of the documents and users’ questions. 2.2 No additional assessment of search result relevance Jakub pointed out that the configuration lacked reranking, which involves reassessing and reordering search results according to their usefulness for answering the user’s question. The system can first retrieve a larger number of passages, then assess them further to select those most useful for preparing an answer. Jakub presented this method as a potential improvement whose value should be evaluated by checking both answer quality and response time. 2.3 Incorrect text reading order in multi-column PDFs Another problem involved document text extraction. The tool read multi-column PDFs row by row, merging content from adjacent columns. This disrupted the order of sentences and made subsequent information retrieval more difficult. The resulting text was then split into chunks. The error therefore originated during data preparation and affected the subsequent stages of document processing. This example showed why evaluating RAG quality should begin with comparing the extracted text against the source document. 3. How does response time affect the choice between Classic RAG, Agentic RAG and Graph RAG? A key project requirement was a response time of around 4 to 5 seconds. Jakub discussed three RAG approaches in terms of data preparation costs, the ability to evaluate their operation and the time needed to handle a question. Approach How it works, as discussed during the session What to consider when choosing Classic RAG Retrieves passages from a knowledge base, optionally reranks them and passes the context to the model. Document chunking quality, retrieval relevance and the amount of context provided. Agentic RAG An agent selects tools and a retrieval method, running additional queries as needed. The ability to adapt retrieval to the question, along with the time and cost of additional operations. Graph RAG Retrieval uses a knowledge graph describing entities found in the source material and the relationships between them. The effort required to build and maintain the graph, and how useful the relationships are for answering users’ questions. In an agentic approach, the model can use several tools, such as vector search, keyword search or filtering by metadata describing the document. Additional steps allow the system to expand its search for information, while their number and sequence affect response time. In the graph-based approach presented, some of the work takes place when building the knowledge base. Entities and the relationships between them are extracted from the text. This mechanism also underpins GraphRAG as described by Microsoft. Jakub highlighted the costs of this preparation and the difficulty of manually analysing a complex graph. In this project, the response time requirement favoured further development of classic RAG. The team focused on document chunking and context selection. 4. How does hierarchical document chunking help preserve context? The solution organised the material into three connected levels: pages, paragraphs and sentences. The system retained information about which paragraph each sentence belonged to and which page contained that paragraph. Content was represented in the vector database at different levels of detail. This allowed retrieval to identify both individual sentences and larger passages containing the required information. According to Jakub, the additional cost of storing and processing these representations was acceptable given the volume of material in the project. Finding a relevant sentence made it possible to retrieve its entire paragraph and provide the model with broader context. The system could also retrieve the whole page when needed. Suppose a user asks about the deadline for appealing an exam result. The system finds a sentence specifying the deadline, then retrieves the entire paragraph explaining when the appeal period begins and how to submit an appeal. This allows the model to account for these conditions in its answer. 5. How can you evaluate RAG quality using your own data? In the final part of the presentation, Jakub emphasised the importance of a benchmark, a set of tests used to compare different versions of a solution. He discussed checking retrieval results against information labelled by a human and using a language model to evaluate answers. In practice, it is useful to assess two stages separately. The first concerns retrieval: did the system return a passage containing the required information? The second concerns the answer: did the model use the supplied material correctly? This distinction helps identify which stage needs improvement. In additional information shared after the session, Jakub clarified the testing method and results. The test set included questions covering the full scope of the documentation, along with real user questions collected anonymously during a prototype launch at the beginning of the year. Answer accuracy increased from around 70% to around 98%, an improvement of approximately 28 percentage points. This result applies to the internal test conducted in this project. According to Jakub, the solution also maintained a fast response time. When he shared these details, the chatbot had completed internal testing, and the company planned to make it available to a subset of customers. Reducing the support team’s workload and making information easier to access remained deployment goals. Assessing whether those goals have been achieved requires data from actual use. The embedding model is another component to evaluate. Jakub noted that its selection should take into account the language of the source material and its performance on the team’s own dataset. The choice of this model affects which passages the system retrieves before it begins generating an answer. 6. What can companies implementing a chatbot learn from this experience? The project shows how specific requirements guide RAG development. The expected response time helped narrow down the choice of solution, document analysis revealed problems with text extraction and chunking, and an internal test made it possible to assess the impact of the changes. When planning a similar implementation, it is worth addressing five areas: Source material: check whether document text extraction preserves meaning and reading order. Document chunking: adapt chunk size and the connections between chunks to the structure of the material. User questions: prepare a test set that reflects the tasks the chatbot is intended to support. Response time: establish expectations and account for them when comparing approaches. Quality assessment: check both the relevance of the retrieved information and how it is used in the answer. Let’s talk about AI in your company TTMS is home to experts who, like Jakub, combine technical knowledge with experience from client projects. During Tech Talks, they share solutions tested in practice and apply what they have learned to subsequent implementations. Are you planning a chatbot that uses your company’s documentation, or looking to improve the answer quality of an existing tool? Let’s talk. We will review your materials, users’ needs and business goals to recommend an appropriate way to use AI. Contact the TTMS team! What documents can a RAG chatbot use as a knowledge base? A RAG chatbot can use company policies, product manuals, procedures, FAQs and other materials containing information relevant to its users. Sources may include PDFs, Word documents, website content and knowledge base articles, depending on the integrations available. Scanned documents require optical character recognition (OCR) to turn images of text into searchable content. Tables, diagrams and complex layouts may need additional processing to preserve their meaning. Before adding documents, check that they are accurate, current and approved for the intended audience. Clearly structured materials help the system retrieve information and provide useful context for its answers. How do you keep a RAG chatbot’s knowledge base up to date? Keeping a RAG chatbot up to date requires a process for detecting and processing changes in its source materials. Depending on business needs, updates can run on a schedule or be triggered when a document is added, edited or removed. The system then updates the searchable content and its associated representations, such as embeddings. Version information and effective dates help distinguish current guidance from older material. Deleted or superseded documents should also be removed from active search results, and cached answers may need refreshing. Assigning an owner to each content area helps ensure that someone remains responsible for the information the chatbot uses. Can a RAG chatbot provide sources for its answers? Yes, a RAG chatbot can include links, document titles, page numbers or quoted passages alongside its answers. This requires the system to preserve source information when processing documents and connect retrieved passages to the response. Useful citations let users open the relevant material and check the context for themselves. The system should also verify that each citation supports the claim it accompanies. A source link alone provides no guarantee that an answer accurately reflects the document. During testing, teams should check both answer quality and citation accuracy, including whether users can access the referenced material. How can a RAG chatbot respect access permissions for company documents? A RAG chatbot can use the signed-in user’s identity and access rights to determine which documents it may retrieve. Permission checks should happen before restricted content reaches the language model. The same controls need to cover document previews, citations and any cached responses that contain protected information. When access rights change in a source system, those changes must also be reflected in the chatbot’s retrieval process. Teams should test the solution using accounts with different roles, including users with limited access. These checks help confirm that each person receives answers based on information they are authorised to view. What should a RAG chatbot do when it cannot find an answer? When the available documents provide insufficient information, a RAG chatbot should clearly explain that it cannot answer reliably from its sources. It can ask a clarifying question if the request is ambiguous or suggest a related document that may help. For questions requiring further assistance, it can direct the user to the appropriate team or support channel. The system needs explicit rules for handling incomplete, conflicting or missing information. Testing should include questions whose answers are absent from the knowledge base, so the team can assess this behaviour. Reviewing unanswered questions can also reveal gaps in company documentation and priorities for future updates.
ReadChatGPT for financial services: what does combining GPT with professional data sources offer?
On 10 September 2026, OpenAI announced ChatGPT for Financial Services, a solution combining GPT-6 Astra with professional financial data sources and tools for preparing analyses. The product was developed in collaboration with Morgan Stanley and Evercore. It is designed for financial institutions, with an initial focus on investment banking and equity research. It allows analyst teams to find data, perform calculations and prepare client materials in one place. This could reduce the time spent gathering information and transferring it between tools. In this article, you will learn: what data and features ChatGPT for Financial Services offers, what preparing a company analysis with GPT could look like, why metric calculations and data sources need to be checked, which stages require an analyst’s review, how to assess whether implementation is worthwhile for your company. How does ChatGPT for Financial Services support analysts? Materials published by OpenAI and its data providers describe several specific use cases: Comparing companies. Daloopa, a provider of company financial data, makes selected data and metrics available for comparing business performance. Source references help analysts verify where the figures come from. Finding companies that meet specific criteria. Daloopa also describes searching for companies by business activity or geographical region. The resulting list can provide a starting point for further market analysis. Preparing client materials. OpenAI describes creating valuation models, research notes and presentations using company templates for Excel, Word and PowerPoint. ChatGPT for Financial Services provides access to selected data from Daloopa, PitchBook, LSEG News and Crunchbase. OpenAI is also developing integrations that will allow institutions to use data covered by their existing subscriptions. These include S&P Capital IQ, LSEG, MSCI, Dow Jones Factiva and Moody’s. From data to company analysis: five steps in the workflow Let’s walk through preparing a comparison of two industrial companies ahead of a client meeting. The analyst needs to assess profitability, explain material differences and prepare a short note with a results table. Using fictional data, we will show what to check during a pilot, from selecting information to approving the final material. 1. Defining the question and scope of the comparison First, we establish which period to compare: the last full year, a six-month period or the trailing twelve months. We also check whether the figures cover the entire corporate group or an individual company, which currency they use and how each metric was calculated. In our example, we use consolidated data for both groups for the same calendar year. Amounts are stated in millions of euros. Before comparing results, we need to check the start and end dates of the reporting periods. One company’s financial year may end in December, while another’s ends in March. The documentation for the US SEC’s EDGAR database also highlights these differences. The analyst must then decide how to account for the mismatch and whether additional data is needed. The agreed approach should be recorded in the instructions for the AI and included with the completed analysis. This gives the model clear guidance and helps the reviewer understand which data was compared and why. 2. Gathering data and identifying its sources For each important figure, record the company and period it relates to, the units used and how it was calculated. A reference to the specific table or explanatory note in the report is also needed. Keeping the source document and its retrieval date makes it easier to review or update the analysis later. According to OpenAI’s description, ChatGPT for Financial Services lets users locate specific tables and document passages, highlighting the information used in the analysis. In our example, we compare EBITDA, or earnings before interest, taxes, depreciation and amortisation. The reviewer should be able to trace a reported value back to the company’s report and check how it was calculated. This also allows them to confirm that the figure covers the correct period and scope of operations. 3. Aligning definitions before comparing margins Companies may report adjusted EBITDA that excludes selected costs. These adjustments increase the value of the metric. Before comparing profitability, it is therefore necessary to check which adjustments have been applied. The US SEC also highlights differences in how individual companies calculate financial measures. Let’s look at two fictional companies. We assume that both calculate EBITDA before adjustments using the same principles. Company A then adds back EUR 4.59 million in costs that it excludes when calculating adjusted EBITDA. As a result, the metric rises from EUR 27.57 million to EUR 32.16 million. Company B has no such costs, so its figure remains unchanged. Illustrative example. Consolidated data for the same calendar year. Amounts are stated in EUR million. Item Company A Company B Revenue 229.73 183.78 EBITDA before adjustment 27.57 23.89 Costs excluded when calculating adjusted EBITDA 4.59 0.00 Adjusted EBITDA 32.16 23.89 EBITDA margin before adjustment 12% 13% Adjusted EBITDA margin 14% 13% After the adjustment, Company A’s margin is 14%, exceeding Company B’s margin of 13%. Before the adjustment, Company B has the higher margin: 13% compared with 12%. In this example, the treatment of costs determines which company has the higher EBITDA margin. The analyst should therefore check which costs make up the EUR 4.59 million adjustment and whether they also occurred in previous years. This helps them assess whether excluding these costs is justified for the analysis being prepared. They can also present both scenarios and explain the difference to the client. AI can help gather data and recalculate margins, while the expert assesses whether the adjustment is justified and how it affects the conclusions. 4. Verifying calculations in the spreadsheet In our example, simply divide EBITDA by revenue: 27.57 ÷ 229.73 gives a margin of approximately 12%, while 32.16 ÷ 229.73 gives approximately 14%. The displayed amounts are rounded; the spreadsheet should retain full precision for its calculations. More complex analyses may require currency conversion, alignment of reporting periods or the preparation of several forecast scenarios. The reviewer should be able to trace each of these steps. It is therefore worth asking AI to create a spreadsheet in which source data, assumptions and formulas are clearly separated. The analyst can then check the calculations and see how changing a single value affects the result. To test the spreadsheet, you can halve the adjustment, reducing it from approximately EUR 4.59 million to EUR 2.30 million. Company A’s adjusted EBITDA should then be approximately EUR 29.86 million, with a corresponding margin of 13%. These amounts are rounded for presentation; the spreadsheet should calculate the change using unrounded values. After making this change, check the comparison table and the commentary on the results as well. Both companies would now have the same margin, so the conclusion that Company A has a higher margin would need updating. This is a simple way to assess whether the calculations and accompanying text remain consistent. 5. Preparing client materials and reviewing conclusions The completed analysis can be presented in the company’s preferred format. According to OpenAI’s description, an administrator can share Excel, Word and PowerPoint templates with the team for the tool to use when creating documents and presentations. In our example, the client should receive a results table and a short explanation of how the cost adjustment affects the margin comparison. The expert reviewing the material checks whether the conclusions match the calculations and answer the client’s question. If anything needs clarification, they can request a further explanation or another version of the analysis. Time measurements should also include reviewing the material and making corrections before approval. How can you protect data and preserve a record of the analysis? When preparing a client analysis, the team may use public reports, paid databases and confidential documents. It is necessary to establish who can access this information, where it will be stored and who can receive the finished material. According to the ChatGPT Work security documentation, business data is encrypted and is not used to train models by default. Data retention periods, processing locations and the scope of recorded activity depend on the settings and connected services. Before implementation, check which user and tool actions are logged and which records can be exported. During the pilot, keep the source documents, successive versions of the spreadsheet and the final material, together with a record of who approved it and when. Then check whether this documentation allows you to reproduce the calculations and trace the approval of the analysis. Separately, verify whether system logs allow user and tool activity to be traced to the extent required by the company. How can you assess whether implementation is worthwhile? Start by choosing a task the team performs regularly, such as updating a company comparison after quarterly results are published. Before testing, measure how long this analysis takes using the existing method and define its quality requirements. These findings will provide a baseline for comparison with AI-assisted work. The time needed to review and correct the analysis must be added to the preparation time. OpenAI highlights this in its guidance on assessing the business value of AI, also recommending that implementation and ongoing usage costs be included. In practice, it is worth comparing: Metric What does it tell us? Time from starting the task to approving the analysis Does the client receive the finished material sooner? Include waiting time between stages. Total time spent by the analyst and reviewer Does the team spend fewer hours on preparation, review and corrections? Number of errors affecting the results or conclusions Does the analysis meet the same quality requirements as the existing approach? Accuracy and completeness of source references Can the origins of key figures and information be verified? Time needed to update the analysis How efficiently can new data be incorporated and the calculations and conclusions that depend on it be updated? Cost per approved analysis What is the cost of the finished material, including team time, the tool, data and the share of implementation and maintenance costs allocated to that analysis? The test should cover several tasks of varying difficulty. Define the assessment criteria before it begins. Someone performing the same analysis for a second time already knows the data and some of the answers, which may shorten the time needed. It is therefore worth using comparable tasks and varying the order in which participants work with AI and with the existing method. If AI saves time, check how the team used it. They may have prepared more analyses, responded to clients sooner or reduced overtime. The implementation assessment should show separately how the time saved was used and whether company spending decreased, and by how much. When is it worth starting a pilot? Consider a pilot if the team regularly gathers data from multiple sources and updates similar analyses. Choose a task that takes analysts a significant amount of time, such as comparing data from company reports. Assign a person to lead the pilot and experts to review the results. If the team only occasionally analyses a few annual reports, check whether tools already approved for use within the company are sufficient. Where data retrieval and calculations are already automated, identify a specific task that the new tool could improve. OpenAI makes the product available to financial institutions that meet its access requirements and directs interested companies to its sales team. Pricing, detailed terms and availability for a particular institution in Poland must be confirmed with the provider. Availability information. The implementation decision should be based on the pilot results: the quality of the analyses, the time needed to prepare and review them, and the total cost of the work. The test will also show whether the tool provides access to the data the team needs. Want to explore where AI could improve analysts’ work in your organisation? Talk to the TTMS team about choosing a task for a pilot, connecting the necessary data sources and assessing the results. How does ChatGPT for Financial Services differ from analysing reports in ChatGPT? ChatGPT for Financial Services provides access to selected professional financial data directly within the tool. It also supports references to specific tables and document passages, as well as the preparation of materials using company templates. When assessing its suitability for a team, check whether the available sources cover the companies, periods and metrics the team needs. Does ChatGPT for Financial Services require separate financial data subscriptions? Selected datasets are included in the product. These cover some of the information supplied by the providers named by OpenAI. The company is also developing integrations intended to let institutions use data covered by their existing subscriptions. Before purchasing, confirm which data is included in the offering and which requires additional access rights. Can ChatGPT for Financial Services be used to analyse companies listed on the Warsaw Stock Exchange? This depends on the availability of data for individual companies. Check whether the tool provides their financial statements, relevant metrics and historical data. The launch announcement alone does not confirm full coverage of the Warsaw Stock Exchange. The best way to assess the product’s suitability is to test it on several companies the team regularly analyses. What should you do if data from ChatGPT differs from the figures in a company’s report? Start by comparing the sources, reporting periods, units and definitions of the metrics. A discrepancy may arise, for example, from using standalone rather than consolidated financial data, or from including EBITDA adjustments. Also check whether the company has published an updated report. The analyst should explain the discrepancy and document which value they used and why.
ReadAutomation Best Practices in Software Testing for 2026
Software release cycles keep shrinking, and testing teams are expected to keep pace without sacrificing reliability. Automation has become a core part of modern software delivery, but writing more scripts does not automatically lead to faster feedback, stronger coverage, or more dependable releases. Teams getting real value from automation treat it as an engineering discipline integrated with the wider QA and software delivery process. This article covers the practices that make automation sustainable in 2026, including test prioritization, methodology and tool selection, maintainable script design, CI/CD integration, continuous maintenance, and code ownership. 1. Why Test Automation Best Practices Matter More in 2026 Applications increasingly depend on connected services, frequently changing interfaces, and shorter delivery cycles. Automated testing may cover web applications, mobile products, APIs, integrations, and business-critical user journeys, making the way automation is planned, implemented, and maintained as important as the number of tests in the suite. Without clear standards, automation can become another source of delivery friction. Unstable tests slow down CI/CD pipelines, outdated scripts lose alignment with changing requirements, and duplicated coverage increases execution and maintenance effort without producing better evidence. As discussed in our guide to AI end-to-end testing, sustainable automation requires clear ownership, traceability, regular maintenance, and a deliberate connection between requirements, test intent, execution, and results. 2. A Decision Framework for What to Automate in Software Testing Not every test belongs in an automated suite. Teams need a repeatable way to identify scenarios where automation will provide lasting value rather than create additional maintenance work. 2.1 Scoring Test Cases by Frequency, Stability, and Cost A practical scoring model evaluates each candidate across several dimensions: how often the test runs, how stable the underlying feature is, how important the workflow is to the business, and how much effort the test will require to automate and maintain. Strong candidates are usually repeatable scenarios with clear expected results, stable preconditions, reliable test data, and a meaningful impact on release confidence. A frequently executed test may be valuable, but frequency alone is not enough. Teams should also consider whether the scenario can be executed consistently and whether its expected outcome can be verified without subjective interpretation. 2.2 Keep Judgment-Based Testing Manual Exploratory testing, first-impression usability reviews, visual assessments, and scenarios that depend heavily on human interpretation are usually better handled manually. Automating these activities can remove the flexibility and observation that make them valuable. Rarity alone should not exclude a test from automation. An unusual scenario may still deserve automated coverage when a failure could interrupt a critical process, compromise data, or create significant operational risk. The decision should reflect business impact as well as execution frequency. 2.3 Prioritize Business-Critical User Paths After unsuitable candidates have been removed, rank the remaining tests by business impact and regression risk. Authentication, checkout, account access, approvals, and core transaction flows are common priorities because failures can prevent users from completing essential tasks. Starting with these workflows allows the automation suite to protect the parts of the application that matter most. Lower-impact scenarios can be added later when their expected value justifies the development and maintenance effort. 3. Match the Automation Approach to the Application and Team Once teams have identified the right candidates for automation, they need to choose an approach that fits the application, delivery model, and available skills. The decision should balance execution speed, maintainability, technical control, accessibility for QA, and the effort required to integrate automation with the existing development workflow. 3.1 Use the Test Pyramid to Balance Feedback and Coverage The test automation pyramid remains a useful starting point. Fast unit tests usually form the broadest layer, integration and service-level tests verify interactions between components, and a smaller set of end-to-end tests validates complete user journeys. The exact proportions should reflect the application architecture and its risks. A system built around multiple services may need stronger integration coverage, while a business application may require more end-to-end validation of critical workflows. The goal is to detect problems at the lowest practical level while retaining enough end-to-end coverage to confirm that essential user journeys work as expected. 3.2 Choose Between Code-Based, Codeless, and Hybrid Automation Code-based automation provides direct control over test architecture, integrations, reusable components, and repository conventions. It is often appropriate when a team has strong engineering skills, complex testing requirements, or an established automation framework. Codeless and low-code approaches reduce the amount of scripting required to define common test scenarios. They can make automation more accessible to manual testers and domain specialists, although teams should still evaluate how the platform handles complex logic, maintenance, version control, and code ownership. A hybrid approach combines accessible test definition with standard code-based automation. QA professionals can define and review test intent, while automation engineers maintain technical standards and review the resulting code. This model can reduce handovers without limiting the team to a proprietary execution format. 3.3 Evaluate Technical Fit and Long-Term Ownership The right methodology depends on what the team is testing and who will maintain the automation. Complex backend behavior and service integrations may require direct technical control, while repeatable web user journeys may be suitable for higher-level automation. Teams should also consider where generated automation will run, whether the output can be reviewed in the existing repository, how results return to the QA workflow, and whether the chosen approach supports the organization’s deployment and security requirements. Tool popularity matters less than alignment with the team’s application, skills, governance model, and long-term maintenance responsibilities. 4. Design Test Automation for Maintainability Script and framework design have a major influence on long-term reliability, regardless of the selected tool. Maintainable automation separates reusable technical components from test intent, follows consistent repository conventions, and makes failures easier to understand and repair. 4.1 Using Stable Locators and Resilient Element Selection Locators based on visual position, generated identifiers, or deeply nested DOM paths can break when the interface changes. Where possible, teams should use selectors based on stable and meaningful attributes, such as dedicated test identifiers, accessible roles, labels, or other elements that reflect how users interact with the application. A locator should be both stable and specific enough to identify the intended element. The goal is not to eliminate maintenance entirely, but to reduce unnecessary failures caused by implementation details that are unrelated to the behavior being tested. 4.2 Apply Reusable Design Patterns Patterns such as the Page Object Model can separate interactions with the application from the business logic being verified. When an interface element changes, the team can update the relevant reusable component instead of modifying every test that uses it. The appropriate structure may also include component objects, shared fixtures, helper functions, reusable actions, and project-specific abstractions. Teams should select patterns that match the application architecture and apply them consistently across the repository. 4.3 Define Clear Assertions Every automated scenario should include an explicit and observable expected result. A test that performs a sequence of actions without verifying the outcome may pass even when the underlying business process is not working correctly. Assertions should confirm the intended behavior rather than incidental implementation details. Clear expected results also make test cases easier to review, automate, diagnose, and trace back to the original requirement. 4.4 Manage Test Data as a Dedicated Discipline Test data should have clear ownership and a repeatable setup process. Data creation, seeding, reuse, protection, and cleanup should be considered when the test is designed rather than added after the script has already been implemented. Teams should also avoid hidden dependencies on data left behind by earlier executions. Predictable test data makes failures easier to reproduce and reduces false results caused by stale, incomplete, or conflicting records. 4.5 Keep Tests Independent and Isolated Automated tests should not depend on the order in which other tests are executed. Each test should begin from a known state and establish the preconditions required for its own scenario. Isolation can be implemented through fixtures, controlled data setup, separate browser contexts, API-based preparation, environment resets, or cleanup procedures. When one test fails, that failure should not create misleading results elsewhere in the suite. 4.6 Follow Repository Conventions Automation code should follow the same structural and quality standards as the rest of the project. Consistent naming, fixtures, helpers, hooks, error handling, formatting, and review rules make generated and manually written tests easier to understand and maintain. Repository alignment becomes particularly important when automation code is generated rather than hand-written. Generated automation should fit the existing framework rather than introduce a parallel structure that the engineering team must maintain separately. 5. Integrate the Right Tests at the Right CI/CD Stage Automated tests provide the greatest operational value when they are integrated with the delivery pipeline and return timely, actionable results to the people responsible for the change. The goal is not to run every test after every update, but to apply the right level of validation at each stage. 5.1 Match Test Scope to the Pipeline Stage A staged pipeline balances feedback speed with test depth. Fast unit tests and static checks can validate individual changes early, while integration tests and a relevant regression subset can provide broader evidence during pull or merge request review. More extensive regression testing can run after changes are merged, before deployment, on a schedule, or when the risk of a release justifies wider coverage. Smoke tests serve a different purpose. They verify that a deployed application is available and that its most critical user paths remain operational. They should complement, rather than replace, deeper regression testing. The exact structure and runtime expectations should reflect the application architecture, infrastructure, release cadence, and business risk. Teams should define their own quality gates based on the type of change and the evidence required before it can move forward. 5.2 Select Tests Based on Change and Risk Running the full suite for every code change can create unnecessary delays as automation grows. A more sustainable approach selects tests based on the components affected by the change, related requirements, business-critical workflows, previous execution results, and known areas of risk. Test selection should remain transparent. Teams need to understand why a test was included or excluded and should be able to expand the scope when a change has wider implications than the initial analysis suggests. This staged, risk-based structure is also the foundation that AI-driven test selection and prioritization build on. If you’re looking at how AI fits into this part of the pipeline specifically, see our guide, AI in Software Test Automation: 2026 Guide. 5.3 Return Actionable Results to the Workflow Test execution should produce more than a pass or fail status. Results should identify the affected scenario, provide enough evidence to investigate a failure, and remain linked to the relevant requirement, test case, code change, and execution record. Returning results to the pull or merge request helps engineering teams review automation alongside the application change. Returning them to the QA layer and requirement source gives QA teams traceability from test intent through code to execution. This closes the feedback loop and supports informed release decisions. 6. Treat Test Maintenance as a Continuous Engineering Process Flaky tests can quickly undermine confidence in an automation suite. When the same test passes and fails without a relevant application change, teams may begin treating failures as noise. Rerunning the test can unblock a pipeline temporarily, but it does not resolve the underlying problem. 6.1 Diagnose the Root Cause of Flaky Tests Flakiness can originate in the test code, application, test data, execution environment, or an external dependency. Common causes include fixed delays, missing synchronization, unstable locators, shared state between tests, conflicting test data, asynchronous application behavior, network variability, and resource constraints in the execution environment. The corrective action should match the source of the problem. Timing failures may require condition-based waits rather than longer fixed delays. Shared-state failures call for stronger isolation and controlled data setup. Selector failures may require more stable locators or reusable application abstractions. Failures caused by external dependencies may require controlled test environments, mocks, or other ways to reduce unnecessary variability. Teams should capture enough information to distinguish a product defect from a test defect or an environment failure. Execution traces, logs, screenshots, videos, network activity, environment details, and the affected test step can make intermittent failures easier to reproduce and diagnose. 6.2 Review and Prune the Test Suite Regularly Automated tests should be reviewed throughout their lifecycle. Product changes can make tests obsolete, duplicate existing coverage, or reduce their business value. Keeping every test indefinitely increases execution time and maintenance effort without necessarily improving release confidence. A defined maintenance cadence should include reviewing flaky tests, retiring obsolete scenarios, consolidating duplicate coverage, and reassessing tests whose business impact or technical stability has changed. The frequency should reflect the size of the suite, release cadence, application risk, and volume of product changes. Each test should have a clear outcome after review. It may be repaired, rewritten, moved to a more appropriate test layer, temporarily isolated with an assigned owner, or removed when it no longer provides useful evidence. 6.3 Track Execution Health and Maintenance Effort Pass rate alone does not show whether an automation suite is healthy. Teams should also monitor recurring failures, rerun frequency, execution duration, maintenance effort, obsolete tests, duplicated coverage, and the time required to identify and repair a failure. These signals help distinguish a growing automation suite from a sustainable one. Adding tests increases coverage only when the team can understand the results, maintain the assets, and trust the evidence produced by each execution. Maintenance decisions should also remain traceable. Teams need visibility into what changed, why a test was updated, how the change was reviewed, and whether the revised test still validates the original requirement. We will discuss this lifecycle-based approach in our article: Best QA Practices in Software Testing. 7. Treat Automation Code as Production Code Automation code should follow the same engineering standards as application code. Tests need clear ownership, version control, consistent repository conventions, review rules, and quality gates. Without these practices, scripts become difficult to understand, update, and trust as the application evolves. Ownership should cover both test intent and technical implementation. QA professionals can define the business scenario, expected result, and required coverage, while automation engineers or developers verify that the resulting code follows project conventions and can be maintained within the existing framework. Whether automation is written manually or generated with the help of AI tooling, it should enter the repository through a standard pull or merge request. Reviewers should be able to inspect what the test validates, how it interacts with the application, which reusable components it uses, and whether it introduces unstable dependencies or duplicated coverage. Generated tests should not remain inside a proprietary execution environment when code ownership and portability matter to the organization. Keeping automation in the client’s repository makes changes visible, reviewable, and subject to the same governance as other project assets. Teams should also define who responds when a test becomes unstable or outdated. Clear ownership prevents failed tests from remaining unresolved because QA, development, and automation teams each assume that another group is responsible. 8. Where AI Fits Into This Process AI is increasingly used alongside these practices — drafting test cases from requirements, verifying that a proposed path actually works before code is generated, and flagging tests that are likely to become unstable. Getting this right is less about the automation practices covered above and more about strategy, tooling, and governance, so we cover it separately in depth in AI in Software Test Automation: 2026 Guide. 9. Common Test Automation Mistakes to Avoid Even a technically sound automation program can lose value when teams make poor decisions about scope, ownership, and maintenance. Common mistakes include: Automating every available scenario instead of prioritizing repeatable, stable, and business-critical tests. Treating reruns as a permanent solution to flaky tests rather than investigating their root causes. Allowing obsolete and duplicated tests to remain in the suite without regular review. Selecting a platform based on feature count without evaluating integration, maintainability, deployment, code ownership, and team fit. Generating automation without first verifying that the test scenario works against the actual application. Accepting generated tests without checking whether they reflect the original requirement and intended business behavior. Keeping automation in a proprietary environment when the organization requires reviewable, portable code in its own repository. Managing test scripts outside standard version control, code review, and CI/CD quality gates. Leaving responsibility for test intent, code quality, and ongoing maintenance undefined. Avoiding these mistakes requires more than adding tools or scripts. Teams need a controlled workflow that connects requirements, test design, execution evidence, automation code, review, and maintenance. 10. How Qatana Applies These Test Automation Best Practices Qatana brings these practices together in an agentic test automation platform. It turns Jira or GitLab requirements into automation-ready test cases, verifies the proposed user path through Playwright execution, and generates standard Playwright code delivered through a pull-ready merge request. QA retains control of test intent, while engineering reviews the generated automation through the existing merge request process. Execution results remain linked to the requirement, test case, and code, providing traceability across the workflow. Qatana runs entirely on-premise and supports the organization’s selected LLM, keeping project context, generated code, and test evidence within the customer’s environment. Book a demo to see how Qatana turns requirements into execution-validated Playwright automation. 11. Frequently Asked Questions How much of my test suite should be automated? There is no universal target. Prioritize stable, repeatable, and business-critical scenarios, while keeping exploratory and judgment-based testing manual. What is the difference between a test automation strategy and a framework? A strategy defines what to automate, why, and how success will be measured. A framework is the technical structure used to build, execute, and maintain automated tests. How do I know if my automation ROI is positive? Compare the time and effort saved through automation with implementation, execution, and maintenance costs. If maintenance consistently outweighs the benefits, review the selected tests and automation approach. What’s the most common reason automation programs stall after an initial pilot? Usually a lack of ongoing ownership rather than a tooling problem. Teams automate an initial batch of tests successfully, but without a defined maintenance cadence, clear code ownership, and a repository review process, the suite accumulates flaky and obsolete tests faster than anyone repairs them, and confidence in the results erodes.
ReadHow to Prepare Data for Power BI Copilot and Build a Semantic Model for AI
Copilot can speed up data analysis, visual creation and work with semantic models. It does not replace well-managed data sources, correct relationships or agreed metric definitions. If a model contains several similar sales measures, technical column names and ambiguous relationships, the AI assistant inherits the same problems that already affect report users. The difference is that a natural-language answer may sound convincing even when it relies on the wrong metric. To prepare data for Power BI Copilot, organisations need to improve model quality, provide business context and define how the data may be used. Enabling Copilot alone will not make an inconsistent model unambiguous. The model needs clear names, validated measures, a controlled data scope, appropriate permissions and a test set based on questions that users actually ask. This guide explains how to prepare Power BI data and semantic models for Copilot, how to use Prep data for AI and how to assess readiness before making the solution available to employees. It focuses on implementation and ongoing quality control. The broader capabilities of the assistant are covered in a separate TTMS article about AI and Copilot in Power BI. 1. Power BI model readiness for AI An AI-ready model allows users to ask questions in business language without knowing the technical names of tables and columns. This does not mean that Copilot knows the organisation or can discover every internal rule on its own. It can use the information provided through the model, its metadata, the AI feature configuration and the report context. The quality of this layer determines whether a question about sales is mapped to the official net revenue measure, order value or another similarly named field. Assess model readiness across five areas: the quality and freshness of source data; the accuracy and simplicity of the semantic model; unambiguous business concepts, names and measures; data security, permissions and ownership; a repeatable process for testing Copilot answers. If one of these areas is weak, refining prompts will have limited value. A user may phrase a question more precisely but still cannot know which of three margin measures is official or why one table uses the order date while another uses the invoice date. 2. Why the semantic model determines answer quality The semantic model sits between source data and the report user. It contains tables, columns, measures, relationships, formats, hierarchies and security rules. For Copilot, it is the main source of information about how data is organised and how it should be interpreted. The assistant may use the model schema, relationships, object properties, data types, formats and selected metadata. It should not be expected to infer definitions that carry a specific meaning within the organisation. If an active customer is defined as a customer who purchased something in the past 90 days, that definition should be implemented in the model and used by the official measure. Leaving several plausible interpretations increases the risk that Copilot will select the wrong one. 2.1 An example of an ambiguous model Suppose a model contains measures called Sales, Total Sales, Net Sales and Sales Adjusted. An analyst familiar with the project may understand the differences. A business user and Copilot see four plausible answers to the question, “What were sales last quarter?” The fix is not simply to add an instruction telling Copilot to choose one measure. First, the organisation should agree the official definition, give it a clear name, describe the calculation, hide technical fields and remove unused objects. An AI instruction can then clarify the context, but it should not compensate for disorder in the model. 3. Technical requirements before work begins Before redesigning the model, confirm that the environment meets Microsoft’s current requirements. Copilot availability depends on tenant settings, permissions, the workspace and the assigned capacity. Requirements can vary between Power BI Desktop, the Power BI service and individual Copilot experiences. At the time of writing, Microsoft’s documentation for Copilot in Power BI identifies requirements that include enabling the relevant tenant setting and using supported paid Fabric capacity or Power BI Premium capacity. Model authors also need the appropriate permissions for the workspace and semantic model. Prep data for AI is currently a preview feature. Before implementing it, account for current limitations, including the requirement to enable Power BI Q&A and the connection types supported in Power BI Desktop. Area What to check Why it matters Capacity Whether the workspace uses supported paid Fabric or Power BI Premium capacity Without the required capacity, some Copilot experiences may be unavailable Tenant settings Whether the administrator has enabled Copilot and Azure OpenAI based features for the relevant groups Access should be granted deliberately and in line with organisational policy Permissions Whether the author can edit the model and publish to the target workspace Model configuration requires permissions appropriate to the environment Connection type Whether the connection is supported by the feature used in Desktop or the service Support differs between tools and may change Power BI Q&A Whether Q&A is enabled for the model This is currently one of the requirements for Prep data for AI Licensing and feature requirements should not be copied into an internal procedure and treated as permanent. Microsoft continues to develop Copilot and change the availability of individual experiences. Check the latest documentation and the organisation’s tenant settings before implementation. 4. How to prepare data for Power BI Copilot Data needs to be reliable before it reaches the model. Copilot will not repair missing records, incorrect customer mappings or inconsistent currency codes. It can, however, use faulty data to generate an answer that hides the problem behind a plausible explanation. 4.1 Source data quality Start with data profiling and quality controls. Check completeness, uniqueness, consistency, freshness and compliance with business rules. These controls should be repeatable, not limited to the period before the first publication. In practice, this includes: identifying missing keys and orphaned records; checking for duplicates in dimension tables; aligning time zones, calendars, currencies and units; confirming that status values have the same meaning across systems; assigning data ownership and a process for resolving quality issues; monitoring data freshness and failed refreshes. Every official metric should have an identified source, owner, refresh frequency and calculation rule. This gives the organisation a reference value against which to test a Copilot answer, rather than judging the answer only by whether it sounds reasonable. 4.2 Names that match business language and stable definitions Technical names such as fct_sales_hdr, cust_id and rev_net_adj make the model harder for people to use and make user intent more difficult to interpret. The semantic layer should use names that match the language of the organisation, such as Sales, Customer, Net Revenue and Sales Region. Readable names alone are not enough. Margin remains ambiguous if the organisation uses margin amount, margin percentage, planned margin and adjusted margin. Each measure needs a precise name and definition. If one measure is official, the model should reflect that status through naming, its description, display folders and restricted visibility for supporting fields. 4.3 Correct data types and formats The data type tells the model whether a value is a date, number, text or category. The format controls how the value is presented, for example as currency, a percentage or a decimal. An incorrect type can prevent valid grouping and calculations, while an ambiguous format can cause users to misinterpret the result. Data categories should also be assigned where relevant, including for addresses, cities and geographic codes. The model needs to distinguish clearly between order, invoice, shipping and payment dates. A marked date table and explicit measures reduce the number of accidental interpretations. 5. A semantic model that Copilot can understand Microsoft’s tutorial on preparing a semantic model for AI recommends practices that include star schema design, clear naming and reduced complexity. This does not require every model to look the same. The goal is to make relationships, table roles and measure definitions unambiguous. 5.1 Star schema In a star schema, fact tables store events or numeric values and dimension tables provide context such as customer, product, time and region. This structure helps users and AI systems distinguish what is being measured from the dimensions used to break down the result. A complex snowflake model, numerous helper tables and several possible filter paths may be technically justified, but they make interpretation more difficult. If the physical model cannot be simplified, use the AI data schema to narrow the part exposed to Copilot. 5.2 Relationships and filter direction Relationships should reflect the actual data logic. Review their cardinality, active status and filter direction. Bidirectional relationships and multiple alternative paths can produce unexpected results, particularly when a question does not specify enough context. Document inactive relationships and special rules used by selected measures. If analysing sales by shipping date requires different logic from analysing by order date, users need to know how to phrase the question and the model should provide clearly differentiated measures. 5.3 Explicit DAX measures Explicit DAX measures place approved business logic in one location. They provide a safer basis for answers than ad hoc aggregation of numeric columns. Each measure should have a clear name, correct format, useful description and a business owner. Before making a model available to Copilot, check: whether official KPIs are implemented as measures; whether similar or duplicate names remain in the model; whether the result format matches the business meaning; whether measures work correctly across filters and aggregation levels; whether technical fields and helper measures are hidden from users; whether results have been reconciled with reference reports. 6. Prep data for AI in Power BI Prep data for AI is a collection of tools that saves configuration at semantic model level rather than on an individual report. This matters because one model can support multiple reports. A change to the AI schema or instructions may therefore affect more than one use case. Microsoft describes four elements used to prepare a model for natural-language interaction: the AI data schema, verified answers, AI instructions and descriptions. These elements do not work in exactly the same way across every Copilot experience. Test the configuration in the same experiences that users will access. Mechanism Purpose When it is particularly useful What it does not replace AI data schema Defines the subset of tables, columns and measures made available to Copilot When a model is large or contains technical fields and similar measures Data cleansing and correct relationships Verified answers Connect approved visuals to trigger phrases For frequent or ambiguous questions that need a consistent interpretation Source data testing and access controls AI instructions Provide rules, definitions and business context When the organisation uses terms whose meaning cannot be inferred from field names Official measures and an unambiguous model Descriptions Document the meaning of tables, columns and measures When an object’s name does not fully explain its use Instructions that cover rules across the domain 6.1 AI data schema The AI data schema limits the part of the model that Copilot considers when answering questions about data. Do not expose the entire schema by default. Technical tables, key fields, unused measures and objects created only to support a report increase the number of possible interpretations. A well-designed AI schema should include official dimensions, approved measures and the fields required for common analyses. Review the scope with business process owners. A schema that is too narrow will prevent valid questions from being answered, while one that is too broad may increase ambiguity. 6.2 Verified answers Verified answers connect an approved visual to defined trigger phrases. They are useful when users frequently ask about the same indicator or use several terms with a similar meaning. Consider a question about sales by area. In one organisation, area may mean a geographic region; in another, it may refer to a product group. A verified answer can direct the relevant wording to a visual that has already been checked. The underlying measure, filters and permissions still need to be tested. For each verified answer, record an owner, the supported questions, the metric source and the date of the latest review. A change to the indicator definition or report structure should trigger another validation. 6.3 AI instructions AI instructions give Copilot context that the model structure alone cannot express easily. They can explain organisational terminology, preferred measures, rules for interpreting periods and relationships between concepts. For example, an instruction may state that an active customer is one who purchased in the past 90 days and that peak season covers June to August. It should use the exact names of model objects and short, testable rules. Instructions are not a security control and do not guarantee that every rule will be followed. Microsoft notes that the language model treats them as guidance. Important financial and operational definitions should still be implemented through measures, relationships and data governance processes. 6.4 Descriptions for model objects Descriptions should explain an object’s meaning, intended use and relevant limitations. Instead of sales value, specify that the measure represents net revenue after discounts and returns, in the reporting currency and by invoice date. According to Microsoft’s current documentation, descriptions do not affect every Copilot capability in the same way. They are used in selected search and DAX query scenarios. They are still worth maintaining because they improve model documentation and prepare the model for further development of AI features. 7. Business context for Copilot A model can be technically correct and still fail to reflect the language used in the business. The sales team may use the term active customer, finance may refer to recognised revenue and operations may discuss a closed order. Each concept needs a definition and an owner. A business glossary is a useful starting point. It should include: the term and its accepted synonyms; a definition approved by the business owner; the corresponding table, column or measure in Power BI; the applicable time, currency, scope and aggregation rules; exceptions and situations in which the metric should not be used; the person responsible for approving changes. The glossary should not exist only outside Power BI. Transfer its most important information into names, descriptions, measures, AI instructions and verified answers. Otherwise, users and Copilot will continue to work with incomplete context. 8. Data security and governance Copilot makes it easier to ask questions, but the core access principle remains the same: users should only have access to the data required for their role. Review workspace and model permissions, row-level security roles, object-level security, Microsoft Entra groups and the way reports and models are shared. The control design should also reflect Microsoft’s guidance on the privacy, security and responsible use of Copilot in Microsoft Fabric. Write permissions require particular attention. In Power BI, the enforcement of row-level security depends in part on the user’s role and permissions for the model. Testing should use accounts that represent real user roles, not only an author or administrator account. Check whether object names, descriptions and report metadata reveal information that a user should not see. Microsoft’s documentation on using Copilot with semantic models states that, in Power BI Desktop, metadata from the current report page may in some situations be used as grounding data and may contain data values. A security assessment should therefore cover both the records and the descriptive layer of the model. Governance should define: who may prepare a model for AI use; who approves definitions and verified answers; which models may be marked as Approved for Copilot; how often regression tests are run; how incorrect answers are reported and analysed; when a model change requires renewed approval. 9. Testing Copilot answers A test should involve more than one sample question. Build a set of scenarios that reflects the language and needs of users. For each question, define the expected measure, filter scope, source of the reference value and acceptable presentation. Test type Example What to assess Basic question What were net sales last month Selection of the measure, period and value format Synonym Show turnover by region Whether the user’s language maps correctly to the official concept Ambiguous question Show the result for each area Whether Copilot asks for clarification or selects the approved interpretation Complex filters Sales to manufacturing customers in Poland last quarter Accuracy of all filters and relationships Permissions The same question asked by users from different regions Whether each user sees only the permitted data scope Change resilience Repeating tests after a measure or relationship changes Whether the update has degraded previously correct answers Assessment should cover the numeric result and how Copilot arrived at the answer. Where available, diagnostic information about how Copilot created an answer can help with investigation. The explanation of the mechanism is not proof that the result is correct. The approved metric and controlled data set remain the reference point. Copilot outputs are nondeterministic. The same prompt and grounding data can therefore produce different results. In some experiences, however, asking the same question within 24 hours while the model remains unchanged may return a cached answer. Testing is not intended to prove that every answer will always be identical. It should show that the model directs Copilot to the right data, common questions receive correct answers and users understand the known risks and limitations. 10. Common mistakes when preparing Power BI for AI 10.1 Enabling Copilot before cleaning up the model The team focuses on licensing and settings but does not review names, relationships and measures. Copilot is enabled on a model that analysts already found difficult to use. The result is ambiguous answers and a rapid loss of user trust. 10.2 Exposing the entire schema Every table and field is included in the AI data schema, including technical keys, helper measures and unused objects. More elements do not necessarily provide better context. In a large model, they can make it harder to select the correct field. 10.3 Treating AI instructions as a substitute for modelling The instructions attempt to explain dozens of exceptions that should be implemented in measures and model rules. Such a document is difficult to test and maintain. The more important the rule, the stronger the case for enforcing it in the model or data process rather than describing it only in natural language. 10.4 No ownership of metrics Analysts create verified answers without formal confirmation of which indicator definition is authoritative. When results differ, no one knows who can approve a change or which value should be used as the reference. 10.5 Testing only by model authors Model authors know the names and data structure, so they ask questions that fit the design. Business users rely on abbreviations, synonyms and incomplete terms. Tests need to include real questions collected from intended users. 10.6 No regression testing after changes A change to a measure definition, relationship, field name or report can affect earlier scenarios. Without regression testing, the organisation cannot know whether the model remains ready for Copilot. 11. Power BI Copilot readiness checklist [ ] We have identified owners for data, models and key metrics. [ ] Source data is subject to repeatable quality and freshness checks. [ ] Official KPIs have unambiguous definitions and explicit DAX measures. [ ] Table, column and measure names match the language used by the business. [ ] Technical, unused and supporting fields are hidden or removed from the AI scope. [ ] Data types, formats, categories and the date table are configured correctly. [ ] Relationships use the correct cardinality and do not create ambiguous filter paths. [ ] We have defined an AI data schema that includes only the required objects. [ ] Common and ambiguous questions have verified answers where appropriate. [ ] AI instructions explain terminology and rules that cannot be inferred from the model structure. [ ] Tables, columns and measures have useful descriptions. [ ] We have checked tenant settings, capacity, licensing and current feature limitations. [ ] We have tested RLS roles, permissions and model access with test user accounts. [ ] The test set covers basic questions, synonyms, ambiguity and complex filters. [ ] Copilot results are compared with approved reports or reference values. [ ] We have defined a process for reporting incorrect answers and revalidating the model. [ ] If the organisation uses the Approved for Copilot setting, which is currently in preview, the model is marked only after testing is complete. 12. Preparing the organisation to use Copilot Even a well-prepared model will not help if users do not know how to interpret the answers. Implementation should include short training, sample questions, an explanation of the data scope and rules for validating results. Make clear which scenarios provide decision support and which require review by an analyst or process owner. A pilot based on one model with a clearly defined scope is a practical starting point. It allows the team to collect user questions, assess ambiguity and build a test set before extending the feature to other areas. The pilot should have completion criteria, such as correct handling of priority scenarios, approval from metric owners and no critical permission issues. After launch, monitor usage, capacity cost, user reports and changes to Microsoft’s documentation. AI readiness requires ongoing monitoring and another round of testing after material changes. 13. Why TTMS Preparing Power BI for Copilot requires skills in data integration, semantic modelling, Power BI, Microsoft Fabric, security and user adoption. Focusing only on the Copilot interface does not address problems in data sources, transformations and business definitions. An engagement with TTMS can cover an assessment of existing model readiness, improvements to the data layer, changes to relationships and measures, and preparation of the test approach. Prep data for AI configuration should follow confirmation of the environment requirements and agreement on the scope of work. The engagement may focus on one pilot model or a programme spanning multiple domains and teams. A practical engagement may include: An inventory of data sources, models, reports and user groups. An assessment of data quality, model architecture and the risk of ambiguous answers. Agreement on official metrics and a glossary of business concepts. Semantic model optimisation and configuration of the AI data schema, verified answers and AI instructions. Functional, regression, security and performance testing. Preparation of governance rules, documentation and user materials. Model maintenance and renewed validation after changes to data or Microsoft features. The intended result is a model whose structure is clear to analysts and business users, with Copilot answers that can be assessed against approved definitions. The aim is to reduce ambiguity and establish a quality-control process. Even a well-prepared model cannot guarantee error-free generative AI output. 14. Discuss Power BI AI readiness If your organisation uses Power BI and plans to make Copilot available, start with a review of the data and semantic models. TTMS can help define the pilot scope, identify gaps and prepare a roadmap from data sources through to user testing. Contact TTMS to discuss preparing your Power BI and Microsoft Fabric environment for the secure use of AI capabilities. 15. FAQ Who should own a Power BI semantic model prepared for Copilot? A semantic model prepared for Copilot should have clearly assigned owners for data quality, KPI definitions and model maintenance. Ownership helps ensure that business terms, measures and AI configurations remain accurate as data sources, processes and reporting requirements evolve. How large should the AI data schema be? The AI data schema should include only the tables, columns and measures needed for common business questions. Exposing too many technical objects can increase ambiguity, while an overly restrictive schema may prevent Copilot from answering valid questions. Can Power BI Copilot use business terminology that does not exist in the data model? Copilot can better understand business terminology when organisations provide context through measure names, descriptions, AI instructions and verified answers. However, important business concepts should still be represented directly in the semantic model whenever possible. When should a Power BI model be revalidated for Copilot? A model should be revalidated after significant changes to data sources, KPI definitions, relationships, security settings, AI configurations or Microsoft Copilot features. Regular regression testing helps confirm that previously validated scenarios still return correct results. Is preparing a model for Copilot a one-time project? No. Copilot readiness should be treated as an ongoing governance process rather than a one-time implementation task. As data, business definitions and AI capabilities change, organisations need to review model quality, test key scenarios and update documentation on a regular basis.
ReadThe world’s largest corporations have trusted us
We hereby declare that Transition Technologies MS provides IT services on time, with high quality and in accordance with the signed agreement. We recommend TTMS as a trustworthy and reliable provider of Salesforce IT services.
TTMS has really helped us thorough the years in the field of configuration and management of protection relays with the use of various technologies. I do confirm, that the services provided by TTMS are implemented in a timely manner, in accordance with the agreement and duly.
Ready to take your business to the next level?
Let’s talk about how TTMS can help.
Sunshine Ang Sen Shuen
Sales Manager