51Testing软件测试论坛

标题: 请教关于report.ReportEvent [打印本页]

作者: 鹭岛    时间: 2008-1-30 14:38
标题: 请教关于report.ReportEvent
Reporter.ReportEvent micFail,"首页检查ABC","实际结果应该是ABC但是却得到了BAC"

知道这个一般是用来检查是否发生错误,如果发生了就产生是错误报告,另一个micPass的同样道理


我想知道的是,这个怎么输出呢?
产生了这个报告后怎么输出来。输出到哪里呢?又或者这个是一个什么样的过程呢?

一般我们都是使用IF *** then Reporter.ReportEvent micFail,"","" End If
难道这个是要在TD,QC上使用才有用的?

不然我一般平时使用的话都是使用IF aaa=Browser().Page().某控件或者一个WebElement().GetROProperty("") then
使用检查错误比如MSGBOX "错误"  End If
现在对Reporter完全陌生,想了解下
作者: raymond.tang    时间: 2008-1-30 15:20
you can view this after you finished/stop the action in test result report. This report will be show automaitcally in default setting.
作者: 郁金香    时间: 2008-1-30 15:39
标题: 回复 2# 的帖子
在脚本的结果报告中会体现出来
作者: 鹭岛    时间: 2008-1-30 15:39
THANK YOU~~~
我一直屏蔽掉测试结果的,没想到在结果里面体现出来了,呵呵,知道了,不过这个怎么写入到TD上去呢?
作者: 小孩    时间: 2008-2-1 17:40
前提是你的QTP必须和TD相连,

[ 本帖最后由 小孩 于 2008-2-1 17:42 编辑 ]




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