GAutomator(Game Automator) is an open source test automation framework for mobile games. Designed just like android uiautomator, GAutomator also includes ui automator functions. GAutomator interacts with engine elements such as GameObject(GameObjects are the fundamental objects in Unity that represent characters, props and scenery) . GameObject-based approach will not suffer from device resolution adaptation problems so that a single testing script is able to be executed on various devices.
- integrate your game with GAutomator SDK as docs
- write your iOS or Android testing scripts( see GAutomatorAndroid and GAutomatorIos for details)
python test project for games on Android(with Unity/UE4 UI interaction)
python scripts library for games on iOS(with Unity UI interaction)
SDK source code . In order to interact with Game Engine Elements, the SDK is required to be integrated to game.
A project based on WebDriverAgent used for iOS testing.
For more information about contributing issues or pull requests, Issues,your can also contact(QQ:800024531)
GAutomator是一个针对手游的UI自动化测试框架。设计理念与使用方式,类似于Android的UIAutomator。GAutomator以引擎中的元素为操作对象(如Unity中的GameObject),通过操作GameObject实现UI自动化测试。基于GameObject的方式,不存在手机分辨率适配的问题,一份脚本能够运行在不同手机之上。基于GameObject的另外一个优点为鲁棒性较强,游戏的UI界面经常发生变化,GameObject变化频率相对较低。
- 集成GAutomator SDK到游戏中,参照docs
- 编写Android或者iOS的python自动化脚本实现游戏交互(参照GAutomatorAndroid以及GAutomatorIOS中的说明)
针对android游戏的Python测试工程。(目前支持Unity与UE4引擎的交互)
针对iOS游戏的Python库。(目前支持Unity引擎交互)
GAutomator SDK的源码。为了实现测试脚本或工具与游戏引擎的交互,需要将GAutomator SDK集成到游戏包中。
一个基于WebDriverAgent的工程,用于iOS自动化测试。
bug,需求或使用过程中的疑问均可直接发布在Issues,有专人负责回答。也可直接联系wetest助手(800024531)