51Testing软件测试论坛

标题: UFT12录制了Web,需要输入1-5递增,如何实现? [打印本页]

作者: slayer114    时间: 2017-6-1 16:20
标题: UFT12录制了Web,需要输入1-5递增,如何实现?
UFT12录制了Web,需要输入1-5递增,如何实现?for语句只是简单的重复5次而已,输入值始终是1。

Window("Mozilla Firefox").Click 114,170 @@ hightlight id_;_527816_;_script infofile_;_ZIP::ssf30.xml_;_
Window("Mozilla Firefox").Click 130,281 @@ hightlight id_;_527816_;_script infofile_;_ZIP::ssf31.xml_;_
Window("Mozilla Firefox").Click 125,353 @@ hightlight id_;_527816_;_script infofile_;_ZIP::ssf32.xml_;_
Window("Mozilla Firefox").Click 255,523 @@ hightlight id_;_527816_;_script infofile_;_ZIP::ssf33.xml_;_
For Iterator = 1 To 5 Step 1
Window("Mozilla Firefox").Click 400,189 @@ hightlight id_;_527816_;_script infofile_;_ZIP::ssf34.xml_;_
Window("Mozilla Firefox").Click 270,265 @@ hightlight id_;_527816_;_script infofile_;_ZIP::ssf35.xml_;_
Window("Mozilla Firefox").Click 791,296
Window("Mozilla Firefox").Type "1"   
Window("Mozilla Firefox").Click 786,412 @@ hightlight id_;_527816_;_script infofile_;_ZIP::ssf38.xml_;_
Window("Mozilla Firefox").Type "1.1.1.1" @@ hightlight id_;_527816_;_script infofile_;_ZIP::ssf39.xml_;_
Window("Mozilla Firefox").Click 914,677 @@ hightlight id_;_527816_;_script infofile_;_ZIP::ssf40.xml_;_
NEXT @@ hightlight id_;_527816_;_script infofile_;_ZIP::ssf37.xml_;_






欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2