Vugen-Tools General-Options-Replay设置
可以以动画模式或非动画模式(animated mode or non-animated mode.)运行Vuser脚本.当运行于动画模式时,VuGen高亮当前执行的脚本代码行。你可以为这种模式设置延迟,允许你更好的查看每个步骤的效果.当你运行于非动画模式时,VuGen执行用户脚本,但是不提示正被执行的行。
说明:
Debug
1)Animate run delay.命令之间以毫秒为单位的延迟,就是一个函数和另外一个函数之间的等待时间,以默认为0。这个选项经常需要使用。由于VuGen是基于协议的,脚本执行起来会非常快,可能来不及看执行的情况,这个时候可以通过降低脚本运行的速度来协助调试
2)Only animate functions in Actions sections.
仅使除初始或结束Action外的Action模块的代码实行动态运行,默认开启。
注意:本功能需要和另外一个功能一起使用,选中View-> Animated run,,且打开了Animated run这个功能,脚本的运行速度会变慢
Results Directory
Prompt for results dirctory
提示输入结果目录。开启后,从VuGen运行脚本前,每次都提示输入结果保存目录。默认不开启。如果这个选项被选择,VuGen自动命名结果目录。默认为result1
随后的脚本执行将自动覆盖之前的结果除非你选择一个不同的结果文件.注意结果存储在脚本的子目录
After Replay
指示VuGen在回放结束后怎么处理
1) View before replay.
返回到你回放前的视图。默认选择。
2) Replay summary.
直接跳到工作流向导中的回放总结(Replay Summary)窗口。
3) Visual Test Results.
打开测试结果总结(Test Results Summary).(等同从View > Test Results after replay.)