|
Dim i Set m_WebCheckBox=Descrīption.Create() m_WebCheckBox("type").Value="checkbox" set All_WebCheckBox=Browser("Untitled Page").Page("Untitled Page").Childobjects(m_WebCheckBox) n=All_WebCheckBox.Count() for i=0 to n-1 All_WebCheckBox(i).Set "ON" next |
--------------
创建一个空对象,可以将所有包含WebCheckBox属性的得到,然后把所有WebCheckBox的个数count得出来,用个循环set值为ON,或者就你想要的选项进行操作

