User Acceptance Testing

Earn 25 points (50 with Pro) in two steps

  1. ① Read through the lesson — each section gets a ✓ as you scroll through it.
  2. ② When every section has a ✓, tap Complete lesson.

0 of 11 read · keep scrolling

✦ See fewer ads and earn double points — 50 a lesson instead of 25 — with Pro

Lesson: Mastering User Acceptance Testing (UAT) in Data Migration

Introduction: Why UAT is the Final Gatekeeper

In the lifecycle of a complex data migration project, the technical team often breathes a sigh of relief once the data has been successfully extracted, transformed, and loaded (ETL) into the target environment. However, technical success—where the database schema matches and the record counts align—is only half the battle. The true measure of a migration's success lies in whether the business users can actually perform their jobs using the new environment. This is where User Acceptance Testing (UAT) becomes the most critical phase before a system goes live.

UAT is the final stage of the testing process where actual business users verify that the migrated data and the new system meet their functional requirements and support their daily workflows. Unlike unit testing or integration testing, which focus on code coverage and system stability, UAT focuses on "fitness for purpose." It answers the question: "Does this system allow us to conduct our business as effectively, or better, than we did before?" Neglecting this phase is the primary cause of post-migration frustration, data integrity complaints, and, in severe cases, the need for a costly rollback.

By the time you reach UAT, you have already verified that your scripts run without error and that the data volume matches the source. Now, you must shift your perspective from that of a developer to that of a business owner. This lesson will guide you through the intricacies of planning, executing, and finalizing UAT, ensuring that your migration is not just technically sound, but operationally ready.


Not read yet

The Core Objectives of UAT

Before diving into the "how," it is vital to understand the "why." The objectives of UAT in a migration context differ slightly from standard software development testing. While standard UAT focuses on features, migration UAT focuses on the state of the data within those features.

  • Data Accuracy Verification: Users must verify that the migrated data appears correctly in the user interface. A record might exist in the database, but if a field is truncated or a date format is confusing to the end-user, the data is effectively unusable.
  • Workflow Continuity: Business processes often rely on specific sequences of data. UAT ensures that the migration hasn't broken these chains. For instance, if an invoice is migrated, can a user still click a link to view the associated customer profile, or does that link point to a null value?
  • Performance Perception: Users will notice if the system feels sluggish compared to the legacy environment. UAT provides a window into whether the new infrastructure handles the migrated data set with the speed users expect.
  • Edge Case Identification: Developers often test using clean or standardized data. Business users, however, have a knack for finding the "weird" records—the legacy accounts with missing tax IDs or the orders placed in a discontinued currency—that break the system.

Callout: UAT vs. System Integration Testing (SIT) It is common to confuse UAT with SIT. System Integration Testing is conducted by the development team to ensure that different modules and databases communicate correctly. UAT is conducted by business stakeholders to ensure the system supports their specific business needs. SIT finds technical bugs; UAT finds business gaps.


Not read yet

Preparing for UAT: The Foundation of Success

You cannot simply hand a system to a business user and expect them to provide useful feedback. Proper preparation is the difference between a productive testing session and a chaotic one.

1. Defining the Scope

You must clearly define what the users are testing. Are they testing the entire application, or just the specific modules affected by the data migration? If you try to test everything at once, the scope will become unmanageable. Focus the UAT plan on high-risk areas, such as financial records, customer personal information, and active project files.

2. Selecting the Right Testers

The individuals chosen for UAT should be "power users." These are the people who use the legacy system every single day. They know the shortcuts, the workarounds, and the common pitfalls. Avoid choosing managers who have not used the system recently; they may not understand the granular details of how the data is actually used.

3. Creating Realistic Test Scenarios

Do not provide a generic checklist like "Check if the customer name is there." Instead, create scenarios that mimic real-world tasks. For example: "Search for a customer who has had three service requests in the last year, open their most recent request, and verify the billing address matches the current invoice." This forces the user to navigate the system, not just look at a screen.


Not read yet

Designing the UAT Process: A Step-by-Step Guide

To ensure a smooth testing cycle, follow this structured approach.

Step 1: Establish the Testing Environment

The UAT environment must be a mirror of the production environment. It should contain the migrated data, be hosted on the same infrastructure, and include the same security configurations. If the testing environment is "watered down" or lacks the full volume of data, the results will not be representative of reality.

Step 2: Develop Detailed Test Scripts

Provide testers with clear, step-by-step instructions. Each test script should include:

  • Test ID: A unique identifier for tracking.
  • Description: The goal of the test.
  • Pre-conditions: What state the system needs to be in before the test starts.
  • Steps: Clear actions to take (e.g., "Click the 'Export' button," "Select 'PDF' format").
  • Expected Result: What should happen if the migration was successful.
  • Actual Result: A space for the user to document what actually happened.

Step 3: Conduct a "Kick-off" Session

Before testing begins, spend time with the testers. Explain why the migration happened, what changed, and how to report issues. If they do not understand how to log a defect (e.g., providing screenshots, the specific record ID, and the steps to reproduce), the feedback you receive will be unusable.

Step 4: The Execution Phase

During the execution phase, monitor the incoming feedback closely. You will likely see a surge of issues in the first 48 hours. Categorize these issues immediately as "Critical," "High," "Medium," or "Low."

Note: Always prioritize issues that prevent a user from completing a core business function. A cosmetic issue (like a misaligned logo) should not hold up a Go-Live if the data migration itself is verified.


Not read yet

Practical Examples and Code Snippets

When users report that data is "wrong," you need to be able to trace that data back to the source. Below is a simple way to use SQL to perform a validation check that you can provide to testers to help them confirm their findings.

Example: Validating Migrated Customer Balances

Suppose a user reports that a customer's balance looks incorrect. You can provide them with a simple script or a pre-populated report to verify the data against the source system.

-- Query to compare source and target for a specific customer
SELECT 
    s.customer_id, 
    s.balance AS source_balance, 
    t.balance AS target_balance,
    (s.balance - t.balance) AS discrepancy
FROM source_db.customers s
JOIN target_db.customers t ON s.customer_id = t.customer_id
WHERE s.customer_id = 'CUST-99821';

If the discrepancy is not zero, the user has identified a genuine migration bug. You should encourage users to report the customer_id and the specific fields that seem off so that your team can run these types of validation queries.

Handling Data Transformations

Sometimes, data is not "wrong," but rather transformed according to new business logic. You must document these transformations clearly. For instance, if the migration mapped "Status: 1" to "Status: Active," make sure the users have a translation key.

# Example: A simple script to verify mapping logic during UAT
def verify_status_mapping(source_status, target_status):
    mapping_rules = {
        '1': 'Active',
        '2': 'Inactive',
        '3': 'Pending'
    }
    expected = mapping_rules.get(source_status)
    if expected == target_status:
        return True
    else:
        return False

# Use this logic to bulk-check records during validation

Not read yet

Best Practices for UAT Management

To keep the UAT process efficient, adhere to these industry-standard practices:

  • The "Defect Triage" Meeting: Hold a daily meeting with the core project team and lead testers. Discuss the defects found that day, clarify any misunderstandings, and decide which issues need immediate fixing versus which can be deferred.
  • Avoid "Feature Creep": UAT is for validating the migration, not for requesting new features. If a user says, "It would be great if this button were blue," remind them that this is outside the scope of the migration and should be logged as a post-migration enhancement request.
  • Version Control for Feedback: Use a centralized tool (like Jira, Azure DevOps, or even a shared spreadsheet) to track every reported issue. Never accept feedback via informal channels like chat messages or hallway conversations, as these are easily lost.
  • Retesting is Mandatory: When a developer fixes an issue identified in UAT, the original tester must re-verify the fix. Do not assume that a technical fix automatically solves the business problem.

Warning: Never allow the development team to "self-verify" their fixes for UAT defects. The person who wrote the code is often blind to the nuances of the business process. The original tester must be the one to sign off that the fix works for them.


Not read yet

Common Pitfalls and How to Avoid Them

Even with the best planning, migration UAT can go off the rails. Here are the most frequent mistakes and how to prevent them:

1. The "Clean Data" Trap

Mistake: Testing only with "perfect" records. Solution: Ensure that at least 20% of your test data consists of "dirty" or "legacy" records. These are the records that usually contain null values, special characters, or historical anomalies. If your system handles these, it will handle anything.

2. Lack of Business Context

Mistake: Providing testers with technical documentation instead of business workflows. Solution: Translate technical requirements into "Day in the Life" documents. If a user is a salesperson, their UAT guide should look like a sales cycle, not a database schema.

3. Ignoring Performance under Load

Mistake: Testing the system with only one user logged in. Solution: If possible, coordinate a "stress test" during UAT where multiple users are performing tasks simultaneously. This reveals if your database indexes are optimized for concurrent access.

4. Delayed Feedback Loops

Mistake: Waiting until the end of the week to review issues. Solution: Use a real-time dashboard to track testing progress. If a tester is stuck on a step, you should know within an hour, not at the end of the week.


Not read yet

Quick Reference: UAT Readiness Checklist

Category Item Status
Environment Is the UAT environment a replica of production? [ ]
Data Has a full production-like data snapshot been loaded? [ ]
Access Do all testers have their credentials and correct permissions? [ ]
Scripts Are the test scenarios documented and reviewed? [ ]
Support Is there a dedicated technical contact for testers? [ ]
Exit Criteria Is there an agreed-upon definition of "Success"? [ ]

Managing the "Go/No-Go" Decision

The culmination of UAT is the Go/No-Go decision. This is a formal meeting where stakeholders review the results of the UAT phase. You must present the data clearly: how many tests passed, how many failed, and what the impact of the outstanding issues is.

If there are outstanding issues, categorize them into:

  1. Blockers: These prevent the system from being used. You cannot go live.
  2. Major Issues: These impact workflows but have workarounds. You can go live with a plan to fix these immediately after.
  3. Minor Issues: Cosmetic or low-impact issues. These can be deferred to a later release.

Be honest about the risks. If you go live with outstanding major issues, ensure that the business leadership is aware of the potential for manual workarounds and the impact on employee productivity.


Not read yet

Deep Dive: Handling Data Integrity Issues

A specific type of UAT issue that often arises is the "Data Integrity" issue. This occurs when the data exists, but it feels "wrong" to the user. Perhaps the historical sales data is showing up, but the date stamps are formatted in a way that makes sorting difficult.

When a user reports a data integrity issue, follow this diagnostic path:

  1. Verify the Source: Does the issue exist in the legacy system? Sometimes users don't realize that the data was always incorrect in the legacy system; they are just noticing it now because the new system makes it more visible.
  2. Check the ETL Log: Did the transformation script intentionally change the data? If so, is that transformation documented?
  3. Assess the Impact: Does this specific data affect financial reporting or legal compliance? If so, it must be fixed. If it is just a historical record that is rarely accessed, you might decide to accept the data as-is to avoid delaying the project.

Callout: The "Data Quality" Paradox A migration project is often the first time a company has truly looked at its data in years. You will inevitably find "junk" data. UAT is not the time to clean up years of poor data entry practices. Focus on ensuring the data is as good as it was in the source, rather than trying to perfect it during the migration.


Not read yet

The Role of Communication During UAT

Communication is the invisible thread that holds UAT together. You are acting as a bridge between the technical team (who speak in terms of schemas and latency) and the business team (who speak in terms of revenue and efficiency).

  • Be Transparent: If a bug is going to take three days to fix, tell the testers immediately. Do not leave them wondering why their reported issue hasn't been addressed.
  • Celebrate Small Wins: When a tester confirms that a complex scenario works, acknowledge it. This keeps morale high, as UAT can be tedious and exhausting.
  • Manage Expectations: Remind everyone that UAT is not a "perfect" state. It is a validation state. There will be bugs; the goal is to find them now, not on the first day of production.

Finalizing the Cutover Plan

Once UAT is successfully completed and the Go/No-Go decision is "Go," you must transition the lessons learned during UAT into your Cutover Plan. The issues that were identified during UAT—even the ones that were fixed—should inform your "sanity checks" for the actual Go-Live day.

For example, if a tester found that a specific sequence of operations caused a timeout in UAT, add a step in your Go-Live checklist to monitor that exact sequence during the first hour of production. This turns your UAT effort into a long-term operational asset.


Not read yet

Key Takeaways for Success

As you conclude this lesson, keep these seven core principles in mind to ensure your UAT phase is a success:

  1. Start Early: Plan your UAT scenarios while the migration is still being developed. Do not wait until the system is "finished" to start thinking about how to test it.
  2. Focus on Business Outcomes: Always prioritize the user's ability to perform their job over technical perfection. If the data is correct but the workflow is blocked, the migration has failed.
  3. Use Real-World Data: Synthetic or "clean" data will hide the very issues that will cause a system failure in production. Use a masked version of your actual production data.
  4. Involve Power Users: Ensure your testers are the people who know the system's quirks inside and out. Their intuition is your best defense against post-migration surprises.
  5. Formalize the Feedback Loop: Every issue must be logged, categorized, and tracked. If it isn't tracked, it doesn't exist.
  6. Define Success Clearly: Before testing begins, ensure everyone agrees on what "ready for production" looks like. This prevents endless cycles of "one more fix."
  7. Plan for the "Human Element": UAT is stressful for users who are already busy with their day jobs. Provide them with support, clear instructions, and recognition for their critical contribution to the project.

By following these steps, you transform UAT from a "check-the-box" activity into a powerful validation tool that ensures your migration adds value rather than frustration. You are not just moving data; you are ensuring the continued health and productivity of the business. Good luck with your next migration.

Not read yet

Each section gets a ✓ as you scroll through it. Tap the button to jump to the next one.