查看完整版本: 如何在Reporter添加图像

423799223 2008-7-7 15:55

如何在Reporter添加图像

比如
if 2>1  Then
    DeskTop.CaptureBitmap  "c:\test.bmp"
    Reporter.ReportEvent micFail,"失败","因为2大于1"      '请问如何在报告中插入上面一句的图片?
else
    msgbox "B"

end if

gy21st 2008-7-8 09:23

[url]http://bbs.51testing.com/viewthread.php?tid=106389&extra=&page=1[/url]

陈能技 2008-7-8 14:38

如果不嫌测试结果占用过多空间的话,也可以使用QTP自带的“Save Still Image”或“Active Movie”功能来保存测试脚本过程中的截图或视频。


推荐新书《QTP自动化测试实践》:victory:

423799223 2008-7-8 17:37

可能是我问错   我知道如何截图像并另存为
我想在报告中显示图像   类似在网页中插入图像

423799223 2008-7-8 17:38

感谢二楼的  知道了
页: [1]
查看完整版本: 如何在Reporter添加图像