iOS-Tagent
iOS-Tagent copied to clipboard
iOS support agent for automation
xcode版本是11.3,真机系统版本是13.2,具体逻辑代码如下 __author__ = 'xujun' from airtest.core.api import * from poco.drivers.ios import iosPoco auto_setup(__file__) package = 'com.ss.iphone.ugc.Aweme' uri = 'iOS:///192.168.2.10:8100' #初始化连接配置 def initApp(): connect_device(uri) poco = iosPoco() start_app(package=package, activity=None) sleep(10) return...
![image](https://user-images.githubusercontent.com/8870096/82812376-73fe1a00-9ec5-11ea-923a-448521b632e5.png)
2020-03-07 20:27:05.066486+0800 WebDriverAgentRunner-Runner[10659:3922590] Running tests... 2020-03-07 20:27:05.186928+0800 WebDriverAgentRunner-Runner[10659:3922590] 未能载入软件包“WebDriverAgentRunner”,因为它已损坏或丢失必要的资源。 请尝试重新安装软件包。 2020-03-07 20:27:05.187011+0800 WebDriverAgentRunner-Runner[10659:3922590] (dlopen_preflight(/var/containers/Bundle/Application/F22F8601-5D24-404D-8525-56A4B2060ED0/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner): no suitable image found. Did find: /var/containers/Bundle/Application/F22F8601-5D24-404D-8525-56A4B2060ED0/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner: code signature invalid for '/var/containers/Bundle/Application/F22F8601-5D24-404D-8525-56A4B2060ED0/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest/WebDriverAgentRunner' ) 相同配置虚拟机和之前版本都ok,只有13.3.1不行,麻烦看看
请问这种iOS系统的警告弹框airtestIDE如何识别点击?试了截图和位置元素定位点击都不行。文档中也没有提及iOS系统的警告弹框的相关资料,请问是现在还不支持吗?如果是bug可以尽快修复吗?我们很着急用,谢谢网易的大佬了。 ![{33B3F499-3B13-DBA4-E361-68C0318E12A0}](https://user-images.githubusercontent.com/53199422/70290228-2b1cb100-1812-11ea-8bd5-3da8120b9fce.jpg)
![Screenshot 2020-04-24 at 12 41 04 PM](https://user-images.githubusercontent.com/31962950/80184851-fa0a1500-8628-11ea-8425-fc2ff3adba4b.png)
1. Run tagent on iPhone XR in xcode 10.2 2. Call any alert on iPhone 3. Send alert request like http://10.xxx.xxx.xxx:8100/session/5D590FA6-EA8A-4A7D-A4A2-106432C6DB0E/alert/dismiss Results: alert is dimissed but tagent crashes https://www.screencast.com/t/4oibxgxRcCVr ![2019-07-12_1845](https://user-images.githubusercontent.com/6172381/61141052-5c988700-a4d5-11e9-8395-1492ed02ad67.png)
启动项目,开启vpn,运行一段时间后,会提示超时 retry to connect,error:HTTPConectionPool(host="10.0.0.197",port=8100): Read timed out.(read timeout=60.0) 在等待60s后,项目会崩溃 再次启动项目无法运行,需要重新用xcode部署wda 请问有解决办法,来用代码重启/重连手机上wda的方法吗? mac10.15 iphone 6 12.4.5 isoagent最新的 xcode10
airtest ios的支持修改端口号和一台mac执行多台iphone手机吗?
xcode 10.2 ios 10.2 ios-agent 报错 Enqueue Failure: Error getting main window -25204 0 1 wdaproxy 输出: [17:35:45] 200 GET /status (127.0.0.1) 5.19ms [17:35:46] 200 GET /session/2DB7133C-D3CF-44FC-A89F-0485F843C8EB (127.0.0.1) 771.85ms [17:35:46]...
iphone5s,ios10.32,xcode11.0 编译 iOS-Tagent完成 -> brew install libimobiledevice -> iproxy 8100 8100,报错error connecting to device