AirtestProject / AirtestProject/iOS-Tagent

难道你们没有发现使用poco选取元素会让ios app频繁发起请求么?

Offen
#31 3 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @EraChen233 Auf GitHub ansehen
Vorherrschende Sprache
Objective-C
Sterne
722
Forks
194
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

手机 : iphone x
xcode : 10

流程都能走通,运行脚本的时候发现非常卡,发现客户端在给服务器疯狂发请求,
我不知道这个poco是通过什么原理找元素的,所以还请帮忙定位下

xcode日志:
t = 4702.43s Find the Application 'com.husor.beidian.enterprise'
t = 4702.43s Snapshot accessibility hierarchy for app with pid 4374
t = 4702.61s Find the Application 'com.husor.beidian.enterprise'
t = 4702.61s Snapshot accessibility hierarchy for app with pid 4374
t = 4702.68s Get all elements bound by index for: Children matching type Any
t = 4702.68s Snapshot accessibility hierarchy for app with pid 4374
t = 4702.74s Find: Children matching type Any
t = 4702.75s Snapshot accessibility hierarchy for app with pid 4374
t = 4702.85s Find: Children matching type Any
t = 4702.85s Find: Element at index 0
t = 4702.85s Snapshot accessibility hierarchy for app with pid 4374
t = 4702.85s Find: Children matching type Any
t = 4702.85s Find: Element at index 0
t = 4702.85s Snapshot accessibility hierarchy for app with pid 4374
t = 4702.85s Find: Children matching type Any
t = 4702.85s Snapshot accessibility hierarchy for app with pid 4374
t = 4702.85s Snapshot accessibility hierarchy for app with pid 4374
t = 4702.86s Find: Children matching type Any
t = 4702.86s Find: Element at index 1
t = 4702.86s Snapshot accessibility hierarchy for app with pid 4374
t = 4702.86s Find: Children matching type Any
t = 4702.86s Find: Element at index 1
t = 4702.86s Snapshot accessibility hierarchy for app with pid 4374
t = 4702.86s Find: Children matching type Any
t = 4702.86s Snapshot accessibility hierarchy for app with pid 4374
t = 4702.86s Snapshot accessibility hierarchy for app with pid 4374
t = 4702.86s Find: Children matching type Any
t = 4702.86s Find: Element at index 2
t = 4702.86s Snapshot accessibility hierarchy for app with pid 4374
t = 4702.86s Find: Children matching type Any
t = 4702.87s Find: Element at index 2
t = 4702.87s Snapshot accessibility hierarchy for app with pid 4374
t = 4702.87s Find: Children matching type Any
t = 4702.87s Snapshot accessibility hierarchy for app with pid 4374
t = 4702.87s Snapshot accessibility hierarchy for app with pid 4374
t = 4703.13s Find the Application 'com.husor.beidian.enterprise'
t = 4703.13s Snapshot accessibility hierarchy for app with pid 4374
t = 4703.22s Get all elements bound by index for: Children matching type Any
t = 4703.22s Snapshot accessibility hierarchy for app with pid 4374
t = 4703.28s Find: Children matching type Any
t = 4703.28s Snapshot accessibility hierarchy for app with pid 4374
t = 4703.38s Find: Children matching type Any
t = 4703.38s Find: Element at index 0
t = 4703.39s Snapshot accessibility hierarchy for app with pid 4374
t = 4703.39s Find: Children matching type Any
t = 4703.39s Find: Element at index 0
t = 4703.39s Snapshot accessibility hierarchy for app with pid 4374
t = 4703.39s Find: Children matching type Any
t = 47 03.39s Snapshot accessibility hierarchy for app with pid 4374
t = 4703.39s Snapshot accessibility hierarchy for app with pid 4374
t = 4703.39s Find: Children matching type Any
t = 4703.39s Find: Element at index 1
t = 4703.39s Snapshot accessibility hierarchy for app with pid 4374
t = 4703.39s Find: Children matching type Any
t = 4703.39s Find: Element at index 1
t = 4703.40s Snapshot accessibility hierarchy for app with pid 4374
t = 4703.40s Find: Children matching type Any
t = 4703.40s Snapshot accessibility hierarchy for app with pid 4374
t = 4703.40s Snapshot accessibility hierarchy for app with pid 4374
t = 4703.40s Find: Children matching type Any
t = 4703.40s Find: Element at index 2
t = 4703.40s Snapshot accessibility hierarchy for app with pid 4374
t = 4703.40s Find: Children matching type Any
t = 4703.40s Find: Element at index 2
t = 4703.40s Snapshot accessibility hierarchy for app with pid 4374
t = 4703.40s Find: Children matching type Any
t = 4703.41s Snapshot accessibility hierarchy for app with pid 4374
t = 4703.41s Snapshot accessibility hierarchy for app with pid 4374
t = 4704.91s Find the Application 'com.husor.beidian.enterprise'
t = 4704.91s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.00s Get all elements bound by index for: Children matching type Any
t = 4705.00s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.07s Find: Children matching type Any
t = 4705.07s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.17s Find: Children matching type Any
t = 4705.17s Find: Element at index 0
t = 4705.17s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.17s Find: Children matching type Any
t = 4705.17s Find: Element at index 0
t = 4705.17s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.17s Find: Children matching type Any
t = 4705.18s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.18s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.18s Find: Children matching type Any
t = 4705.18s Find: Element at index 1
t = 4705.18s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.18s Find: Children matching type Any
t = 4705.18s Find: Element at index 1
t = 4705.18s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.18s Find: Children matching type Any
t = 4705.18s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.18s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.18s Find: Children matching type Any
t = 4705.18s Find: Element at index 2
t = 4705.18s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.19s Find: Children matching type Any
t = 4705.19s Find: Element at index 2
t = 4705.19s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.19s Find: Children matching type Any
t = 4705.19s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.19s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.86s Find the Application 'com.husor.beidian.enterprise'
t = 4705.86s Snapshot accessibility hierarchy for app with pid 4374
t = 4705.95s Get all elements bound by index for: Children matching type Any
t = 4705.95s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.00s Find: Children matching type Any
t = 4706.00s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.09s Find: Children matching type Any
t = 4706.10s Find: Element at index 0
t = 4706.10s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.10s Find: Children matching type Any
t = 4706.10s Find: Element at index 0
t = 4706.10s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.10s Find: Children matching type Any
t = 4706.10s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.10s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.11s Find: Children matching type Any
t = 4706.11s Find: Element at index 1
t = 4706.11s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.11s Find: Children matching type Any
t = 4706.11s Find: Element at index 1
t = 4706.11s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.11s Find: Children matching type Any
t = 4706.11s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.11s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.11s Find: Children matching type Any
t = 4706.11s Find: Element at index 2
t = 4706.11s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.11s Find: Children matching type Any
t = 4706.11s Find: Element at index 2
t = 4706.12s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.12s Find: Children matching type Any
t = 4706.12s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.12s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.60s Find the Application 'com.husor.beidian.enterprise'
t = 4706.60s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.72s Get all elements bound by index for: Children matching type Any
t = 4706.72s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.79s Find: Children matching type Any
t = 4706.79s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.91s Find: Children matching type Any
t = 4706.91s Find: Element at index 0
t = 4706.92s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.92s Find: Children matching type Any
t = 4706.92s Find: Element at index 0
t = 4706.92s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.92s Find: Children matching type Any
t = 4706.92s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.93s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.93s Find: Children matching type Any
t = 4706.93s Find: Element at index 1
t = 4706.93s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.93s Find: Children matching type Any
t = 4706.93s Find: Element at index 1
t = 4706.93s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.93s Find: Children matching type Any
t = 4706.93s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.93s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.93s Find: Children matching type Any
t = 4706.94s Find: Element at index 2
t = 4706.94s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.94s Find: Children matching type Any
t = 4706.94s Find: Element at index 2
t = 4706.94s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.94s Find: Children matching type Any
t = 4706.94s Snapshot accessibility hierarchy for app with pid 4374
t = 4706.94s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.00s Find the Application 'com.husor.beidian.enterprise'
t = 4707.00s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.02s Get all elements bound by index for: Children matching type Any
t = 4707.02s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.23s Find: Children matching type Any
t = 4707.23s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.51s Find: Children matching type Any
t = 4707.51s Find: Element at index 0
t = 4707.52s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.52s Find: Children matching type Any
t = 4707.52s Find: Element at index 0
t = 4707.52s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.52s Find: Children matching type Any
t = 4707.52s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.52s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.52s Find: Children matching type Any
t = 4707.52s Find: Element at index 1
t = 4707.53s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.53s Find: Children matching type Any
t = 4707.53s Find: Element at index 1
t = 4707.53s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.53s Find: Children matching type Any
t = 4707.53s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.53s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.53s Find: Children matching type Any
t = 4707.53s Find: Element at index 2
t = 4707.54s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.54s Find: Children matching type Any
t = 4707.54s Find: Element at index 2
t = 4707.54s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.54s Find: Children matching type Any
t = 4707.54s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.54s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.62s Find the Application 'com.husor.beidian.enterprise'
t = 4707.62s Snapshot accessibility hierarchy for app with pid 4374
t = 4707.95s Get all elements bound by index for: Children matching type Any
t = 4707.95s Snapshot accessibility hierarchy for app with pid 4374
t = 4708.21s Find: Children matching type Any
t = 4708.22s Snapshot accessibility hierarchy for app with pid 4374
t = 4715.73s Find: Children matching type Any
t = 4715.73s Find: Element at index 0
t = 4715.76s Snapshot accessibility hierarchy for app with pid 4374
t = 4715.76s Find: Children matching type Any
t = 4715.76s Find: Element at index 0
t = 4715.76s Snapshot accessibility hierarchy for app with pid 4374
t = 4715.76s Find: Children matching type Any
t = 4715.76s Snapshot accessibility hierarchy for app with pid 4374
t = 4715.76s Snapshot accessibility hierarchy for app with pid 4374
t = 4715.77s Find: Children matching type Any
t = 4715.77s Find: Element at index 1
t = 4715.77s Snapshot accessibility hierarchy for app with pid 4374
t = 4715.77s Find: Children matching type Any
t = 4715.77s Find: Element at index 1
t = 4715.77s Snapshot accessibility hierarchy for app with pid 4374
t = 4715.77s Find: Children matching type Any
t = 4715.77s Snapshot accessibility hierarchy for app with pid 4374
t = 4715.77s Snapshot accessibility hierarchy for app with pid 4374
t = 4715.77s Find: Children matching type Any
t = 4715.78s Find: Element at index 2
t = 4715.78s Snapshot accessibility hierarchy for app with pid 4374
t = 4715.78s Find: Children matching type Any
t = 4715.78s Find: Element at index 2
t = 4715.78s Snapshot accessibility hierarchy for app with pid 4374
t = 4715.78s Find: Children matching type Any
t = 4715.78s Snapshot accessibility hierarchy for app with pid 4374
t = 4715.78s Snapshot accessibility hierarchy for app with pid 4374

![image](https://user-images.githubusercontent.com/23092674/54422519-a781d800-4749-11e9-9970-fa03560ebed0.png)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.