Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能否支持FairyGUI? #18

Closed
HustLion opened this issue Apr 11, 2017 · 1 comment
Closed

能否支持FairyGUI? #18

HustLion opened this issue Apr 11, 2017 · 1 comment

Comments

@HustLion
Copy link

FairyGUI编辑界面非常方便,经过初步测试(使用UGUI的包),能够获取到组件,但是点击不成功。

2017-04-11 20:57:22,352 - INFO - manager.py:104 - wpyscripts.manager - None
2017-04-11 20:57:22,353 - INFO - manager.py:106 - wpyscripts.manager - host: 127.0.0.1 port: 53001

2017-04-11 20:57:22,502 - DEBUG - uiautomator_manager.py:34 - wetest - Start UIAutomator
2017-04-11 20:57:25,511 - DEBUG - uiautomator_manager.py:37 - wetest - Exit uiautomator
2017-04-11 20:57:25,730 - DEBUG - ShopUiTest.py:14 - wetest - Version Information : Engine = Unity3D 5.5.2f1,WeTest SDK = 1.3.2,UI=UGUI
2017-04-11 20:57:25,837 - DEBUG - ShopUiTest.py:17 - wetest - Scene :   UIScene
2017-04-11 20:57:25,858 - DEBUG - ShopUiTest.py:20 - wetest - Button : GameObject /UIPanel/mainFrame/btnMain Instance = -314
2017-04-11 20:57:26,063 - DEBUG - ShopUiTest.py:22 - wetest - Button2 : GameObject /UIPanel/mainFrame/btnSettings Instance = -346

FairyGUI网址:http://www.fairygui.com/

@wukenaihe
Copy link
Collaborator

查找控件其实跟UI组件都是无关的,只是跟unity相关。你可以用GAutomatorView看下,是否UI组件的大小位置信息查找准确?

如果查找不成功或者点击失败,还有一种可能是u3dautomation.jar没有集成成功。你可以用apktool反编译,看下有没有com.tencent.wetest这个包下面的类。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants