AirtestProject / AirtestProject/Poco

AndroidUiautomationPoco与iosPoco不一致问题

Đang mở
#566 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
2k
Fork
341
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

![image](https://user-images.githubusercontent.com/50130180/212635808-d00ff6c5-bfcc-4032-8121-147ea2fcb183.png)
如图,AndroidUiautomationPoco对象与iosPoco对象访问device存在不一致,导致出现一些问题

1、在PyCharm中代码提示存在问题
AndroidUiautomationPoco对象可以正常使用代码提示
![image](https://user-images.githubusercontent.com/50130180/212636705-5adaafe3-d1e8-486f-9f8b-588d22119348.png)
iosPoco对象无法使用代码提示
![image](https://user-images.githubusercontent.com/50130180/212637244-d670300e-c500-43ac-8876-b4ba5ccf0b02.png)
2、在编写代码时,由于两者不一致,导致ios相关代码需要额外编写一份,无法一份解决
预期:
![image](https://user-images.githubusercontent.com/50130180/212637999-5c28a859-7a5a-41d5-b934-8396a2d067ab.png)
实际:
![image](https://user-images.githubusercontent.com/50130180/212638370-07f52022-9fe1-46ea-9fce-92e4e271ca7b.png)

产生问题的原因:
![image](https://user-images.githubusercontent.com/50130180/212634924-c095537e-6ec0-47f9-bdae-0ce2a8ba7c7d.png)
改动点:
![image](https://user-images.githubusercontent.com/50130180/212639991-11dcfaed-e46c-4b83-8e4c-c94d13390530.png)

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.