如果我记录的窗口标题发生变化,如何更改对象存储库
我有一个 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以更改对象存储库中窗口的
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.