docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Customize test fixtures with UITestComponent

    UITestComponent is a powerful feature of the UI Test Framework that allows you to customize and extend the behavior of your test fixtures:

    Topic Description
    Add styles during testing Add styles to elements during testing.
    Clean up objects after tests Dispose or destroy objects at the end of each test.
    Simulate context menu actions Simulate user interactions with context menus.
    Simulate popup menu actions Simulate user interactions with popup menus.
    Create reusable test components Add your own test component.

    Additional resources

    • Simulate UI interactions
    • Test with test fixtures
    In This Article
    Back to top
    Copyright © 2026 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)