Automated QA
The Automated QA (com.unity.automated-testing
) package enables users to record and playback touch or drag interactions with the UI of a Unity Project and optionally use recordings to drive Unity Tests – in the editor, on an iOS or Android device.
Disclaimer & Limitations:
- This is an experimental package with volatile features. New versions may include breaking changes.
- Unity 2019.4 or above required
- Recording is currently limited to UI elements implemented with Unity UI
Installation
- With your project open in the Unity Editor, open the Package Manager (Window > Package Manager).
- Press the plus button (
+
) in the top left of Package Manager and then select "Add package from git URL...". - 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 an Android phone in a cloud device farm.
Advanced/Experimental Features
Composite Recordings
Create recordings from recording segments in order to minimize duplication of playthrough logic.
Automators
Create automated playthroughs from recording segments and C# scripts (e.g. cheat codes or bots).
Email us at AutomatedTesting@unity3d.com with any questions!