本帖最后由 jakykuang 于 2011-3-28 11:00 编辑
想问一下,我想用au3命令点击“查询”按钮,但一直不成功,那个按钮为gif图片,网页源码如下
我尝试过用_IEFormImageClick ($oForm, "query_04.gif", "src")命令,但没反应,请问要怎样写啊,我写的代码如下:#include <IE.au3>
$oIE = _IECreate ("http://10.3.26.147/query/itemQueryAction.do?method=jumpToSingleItemTrackQuery",1,1,1,0)
$oForm = _IEFormGetObjByName ($oIE, "itemQueryForm")
$oQuery = _IEFormElementGetObjByName ($oForm, "itemno")
_IEFormElementSetValue ($oQuery, "EJ794197691CS")
_IEFormImageClick ($oForm, "query_04.gif", "src")
|