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

demo无法运行,游戏已经拉起,但无法运行demo #42

Open
NickyWu123 opened this issue Mar 21, 2018 · 1 comment
Open

demo无法运行,游戏已经拉起,但无法运行demo #42

NickyWu123 opened this issue Mar 21, 2018 · 1 comment

Comments

@NickyWu123
Copy link

wutianyang$ python sample.py
2018-03-21 16:57:47,722 - INFO - manager.py:104 - wpyscripts.manager - None
2018-03-21 16:57:47,722 - INFO - manager.py:106 - wpyscripts.manager - host: 127.0.0.1 port: 53001

2018-03-21 16:57:47,756 - DEBUG - uiautomator_manager.py:35 - wetest - Start UIAutomator
2018-03-21 16:57:50,764 - DEBUG - uiautomator_manager.py:38 - wetest - Exit uiautomator
Traceback (most recent call last):
File "sample.py", line 196, in
main()
File "sample.py", line 190, in main
test_interaction()
File "sample.py", line 33, in wrapped
enter = engine.find_element(button)
File "/Users/wutianyang/Desktop/GAutomator-master/wpyscripts/wetest/engine.py", line 155, in find_element
ret = self.socket.send_command(Commands.FIND_ELEMENTS, [name])
File "/Users/wutianyang/Desktop/GAutomator-master/wpyscripts/common/socket_client.py", line 111, in send_command
raise e
wpyscripts.common.wetest_exceptions.WeTestSDKError: recv length is None?

模拟器是genymotion,在模拟器打开了demo,然后运行sample.py 显示此异常

@wukenaihe
Copy link
Collaborator

@NickyWu123 确认下adb是否可以正常使用.where adb能够确认adb是否已成功设置成环境变量

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