本文介绍了Silverlight应用程序-控件类型-文档,技术名称-MSAA的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用编码的ui测试Silverlight Web应用程序.

I am testing a Silverlight Web Application using coded ui.

当我监视一个UI控件(看起来像一个大文本框)时,我会看到以下属性.

When I am spying a UI control (that looks like a large text box), I am getting below properties.

由于TechnologyName为"MSAA",因此该对象肯定不是Web UI控件.

As the TechnologyName is "MSAA", this object surely is not a Web UI control.

但是intellisense没有为我提供任何UI控件,例如"WinDocument". (我猜想可能是HtmlDocument的胜者").

But intellisense is not offering me any UI control such as "WinDocument" (I guessed there could be a "win" counterpart of the HtmlDocument).

如何通过描述性编程在我的测试脚本中获取此UI对象?

How to get this UI object in my test script via descriptive progrmming?

谢谢

Akashdeep

Akashdeep

Akashdeep Srivastava测试工程师Wipro Technologies

Akashdeep Srivastava Test Engineer Wipro Technologies

推荐答案

感谢发布.

据我所知,默认情况下,代码UI不支持Silverlight应用程序.您可以参考编码的UI测试和操作记录的受支持的配置和平台

As far as I know, Code UI doesn't support Silverlight application by default. You can refer to theSupported Configurations and Platforms for Coded UI Tests and Action Recordings

但是您可以使用适用于Silverlight插件的Microsoft Visual Studio 2015编码UI测试插件为Silverlight应用程序创建编码UI测试或动作记录.

But you can create Coded UI tests or action recordings for Silverlight applications using Microsoft Visual Studio 2015 Coded UI Test plugin for Silverlight plug-in.

https://visualstudiogallery.msdn.microsoft.com/bf0caedc-90eb-46af-9c1a -8e68d013bb99

最好的问候,

肖湖


这篇关于Silverlight应用程序-控件类型-文档,技术名称-MSAA的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 08:48