问题
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.
The main problem is that they are unable to identify the silverlight 5 objects
Does any of you know of a an automatic UI testing tool that works fine with silverlight 5?
thanks in advance!
回答1:
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.
回答2:
The only tool I know is Telerik Test Studio.
来源:https://stackoverflow.com/questions/8046770/automation-ui-testing-tool-for-silverlight-5