TestComplete 未找到对象错误

发布于 2024-09-28 05:14:55 字数 153 浏览 0 评论 0原文

我是 TestComplete 的新手。

我看了他们的几个视频,但是当我尝试同样的事情时,它给了我关于找不到对象的错误。我所做的只是记录进入网络应用程序并登录它。

有没有人遇到过此类问题,如果是的话,我们将不胜感激任何解决此问题的指示。

谢谢!

I am new to TestComplete.

I watched a couple of videos they have but when I tried the same thing it gives me error about not finding the objects. All I did was recorded going to a web app and logging into it.

Has anyone faced this kind of problem and if so any pointers to resolve this issue will be appreciated.

Thanks!

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

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

发布评论

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

评论(3

时光倒影 2024-10-05 05:14:55

对于这种情况,除了调查情况以找出为什么预期的识别标准与实际的识别标准不符之外,没有什么神奇的解决方案。
最近有一个关于名称映射的网络研讨会的录音 - 它描述了找不到对象时的一些情况,并就可能的解决方案提供了一些好的建议:
http://www.automatedqa.com/products/ testcomplete/screencasts/reliable-tests-for-dynamic-objects/

无论如何,您需要进行一些调查以确定情况的根本原因,然后才能尝试应用一些建议。

祝你好运。

There is no magic solution to such situations, other than investigating the situation to find out why the expected recognition criteria do not match the actual ones.
There is a recording of a recent webinar about Name Mapping - it describes some situations when objects are not found, and gives some good advices on the possible solutions:
http://www.automatedqa.com/products/testcomplete/screencasts/reliable-tests-for-dynamic-objects/

Anyway, you will need to make some investigations to determine the root cause of the situation before you can try applying some suggestions.

Good Luck.

身边 2024-10-05 05:14:55

TestComplete 8 的帮助系统包含一个很棒的主题,描述了“找不到对象”问题的所有可能原因,并提出了调试和解决这些问题的方法:处理“找不到对象”错误

The help system of TestComplete 8 contains a great topic describing all possible causes of the 'Object not found' issue and suggesting ways for debugging and solving them: Handling the 'Object Not Found' Errors.

深海里的那抹蓝 2024-10-05 05:14:55

使用对象浏览器突出显示任何对象。您还可以编写脚本来在执行任何操作之前检查 Exists 属性。

对于我不确定是否存在的对象,我通常使用超时等待,然后检查 Exists 属性以避免对象未找到错误。

Use object browser to highlight any object. You can also script to check the Exists property before performing any action.

For objects which I am not sure would exists, I usually user Wait with timeout and then check the Exists property to avoid Object not found error.

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