[Update 2022] AltUnity Tester becomes AltTester Unity SDK starting with v. 1.8.0 and similarly, AltUnity Inspector becomes AltTester Desktop starting with v. 1.5.0 and they are both available here.
This comes with a series of major changes:
1. AltTester Unity SDK is now available only through our website and is no longer available on the Unity Asset Store
2. We moved the AltTester Unity SDK project from GitLab to GitHub.
This is a small release in which we fixed several bugs caused by 1.5.0.
We also made some improvements on the GUI and added a new command GetPNGScreenshot which will make a screenshot of the game in png format.
For more details about all the changes check: https://gitlab.com/altom/altunity/altunitytester/blob/master/CHANGELOG.md
This update was mostly focused on refactoring the project to make it easier in future to implement new features. We also make the C# driver to be independent from Unity in case someone wants to write C# tests but doesn’t have Unity.
We changed how we find objects in the scene. Now, aside from name, components and id, you can also find objects by their layer or tag. We added a new way of giving the path to the objects, in an xpath style making easier to find objects. We kept the old methods of finding objects but we marked them obsolete and they will be removed in 1.6.0.
New command SetText was added which will set the text of the object. GetText and SetText will now work also with TextMeshPro.
Now when building with AltUnityTester you will notice a pop up that will display the version and the port on which it’s running. The purpose of this is to have an easier way to see if the build contains AltUnityTester or not. It also adds the ability to reset the server manually if somehow the server crashes during testing.
Thanks to Ka3u6y6a who also added GetText and SetText commands, now you can see the clicks and swipes on the screen represented as a red dot.
- Improved the visibility of information on a smaller window size.
- Improved test results visualisation
- Added icons
- Now double clicking on test will open the test file
You can access the documentation for AltUnityTester 1.5.0 here https://altom.gitlab.io/altunity/altunitytester. We will update this as new features come along and we’ll keep the older versions which still have relevant information.
In the next couple of weeks we will release an example of multiple devices using https://assetstore.unity.com/packages/essentials/tutorial-projects/tanks-reference-project-80165 as sample project.