Comments (7)
@913496301 这个是bat脚本写法的问题,本身应该是支持的,你在调用的语句前加一句call试试。
call python main.py ****** *** **这样的
from gautomator.
我改成call这个了 还是不行。。目前是这样 需要两个设备进行交互 A设备执行a脚本到某一句的时候 os.system 执行bat 然后B设备执行b脚本 我改成call了之后 ab脚本都在A设备上执行。。。。
from gautomator.
@913496301 你不同手机执行的是不一样的脚本的,那我这个理解有误。你可以试下,os.system()
执行如下的。具体的描述请参考文档中的2.4 本地运行
python main.py --qqname=2952020110 --qqpwd=wetestpwd --engineport=50031 --uiport=19000 --serial=saaaweadf
你可以尝试下,这个我也没搞过。理论上可以的
from gautomator.
你好 我本机连接了两个设备
之后运行 python xxx.py --engineport=50031 --uiport=19000 --serial=devicesname
指定了其中一个设备
但是实际运行的却是没有指定的那个设备
求解
from gautomator.
@NateRiverNaz 请确认下,serial名称看,adb devices。如果2个设备,指定了其效果了,不应该出现这种情况。如果serial没起效果,两个设备的情况下应该是抛出异常的
from gautomator.
@wukenaihe 谢谢回答,我再次尝试指定其中一台设备A运行,adb会报error
结果依旧是非指定的那台设备B运行了
from gautomator.
@NateRiverNaz 支持,看文档
from gautomator.
Related Issues (20)
- 文件注释有乱码 HOT 2
- UE4 call_registered_handler 实现建议 HOT 1
- 多台手机都会时不时偶现ue sdk 连接问题,目前看能获取到python 端的请求,但返回数据给python 端出问题 HOT 2
- 按照步骤没有出现“U3DAutomation init OK”
- 模拟器正常运行,手机上报这个错 open: Permission denied HOT 1
- 我用了最新的apm-wda,和xcode12,兼容xcode12,wda都弄好了,但是wetets-plugin-pycharm这个工具总是报错,有人帮忙看一下吗
- 获取click位置不准确
- ue4 click失效
- click_position_by_engine里的按下默认参数50是毫秒么?
- 建议:UE4 SDK支持通过UWidget的UniqueID定位元素
- GA的Android跟iOS为什么代码没有整理到一起啊?
- get_sdk_version这里报错:AttributeError: 'NoneType' object has no attribute 'get'
- UE5加入SDK后报 fatal error: 'Runnable.h' file not found,是不是不兼容UE5呢?
- 支持windows系统吗 HOT 1
- 成功集成了SDK,但在录制过程中无法获取UITree
- 您好,现在有支持fgui的sdk了么?或者我如何编写这样的sdk代码,求教
- 关于 gautomaterview 点击update screen error报错
- 如何终止main.py
- 如何关闭GAutomator的log?
- 无源码,如何使用该工具 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gautomator.