如果我记录的窗口标题发生变化,如何更改对象存储库

发布于 2024-11-14 14:15:18 字数 166 浏览 8 评论 0原文

我有一个 QTP 自动化脚本来安装软件。 我录制的窗口的倾斜已更改。 现在 QTP 无法识别该窗口。

那么我应该重新记录完整的安装,还是有一种方法可以通过更改对象存储库中的值来运行 QTP 自动化?

我尝试更改对象存储库中的标题名称,但没有帮助。

请尽快回复。提前致谢。

I have an QTP automation scripts to install a software.
The window that I recorded has got it's tiltle changed.
Now the QTP is not able to recognize the window.

So should i re-record the full installation or is there a way through which i could run QTP automation by changing values in object repository?

I tried to change the name of title in Object repository but it was of no help.

Please reply soon.Thanks in advance.

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

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

发布评论

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

评论(1

网名女生简单气质 2024-11-21 14:15:18

您可以更改对象存储库中窗口的 title 属性,您可以在其中给出不同的值或使用正则表达式。这是你尝试过的吗?

另一种选择是使用维护模式运行,您可以选择指向窗口并帮助您决定如何修复测试。

You can change the title property of the window in the object repository, there you can either give a different value or use a regular expression. Is this what you tried?

Another option is to use a Maintenance Mode Run which will give you the option to point at your window and help you decide how to fix the test.

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