shenlijuan2012 发表于 2013-1-29 19:35:08

QTP运行脚本时,当运行到在IE地址栏中输入ip地址时,出现地址栏的错误提示

SystemUtil.Run "C:\Program Files\Internet Explorer\iexplore.exe","","C:\Documents and Settings\Administrator","open"
Set newobject=createObject("WScript.shell")
window("Windows Internet Explorer").Activate
window("Windows Internet Explorer").WinEdit("Edit").Set"http://100.100.81.5/"

newobject.SendKeys"{enter}"

运行时出现的提示如下:
页: [1]
查看完整版本: QTP运行脚本时,当运行到在IE地址栏中输入ip地址时,出现地址栏的错误提示