何时在 qtp 中进行标准和文本检查点

发布于 2024-09-10 17:21:09 字数 98 浏览 1 评论 0原文

我是qtp的新手,我对标准检查点和文本检查点感到困惑,有时标准检查点会读取窗口中的所有文本内容,但文本不会读取文本内容。

所以请帮助我在什么情况下使用标准和文本检查点

i am new to qtp, i confused with standard checkpoint and text checkpoint, some times standard checkpoint reads all text content in the window, but text doesn't read text content.

so please help me in what situation the standard and text checkpoint are used

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

黯然#的苍凉 2024-09-17 17:21:09

如果您想使用 QTP 的正常属性机制检查特定属性的值,您应该使用标准检查点。

另一方面,文本检查点使用 Windows API 或 OCR 来获取文本(您可以控制来自工具 -> 选项 -> 常规文本识别),只有当你无法从标准检查点获得你想要的东西时我才会使用它。

If you want to check the values of specific properties using QTP's normal property mechanism you should use a standard checkpoint.

Text checkpoints on the other hand used either Windows API or OCR to get the text (you can control which from Tools -> Options -> General -> Text Recognition), and I would use it only if you can't get what you want from the standard checkpoint.

紫南 2024-09-17 17:21:09

标准检查点主要用于检查各种对象,例如按钮、单选按钮复选框等。

更多详细信息请查看此链接http://qtp.blogspot.in/2007/08/qtp-tutorials-4-standard-checkpoint.html

文本检查点用于检查文本内容。

更多详细信息请查看此链接 http://qtp.blogspot。在/2007/08/qtp-tutorials-9-text-checkpoint.html

Standard check point is mainly used to check the variety of object such as button ,radio button check box etc.

more details check this link http://qtp.blogspot.in/2007/08/qtp-tutorials-4-standard-checkpoint.html

Text check point is used to check the text contents.

more details check this link http://qtp.blogspot.in/2007/08/qtp-tutorials-9-text-checkpoint.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文