我想用qtp实现:打开浏览器,录入网址,然后再关系浏览器,重复此动作100次,要怎么写,求大神

2025-05-06 12:10:44
推荐回答(1个)
回答1:

这样写,这么做干什么呢?
For i = 1 to 100
SystemUtil.CloseProcessByName "IExplore.exe"
SystemUtil.Run "IExplore.exe", "www.baidu.com"
Browser("index:=0").sync
Next
SystemUtil.CloseProcessByName "IExplore.exe"