密码输入后,真正密码控件的值没有变化,好像要激活onKeyPress事件,输入的密码才能生效!
现在的问题是输入密 ...
chenzhi1210 发表于 2010-6-8 10:46
不用激活,继续注册即可!
修改的地方:$oQuery = _IEFormElementGetObjByName ($oForm, "btn_chk")
_IEAction ($oQuery, "focus")
Sleep(3000)
_IEFormElementRadioSelect ($oForm, "abcx0030@163.com", "rdAccount", 1, "byValue")
$oQuery1=_IEFormElementGetObjByName ($oForm,"password")
_IEFormElementSetValue ($oQuery1, "a9974515")
$oQuery2=_IEFormElementGetObjByName ($oForm,"passwordconfirm")
_IEFormElementSetValue ($oQuery2, "a9974515");;;;;;;;;;;;;;;;;密码
#include<ie.au3>
$oie=_IECreate("http://reg.email.163.com/mailregAll/reg0.jsp?from=126mail",1,1,0)
_IELoadWait($oie)
$oForm =_IEGetObjById($oie,"regform")
$oQuery = _IEFormElementGetObjByName ($oForm, "inp_uname")
_IEFormElementSetValue ($oQuery, "abcx0030")
$oQuery = _IEFormElementGetObjByName ($oForm, "btn_chk")
_IEAction ($oQuery, "focus")
Sleep(3000)
_IEFormElementRadioSelect ($oForm, "abcx0030@163.com", "rdAccount", 1, "byValue")
$oQuery1=_IEFormElementGetObjByName ($oForm,"password")
_IEFormElementSetValue ($oQuery1, "a9974515")
$oQuery2=_IEFormElementGetObjByName ($oForm,"passwordconfirm")
_IEFormElementSetValue ($oQuery2, "a9974515");;;;;;;;;;;;;;;;;密码
$oSelect = _IEFormElementGetObjByName ($oForm, "secproblem")
_IEFormElementOptionSelect ($oSelect, "您配偶的生日是?", 1, "byValue")
$oQuery3=_IEGetObjById($oie,"secanswer")
_IEFormElementSetValue ($oQuery3, "19810516");;;;;安全问题
_IEFormElementRadioSelect ($oForm, "0", "rd1", 1, "byValue");;选择性别
$oQuery4=_IEGetObjById($oie,"year")
_IEFormElementSetValue ($oQuery4, "1985")
$oQuery5=_IEGetObjById($oie,"month")
_IEFormElementSetValue ($oQuery5, "05")
$oQuery6=_IEGetObjById($oie,"day")
_IEFormElementSetValue ($oQuery6, "05");;;;;;;;;;;;;;出生日期
|