找回密码
 加入
搜索
查看: 1368|回复: 2

老是报Error from function _IEFormElementSetValue, $_IEStatus_InvalidDataType

[复制链接]
发表于 2009-6-17 11:30:04 | 显示全部楼层 |阅读模式
本帖最后由 slzfish 于 2009-6-20 08:44 编辑

#include <IE.au3>
$oIE = _IECreate ("passport.wanmei.com/jsp/member/register.jsp",0,1,1,0)
_IEPropertySet ($oIE, "toolbar", 0)
_IEPropertySet ($oIE, "width", 600)
_IEPropertySet ($oIE, "height", 600)
_IEPropertySet ($oIE, "resizable", 0)
$oForm = _IEFormGetObjByName ($oIE, "完美时空")
$oQuery = _IEFormElementGetObjByName ($oForm, "username")
_IEFormElementSetValue ($oQuery,"111111111111111")
$oQuery = _IEFormElementGetObjByName ($oForm, "passwd")
_IEFormElementSetValue ($oQuery, "222222222222")
$oQuery = _IEFormElementGetObjByName ($oForm, "repeatpasswd")
_IEFormElementSetValue ($oQuery,"222222222222")
$oQuery = _IEFormElementGetObjByName ($oForm, "fcmidnumber")
_IEFormElementSetValue ($oQuery,"33333333333333333")
$oQuery = _IEFormElementGetObjByName ($oForm, "fcmtruename")
_IEFormElementSetValue ($oQuery,"44444444444444444")
$oQuery = _IEFormElementGetObjByName ($oForm, "email")
_IEFormElementSetValue ($oQuery,"55555555555555")
$oQuery = _IEFormGetObjByName ($oForm, "register")
_IEFormElementRadioSelect ($oQuery, "1", "ts", 1, "byValue")
$oQuery = _IEFormElementGetObjByName ($oForm, "idnumber1")
_IEFormElementSetValue ($oQuery,"3333333333")
$oQuery = _IEFormGetObjByName ($oForm, "register")
_IEFormElementRadioSelect ($oQuery, "8", "xtnr", 1, "byValue")
$oQuery = _IEFormElementGetObjByName ($oForm, "tgyidnumber_sg")
_IEFormElementSetValue ($oQuery, "80000677912345")
$oQuery = _IEFormGetObjByName ($oForm, "register")
_IEFormElementCheckboxSelect ($oQuery, "1", "protocol1", 1, "byValue")
$oQuery = _IEFormGetObjByName ($oForm, "register")
_IEFormElementCheckboxSelect ($oQuery, "2", "protocol2", 1, "byValue")

实在是找不出哪里的问题了。。。


$oForm = _IEFormGetObjByName ($oIE, "完美时空")这句有问题不好意思,刚才没理解。。。
 楼主| 发表于 2009-6-20 08:43:00 | 显示全部楼层
通过楼上的刺激,我也做了个POST的

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?加入

×
发表于 2009-8-3 19:38:17 | 显示全部楼层
看看怎么写的,有源文件吗?
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-5-4 11:29 , Processed in 0.075242 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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