iOS-Tagent icon indicating copy to clipboard operation
iOS-Tagent copied to clipboard

iOS系统的警告弹框airtestIDE如何识别点击?试了截图和位置元素定位点击都不行,这个bug多久能修复呢?

Open yangxiaoliuze opened this issue 5 years ago • 1 comments

请问这种iOS系统的警告弹框airtestIDE如何识别点击?试了截图和位置元素定位点击都不行。文档中也没有提及iOS系统的警告弹框的相关资料,请问是现在还不支持吗?如果是bug可以尽快修复吗?我们很着急用,谢谢网易的大佬了。 {33B3F499-3B13-DBA4-E361-68C0318E12A0}

yangxiaoliuze avatar Dec 06 '19 02:12 yangxiaoliuze

还有这种上滑的控件第一次可以点击:

t = 1225.11s Checking existence of Window t = 1225.11s Snapshot accessibility hierarchy for app with pid 2283 t = 1225.57s Find the Window t = 1225.57s Snapshot accessibility hierarchy for app with pid 2283 t = 1225.80s Find the Window at {{0.0, 0.0}, {0.0, 0.0}} t = 1225.80s Snapshot accessibility hierarchy for app with pid 2283 t = 1226.04s Tap Window at {{0.0, 0.0}, {0.0, 0.0}}[0.00, 0.00] -> (302.0, 424.0) t = 1226.04s Wait for com.gemd.iting to idle t = 1226.04s Find the Window at {{0.0, 0.0}, {0.0, 0.0}} t = 1226.04s Snapshot accessibility hierarchy for app with pid 2283 t = 1226.27s Check for interrupting elements affecting Window t = 1226.28s Synthesize event t = 1226.28s Find the Window t = 1226.28s Snapshot accessibility hierarchy for app with pid 2283 t = 1226.58s Wait for com.gemd.iting to idle

#第二次就查找到识别为Alert了:Find: Descendants matching type Alert

t =  1247.30s Checking existence of `Window`
t =  1247.30s     Snapshot accessibility hierarchy for app with pid 2283
t =  1247.59s Find the Window
t =  1247.59s     Snapshot accessibility hierarchy for app with pid 2283
t =  1247.82s Find the Window at {{0.0, 0.0}, {0.0, 0.0}}
t =  1247.82s     Snapshot accessibility hierarchy for app with pid 2283
t =  1248.06s Tap Window at {{0.0, 0.0}, {0.0, 0.0}}[0.00, 0.00] -> (302.0, 424.0)
t =  1248.06s     Wait for com.gemd.iting to idle
t =  1248.07s     Find the Window at {{0.0, 0.0}, {0.0, 0.0}}
t =  1248.07s         Snapshot accessibility hierarchy for app with pid 2283
t =  1248.31s         Check for interrupting elements affecting Window
t =  1248.31s             Snapshot accessibility hierarchy for app with pid 2283
t =  1248.54s             Find: Descendants matching type Alert
t =  1248.54s     Synthesize event
t =  1248.54s         Find the Window
t =  1248.54s             Snapshot accessibility hierarchy for app with pid 2283
t =  1248.84s     Wait for com.gemd.iting to idle

xzhacker123 avatar May 07 '20 02:05 xzhacker123