Closed s94285 closed 3 months ago
$ d(resourceIdMatches="sectionVoucherCard_\d+").count > 7 $ d(resourceIdMatches="sectionVoucherCard_\d+").info['resourceName'] > 'sectionVoucherCard_603130807123968' $ d(resourceIdMatches="sectionVoucherCard_\d+")[0].info['resourceName'] > $ [n.info['resourceName'] for n in d(resourceIdMatches="sectionVoucherCard_\d+")] > [None, None, None, None, None, None, None] $ d(resourceIdMatches="sectionVoucherCard_\d+")[0].info > {... 'resourceName': None, ...}
一旦使用 __getitem__,info['resourceName']都會變成None 即使使用resourceIdMatches得到的結果也一樣,這些node應該都要有resourceName才對
__getitem__
手機型號:Asus Zenfone 5Z android 版本:9 (sdk 28) uiaoutmator2 版本號:2.16.23
同问
没有resourceName,但是有resourceId
一旦使用
__getitem__
,info['resourceName']都會變成None 即使使用resourceIdMatches得到的結果也一樣,這些node應該都要有resourceName才對手機型號:Asus Zenfone 5Z android 版本:9 (sdk 28) uiaoutmator2 版本號:2.16.23