Silverlight 5 的自动化 UI 测试工具

编程入门 行业动态 更新时间:2024-10-26 04:31:36
本文介绍了Silverlight 5 的自动化 UI 测试工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

如您所知,Silverlight 5 测试版不久前发布,除了它的新功能外,我还遇到了一个严重的问题.我发现没有任何测试工具可以测试 Silverlight UI.我已经尝试过 Selenium、Coded UI、Telerik、Test Complete,也许还有一些我忘了提及,所有这些都不完全支持 Silverlight 5.

as you might know, silverlight 5 beta was resleased a while ago, and alongside its new features, I've encountered a serious problem. There isn't any testing tool that I've found that is able to test the Silverlight UI. I've tried Selenium, Coded UI, Telerik, Test Complete and perhaps even a few more I forgot to mention, all of which doesn't exactly support silverlight 5.

主要问题是他们无法识别silverlight 5对象

你们中是否有人知道一种可以与 Silverlight 5 配合使用的自动 UI 测试工具?

Does any of you know of a an automatic UI testing tool that works fine with silverlight 5?

提前致谢!

推荐答案

我看到人们成功地将 Silverlight 单元测试框架和依赖 UIAutomation 的传统 UI 自动化框架(例如您提到的那些)混合使用.您可以使用 Silverlight 单元测试框架来识别元素并验证 Silverlight 属性,但使用工具例如编码 UI 以实际与元素进行交互.理想情况下,您应该在平台上进行投资,尽可能多地抽象出来,以便有一个与元素交互的单一入口点.

I have seen people have success with a mix of the Silverlight Unit Testing framework and a traditional UI automation framework relying on UIAutomation (such as the ones you mentioned). You can use the Silverlight Unit Testing Framework to identify the elements and validate silverlight properties, but use a tool such as Coded UI to actually interact with the elements. Ideally, you would make an investment in the platform to abstract as much of that away as you can to have a single entry point to interacting with the elements.

这篇关于Silverlight 5 的自动化 UI 测试工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-30 22:20:45,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1401133.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:测试工具   Silverlight   UI

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!