识别被复选框选中的文本

我需要识别出被选中的项目,例如下图所示,请问应该如何实现?选取器对于选中的复选框和未选中的复选框似乎没有区别。

Hi,
Can you share the selector information with and without the checkbox checked?

识别复选框一般要看ui explorer 里的属性

  1. 打开uiexplorer, 选择复选框
  2. 可以看到选中和未选中区别在于“checked" 属性 (checked=1 代表选中)
    未选中:

    选中

所以先看你的复选框是否有"checked"或者类似的属性
然后 用"Get Attribute" activity 去读取这个属性的值
image

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.