小丫头amy 发表于 2012-12-10 09:49:32

为什么我采用orc机制读取的图片验证值为空

为什么我采用orc机制读取的图片验证值为空

目的:读取图片中的验证码
在网上搜索帖子输说采用orc机制,在录制不采用web-addin的代码
保存脚本为GetCharTest,脚本代码:Window("Microsoft Internet Explorer").WinObject("Internet Explorer_Server").Output CheckPoint("Internet Explorer_Server")
然后重新开启qtp,采用web-addin的插件录制
在验证码的步骤中插入上面保存的代码
RunAction "GetChar", oneIteration
Set myCode=DataTable.GetSheet("Global").GetParameter("Internet_Explorer_ServerOutput_Text_out")
msgbox myCode
怎么mycode为空值呢?求高手指点

fengerapple 发表于 2013-1-25 17:57:59

Thank you very much for sharing!The good man!The good life of peace!
页: [1]
查看完整版本: 为什么我采用orc机制读取的图片验证值为空