UIMap Recorder无法区分包含相同类型控件的两个页面上的控件。 [英] UIMap Recorder not differentiating controls on two pages containing the same type of controls.

查看:55
本文介绍了UIMap Recorder无法区分包含相同类型控件的两个页面上的控件。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

提前感谢您关注此事! 任何帮助将不胜感激!

Thank you in advance for looking at this!  Any help would be greatly appreciated!

我们正在为Pivotal应用程序自动化测试用例。 我们遇到了巨大的问题。 同一模块下的所有页面都是单个页面的副本,其中包含相同的控件集并具有相同的窗口标题。 

We are automating test cases for our Pivotal application.  We are having a HUGE problem.  All pages under the same module are copies of a single page, which contain the same set of controls and have the same Window Title. 

例如: 我有一个用于创建新会议的页面,以及另一个用于创建新待办事项的页面。 两个页面都具有相同的控件。 

For example:  I have a page for creating a new meeting, and another page for creating a new To-Do item.  Both pages have all the same controls. 

当我为两个页面记录测试时,UIMap显示两个页面的所有控件都在1页以下。  我可以如果有两组所有控件,请使用此功能。  但是,情况并非如此。  当创建第二个
页面的测试时,UIMap添加了除2个控件以外的所有控件从第2页开始。 当我把 在剩下的2个控件上的十字准线,然后查看UI控制图屏幕,"第一"控件上的控件。页面突出显示。 记录器不知道两个控件之间的区别似乎是

When I record a test for both pages, the UIMap shows all controls for both pages are under 1 page.  I could work with this if there were two sets of all the controls.  But, that's not the case.  When the tests for the 2nd page is created, the UIMap added all but 2 controls from the 2nd page.  When I put  the crosshair on the 2 controls that were left out, and then looked at the UI Control Map screen, the control on the "first" page is highlighted.  It seems that the recorder doesn't know the difference between the two controls.

laurie l clos

laurie l clos

推荐答案

我注意到你提到了IE Windows Title,所以我想你可能是使用IE 8或更早版本。在IE9中根本没有窗口标题。 在此发布之前,我测试了该场景,

I noticed you mentioned IE Windows Title, so I think you may be using IE 8 or earlier. In IE9 there's no Window Title at all.  Before this posting, I have tested the scenario,


  • 两个网页具有相同的文本框控件;
  • 使用CodedUI测试记录测试的构建器

在我看来,两页上的文本框控件记录得非常好。因为父窗口不同。您是否尝试将IE升级到版本9并重试?

It appears to me the textbox control on two pages are recorded very well. Because the parent Window is different. Would you try upgrade your IE to version 9 and retry?

最诚挚的问候,


这篇关于UIMap Recorder无法区分包含相同类型控件的两个页面上的控件。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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