tagLimitDescription: “设置部分相似控件的最大遍历次数”
tagLimit:
- given:
when: null
then:
xpath: “//[contains(@class, ‘List’)]//”
action: “”
actions:
times: 2
- xpath: “NEXT”
times: 100
- xpath: “//[@clickable=‘true’ and contains(@class, ‘Button’)]"
times: 100
- xpath: "//[@clickable=‘true’ and contains(@class, ‘Text’)]”
times: 100
- xpath: “//[@clickable=‘true’ and contains(@class, ‘Image’)]"
times: 100
- xpath: "//[contains(@resource-id, ‘select_status’)]”
times: 100
- xpath: “//*[contains(@resource-id, ‘navigate_next’)]”
times: 100
测试环境
在一个页面选择一张照片,点击下一步, 然后做一些特定的操作后,又回到这个页面 仍然选择原来的照片,工具会认会已经点击过了,不会再次选择,有大佬知道的嘛
设置同一控件点击多次貌似不起作用,求助思寒大佬