简体   繁体   English

用于自动化 SilverLight 应用程序的工具

[英]Tools for automating SilverLight application

I want to automate the application develoepd in silverlight.我想在 Silverlight 中自动化开发应用程序。 Can you let me know whether there are any open source tools are available which can be used for automating SilverLight app.您能否告诉我是否有任何可用于自动化 SilverLight 应用程序的开源工具。 Thanks.谢谢。

We are doing UI testing on a Silverlight application using the UIAutomation API , and it works very nicely.我们正在使用UIAutomation API对 Silverlight 应用程序进行 UI 测试,它运行良好。

Project White is a library that sits on top of UIAutomation, and many people find it helpful. Project White是一个位于 UIAutomation 之上的库,很多人发现它很有帮助。 I prefer to use the UIAutomation APIs directly - it's really not as hard as you might think, as my tutorial shows.我更喜欢直接使用 UIAutomation API - 正如我的教程所示,这真的没有你想象的那么难。

If you're looking to perform User Interface Automation (UIA) to simulate mouse clicks, keyboard presses, etc. there is no "easy" way to get this today.如果您希望执行用户界面自动化 (UIA) 来模拟鼠标点击、键盘按下等,那么今天没有“简单”的方法可以做到这一点。

I've seen some third party tools that may work, such as Telerik's .我见过一些可能有用的第三方工具,例如Telerik 的. Note that I have not used and do not endorse this, just know it is out there!请注意,我没有使用过也不认可这个,只知道它就在那里!

I am currently trying out Project White and finding it quite easy to use.我目前正在试用 Project White,发现它很容易使用。

Before using Project White I tried out WiPFlash which was also rather easy to use.在使用 Project White 之前,我尝试了WiPFlash ,它也很容易使用。 It just lacked a few features that I was after (Right Click and Drag options).它只是缺少一些我想要的功能(右键单击和拖动选项)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM