docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    UI Test Framework

    The UI Test Framework package facilitates automated testing for UI Toolkit-based UI. It provides a set of APIs that help you simulate user interactions, manage UI state, and verify UI behavior.

    Topic Description
    Install and set up UI Test Framework Add the UI Test Framework package to your project and configure it for automated UI testing.
    Test with test fixtures Use test fixtures to gain precise control over UI timing and updates. This approach enables a synchronous workflow, allowing you to manage UI state directly and achieve faster, more stable test execution.
    Simulate UI interactions Trigger clicks, text input, and other user actions on UI elements to test interactive workflows and ensure correct UI behavior.

    Additional resources

    • UI Toolkit documentation
    • Unity Test Framework documentation
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)