python自动测试g_GAutomator是一个针对Unity手游的UI自动化测试框架

GAutomator

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7765746573742d677265656e2e737667

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.

1.gif2.gif

Usage

integrate your game with GAutomator SDK as docs

write your iOS or Android testing scripts( see GAutomatorAndroid and GAutomatorIos for details)

GAutomatorAndroid

python test project for games on Android(with Unity/UE4 UI interaction)

GAutomatorIos

python scripts library for games on iOS(with Unity UI interaction)

GAutomatorSDK

SDK source code . In order to interact with Game Engine Elements, the SDK is required to be integrated to game.

wt-wda

A project based on WebDriverAgent used for iOS testing.

Contact

For more information about contributing issues or pull requests, Issues,your can also contact(QQ:800024531)

GAutomator

68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7765746573742d677265656e2e737667

GAutomator是一个针对手游的UI自动化测试框架。设计理念与使用方式,类似于Android的UIAutomator。GAutomator以引擎中的元素为操作对象(如Unity中的GameObject),通过操作GameObject实现UI自动化测试。基于GameObject的方式,不存在手机分辨率适配的问题,一份脚本能够运行在不同手机之上。基于GameObject的另外一个优点为鲁棒性较强,游戏的UI界面经常发生变化,GameObject变化频率相对较低。

1.gif2.gif

基本使用步骤

集成GAutomator SDK到游戏中,参照docs

编写Android或者iOS的python自动化脚本实现游戏交互(参照GAutomatorAndroid以及GAutomatorIOS中的说明)

GAutomatorAndroid

针对android游戏的Python测试工程。(目前支持Unity与UE4引擎的交互)

GAutomatorIos

针对iOS游戏的Python库。(目前支持Unity引擎交互)

GAutomatorSDK

GAutomator SDK的源码。为了实现测试脚本或工具与游戏引擎的交互,需要将GAutomator SDK集成到游戏包中。

wt-wda

一个基于WebDriverAgent的工程,用于iOS自动化测试。

联系

bug,需求或使用过程中的疑问均可直接发布在Issues,有专人负责回答。也可直接联系wetest助手(800024531)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值