I wanted to automate android game which is build in UNITY. Can anyone suggest me how we can automate using appium.
I gave one try using APPIUM but my home screen has play button but it is not detecting that play button. it is taking whole screen as one frame and not showing content in between that.
Any type of suggestions are welcome.
Let me go through this and if it works will let you know the approach. In between can you see some other way to do automation. it will be a very grt help.
@Aleksei: i have to go through document for image recognition feature but can we use unity itself for this? Is Appium involvement is mandatory?
i saw this video “https://www.youtube.com/watch?v=RDee1OFl6YM” and they didnt use appium anywhere.
This approach is good but i don’t have clear picture about this.
Can you see this and give me some suggestions like how to start and what all things i need to start
I am working on test framework for UI testing of Unity3d application that’s called Puppetry. You can find source code here and its documentation on Wiki.
Puppetry can find a GameObject by its name and position in the hierarchy, and then emulate interaction with it (Click, SendKeys, DragAndDrop, Swipe, etc).To make validation and asserts you can check if GameObject is exist, is active in the hierarchy, plus get its component to check its value.
You can run UI testing against game launched in Editor or combine it with Appium, for example, to test the application on mobile devices. To use it on a device, Puppetry can provide screen coordinates of a GameObject, and you can click on them, or just use Puppetry’s click.
The framework is easy to combine with NUnit, XUnit or MSTest.