打开多个选项卡时,对象识别失败(使用编码UI的wpf应用程序) [英] Object recognition fails when multiple tabs are open (wpf application using coded UI)

查看:54
本文介绍了打开多个选项卡时,对象识别失败(使用编码UI的wpf应用程序)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用CodedUI(VSTS 2010 FP2)来自动化wpf应用程序。在我的应用程序中,可以选择以选项卡的形式启动多个组件应用程序(从组合框中选择)。当推出单个组件应用程序时,捕获的对象成功识别

I am using CodedUI (VSTS 2010 FP2) to automate wpf application. In my application there is option to launch multiple component applications (selecting from a combobox) in tabbed form. When a single component application is lauched, the objects captured are recognised successfully.

现在在新选项卡中启动另一个组件应用程序,此选项卡下对象的识别成功。但是当我们导航回旧的(已经开放的)应用程序时,对象识别失败。

Now launch another component application in new tab, the recognition for the objects under this tab is successful. But when we navigate back to old (already openend) application, the object recognition fails.

我不确定这是编码UI的已知问题还是编程问题。

I am not sure if this is a known issue with coded UI or may be a programming issue.

问候,

Bibhu& Madan

Bibhu & Madan

推荐答案

1。你说"对象识别失败"。这是在录制或播放期间吗?

1. You say that "Object recognition fails". Is this during recording or playback?

2。如果在播放过程中,请包含堆栈跟踪和错误消息。

2. If during playback, please include the stack trace and error message.

3。在任何一种情况下,请在遇到此问题时包括跟踪日志。

3. In either case, include the trace logs during the time when you face this issue.


这篇关于打开多个选项卡时,对象识别失败(使用编码UI的wpf应用程序)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆