找回密码
 加入
搜索
查看: 1730|回复: 4

[IE类操作] ie点击怎么会出错?框架结构[已解决]

[复制链接]
发表于 2010-8-25 11:07:44 | 显示全部楼层 |阅读模式
本帖最后由 410521a 于 2010-8-27 02:58 编辑

$Code = _IEGetObjByName($oIE,"yzm_tbox")
$Code.value = $s_code_string
$Login = _IEGetObjByName($oIE, "ImageButton1")
$Login.click
_IELoadWait($oIE)
$goie=_IENavigate ($oIE, "http://www.zzwljc.com:8080/Index/CyberBar/main.aspx")
_IELoadWait($goIE)
$uplog1 = _IEGetObjByName($goIE, "ReportUrl")
$uplog1.click
EndIf
EndFunc





就这行出错
$uplog1 = _IEGetObjByName($goIE, "ReportUrl")
$uplog1.click




        <span id="MsgLab" style="color:#FF3300;">今日日志还未上报,已超过正常上报时段,下次请注意!</span>  
        <a id="ReportUrl" href="../../Report/CyberBar/logReport.aspx">日志上报</a>                                             
        <a id="RepURL" href="../../Report/CyberBar/mainReport.aspx?type=1">日志信息报备</a>




$goIE改为 $oie 解决

本帖子中包含更多资源

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

×

评分

参与人数 1金钱 +10 收起 理由
afan + 10 感谢主动将修改帖子分类为[已解决],请继续 ...

查看全部评分

发表于 2010-8-25 11:20:44 | 显示全部楼层
_IEGetObjById?
 楼主| 发表于 2010-8-25 11:52:19 | 显示全部楼层
_IEGetObjById?


试过不行`
 楼主| 发表于 2010-8-25 13:55:18 | 显示全部楼层
选择日志文件:
</td>
<td width="80%" bgcolor="#FFFFFF" align="left">
&nbsp;
<input type="file" id="my_file" onchange="SumbitFileAccessInfo();" width="300px" />   无法上传或提示"请选择上报日志",请点击:<a href="notice/settings.html" title="查看浏览器配置" target="_blank" style="font-size: 14px; color: #FF0000; text-decoration: underline">查看解决方法&gt;&gt;</a>
</td>
</tr>
<tr>
<td height="30" bgcolor="#FFFFFF" align="center" colspan="2">
<input type="submit" name="Button1" value="上报" onclick="return confirm('确定上报所选日志文件吗?\n\n一天只能上报一次,选择错误文件系统将扣除网吧积分!');" id="Button1" style="width:70px;" />
</td>
</tr>
</table>
</td>



不要模拟鼠标` ` 在
<input type="file" id="my_file" onchange="SumbitFileAccessInfo();" width="300px" />   无法上传或提示"请选择上报日志",

里边输数据?
发表于 2010-9-23 15:53:30 | 显示全部楼层
楼主这个过滤王日志上传做好没?
我用controlsend在 选择日志文件:里输入文件名后 点击确认上传后 还是无法上传成功
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-10-3 06:26 , Processed in 0.096107 second(s), 28 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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