51Testing软件测试论坛
标题:
QTP运行脚本时,当运行到在IE地址栏中输入ip地址时,出现地址栏的错误提示
[打印本页]
作者:
shenlijuan2012
时间:
2013-1-29 19:35
标题:
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}"
运行时出现的提示如下:[attach]83467[/attach]
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2