51Testing软件测试论坛

标题: 为什么要设置“检查点超时” [打印本页]

作者: tongxy    时间: 2007-1-16 14:52
标题: 为什么要设置“检查点超时”
在设立检查点时(任何类型的检查点),在检查点属性对话框中都有一个“checkpoint timeout”项,有时要将该项设置的大一些,为什么?如何解释“检查点超时”?
作者: 风过无息    时间: 2007-1-16 15:29
这是QTP帮助里面的文档,希望对你有帮助。
Checkpoint timeout—Specifies the time interval (in seconds) during which QuickTest attempts to perform the checkpoint successfully. QuickTest continues to perform the checkpoint until it passes or until the timeout occurs. If the checkpoint does not pass before the timeout occurs, the checkpoint fails.
For example, suppose it takes some time for an object to achieve an expected state. Increasing the checkpoint timeout value in this case can make sure that the object has sufficient time to achieve that state and therefore enables the checkpoint to pass before the maximum timeout is reached.

You can see information about the checkpoint timeout, including the time interval used by QuickTest to perform the checkpoint, in the Test Results window.
作者: tongxy    时间: 2007-1-16 16:07
标题: 回复 #2 风过无息 的帖子
谢谢楼上的朋友
明白怎么回事了,真是qtp这么好的文档没好好利用,在这提出自我批评
作者: 九月属金    时间: 2007-1-19 10:12
不明白的是,在timeout之前就failed,在什么情况下会出现这个情况?

比若说,在一个web页check一个单词,搜索一遍如果没有找到就failed了,怎么会出现不停的search直到timeout的情况?
作者: zx0971    时间: 2007-1-19 17:13
这个取决于检查点的设置吧?有些检查点默认超时就是0秒,比如文本检查点,有些检查点默认超时是10秒,比如表格检查点
作者: shenxiaoping    时间: 2007-3-1 14:34
我也设置了,可是看不到什么效果啊,就直接break,好像跟时间没有什么关系,请指教,谢谢!




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