I dumped the xml file of an app by uiautomator, then I want to use the resource-id to identify every element , but it looks like that not each node in the xml file has a value of such a attribute.
For example, one node could have a value of resource-id like (<resource-id ="">), is it reasonable? This usually happens to the nodes whose class is "android.widget.ImageView", sometimes it also happens to nodes with the class "android.widget.TextView".
I have tested many apps, and found that this problem is common in them.node without resource-id
Aucun commentaire:
Enregistrer un commentaire