51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 2407|回复: 5
打印 上一主题 下一主题

[原创] 为什么要设置“检查点超时”

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2007-1-16 14:52:04 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
在设立检查点时(任何类型的检查点),在检查点属性对话框中都有一个“checkpoint timeout”项,有时要将该项设置的大一些,为什么?如何解释“检查点超时”?
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
发表于 2007-1-16 15:29:46 | 只看该作者
这是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.
回复 支持 反对

使用道具 举报

该用户从未签到

3#
 楼主| 发表于 2007-1-16 16:07:42 | 只看该作者

回复 #2 风过无息 的帖子

谢谢楼上的朋友
明白怎么回事了,真是qtp这么好的文档没好好利用,在这提出自我批评
回复 支持 反对

使用道具 举报

该用户从未签到

4#
发表于 2007-1-19 10:12:53 | 只看该作者
不明白的是,在timeout之前就failed,在什么情况下会出现这个情况?

比若说,在一个web页check一个单词,搜索一遍如果没有找到就failed了,怎么会出现不停的search直到timeout的情况?
回复 支持 反对

使用道具 举报

该用户从未签到

5#
发表于 2007-1-19 17:13:23 | 只看该作者
这个取决于检查点的设置吧?有些检查点默认超时就是0秒,比如文本检查点,有些检查点默认超时是10秒,比如表格检查点
回复 支持 反对

使用道具 举报

该用户从未签到

6#
发表于 2007-3-1 14:34:28 | 只看该作者
我也设置了,可是看不到什么效果啊,就直接break,好像跟时间没有什么关系,请指教,谢谢!
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-9-22 14:32 , Processed in 0.081524 second(s), 27 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表