标题: 为什么要设置“检查点超时” [打印本页] 作者: 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,在什么情况下会出现这个情况?