AirtestProject / AirtestProject/Poco

MMORPG游戏,如何提高定位UI的效率

Aperta
#380 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Python
Stelle
2k
Fork
341
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**描述问题bug**
公司研发一款MMOrpg游戏,所以UI树root下的的元素特别特别多。导致poco()定位一个UI的时间特别长

**复现步骤**
1,登陆界面,元素较少,定位个按钮只需要0.1秒
2,主城内,UI数除了显示主界面的UI树,还有NPC模型,场景模型等等一大堆乱七八糟的,导致我要定位一个好友按钮,需要3.0秒

**问题**
1,请问每次定位UI的效率如何提高?我可不想把UI全路径写上来
2,是否可以直接定位到主界面UI进行遍历定位,例如在/root/planUI下面进行定位遍历,而不是在/root下?
3,是否可以在pocoSDK接入的时候修改,不让user看到其他乱七八糟的东西,只要看到/root/planUI下的UI元素

**python 版本:** `python3.6
**poco 版本:** ` 1.0.79

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.