51Testing软件测试论坛
标题:
求助,循环
[打印本页]
作者:
zjviolet
时间:
2004-9-17 14:50
标题:
求助,循环
我录的是这样的,就是删除一条记录的操作,要怎么样让他循环多次呢。
sub main
'Initially Recorded: 2004-9-17 13:32:17
'Script Name: 1
Window SetContext, "Caption=Newtouch ONE! - Microsoft Internet Explorer", ""
Browser SetFrame,"Type=HTMLFrame;HTMLId=Main_frame",""
HTMLTable Click, "Type=HTMLTable;Index=3", "Row=2;Col=5"
Browser NewPage,"",""
PushButton Click, "Type=PushButton;Name=delB"
Window SetContext, "Caption=Microsoft Internet Explorer", ""
PushButton Click, "Text=确定"
End Sub
作者:
hxf
时间:
2004-9-17 17:11
你写一个循环语句
dim i as interger
for i=1 to n
操作
next i
作者:
zjviolet
时间:
2004-9-20 09:49
哦,谢谢
看来我之前漏掉了一点东东,难怪出问题。
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2