找回密码
 加入
搜索
查看: 2817|回复: 0

[IE类操作] 请问radio及checkbox在没有表单的情况下怎么选择呢?

[复制链接]
发表于 2012-8-31 08:22:18 | 显示全部楼层 |阅读模式
本帖最后由 superboer 于 2012-8-31 08:26 编辑

看au3文档中
_IEFormElementRadioSelect与_IEFormElementCheckBoxSelect两个函数有个必选的表单的必选参数

但是我在
http://119.china.com.cn/2012xfds/node_534049.htm
页面中找到的表单并不是radio与checkbox的范围内

请问大家这个有什么办法呢?

以下是所有单选题内容的答案代码
请问大家表单位置的变量有解决办法吗?
_IEFormElementRadioSelect($oForm, "0", "q_1", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "1", "q_2", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_3", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "3", "q_4", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "3", "q_5", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_6", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_7", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "1", "q_8", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_9", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_10", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "2", "q_11", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_12", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "2", "q_13", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_14", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "2", "q_15", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "2", "q_16", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "2", "q_17", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_18", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_19", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "2", "q_20", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "2", "q_21", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "1", "q_22", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "2", "q_23", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_24", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "1", "q_25", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_26", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "2", "q_27", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_28", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "1", "q_29", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_30", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "1", "q_31", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "2", "q_32", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_33", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "1", "q_34", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_35", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "1", "q_36", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "1", "q_37", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_38", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "1", "q_39", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_40", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "1", "q_41", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_42", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_43", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_44", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_45", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_46", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_47", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_48", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "0", "q_49", 1, "byValue")
Sleep(500)

_IEFormElementRadioSelect($oForm, "2", "q_50", 1, "byValue")
Sleep(500)
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-12-23 12:29 , Processed in 0.073483 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表