![](/img/trans.png)
[英]How can I get IDs, names or x paths for ui elements used in a mobile app (Android/iOS) for mobile automation testing?
[英]How can we automate content verification for mobile applications (iOS + Android ) without UI automation tools
我想自動化iOS和Android應用程序文本(屏幕上可用的內容),是否有通用方法或任何API可用於移動應用程序的內容驗證。
我不想使用任何UI自動化工具(appium,Calabash)。
對於Android,您可以使用輔助功能服務來檢測用戶事件並遍歷用戶界面。 根據您請求的權限,您甚至可以更改值並代表用戶單擊。
在這里查看:
https://stuff.mit.edu/afs/sipb/project/android/docs/training/accessibility/service.html
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.