docs.unity3d.com
    Show / Hide Table of Contents

    Automated QA

    The Automated QA (com.unity.automated-testing) package enables users to create Unity Tests from recordings of touch and drag interactions with the UI of a Unity Project and run Unity Tests on iOS and Android devices in our cloud device farm (hosted and managed by Unity) - tests can be executed from the Unity editor, command line, or your continuous integration (CI) pipeline.

    Limitations:

    • Unity 2019.4 or above required

    Installation

    1. With your project open in the Unity Editor, open the Package Manager (Window > Package Manager).
    2. Press the plus button (+) in the top left of Package Manager and then select "Add package from git URL...".
    3. Enter com.unity.automated-testing in the text box and then press "Add".

    Main Features

    Recorded Playback

    Record touch or drag input on Unity UI Elements to automate interaction with the UI of a Unity Project.

    Recorded Testing

    Use recordings (recorded playbacks) to drive Unity Test Framework Tests - in the editor, on a local device, or on iOS and Android devices in Unity's cloud device farm.

    Cloud Device Testing from the Command Line (or CI pipeline)

    Run Unity Test Framework Tests on Unity's cloud device farm from the command line or your continuous integration (CI) pipeline.

    Advanced/Experimental Features

    Automators

    Create automated playthroughs from recording segments and C# scripts (e.g. cheat codes or bots).

    Reporting

    View an HTML report summarizing the results of each recorded playback or recorded test.

    Settings

    Customizable variables/settings can be changed in the Settings editor window (Automated QA Hub > Settings). These will be loaded and used by future test runs.

    Custom variables can be created and stored through this window and referenced in Automators using AutomatedQASettings.Get[DataType]FromCustomSettings(string key).

    Email us at AutomatedQA@unity3d.com with any questions!

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023