问题
We use and like Selenium to test our web user interfaces. Now we need to test a native Windows program and are looking for a similar tool. Something that can record a session to an editable script that can be replayed to execute the test. I've seen vague references to Spy++ and UI Automation Verify but nothing that looks close to what I'm looking for. Am I missing it or doesn't such a product exist? Open source, like Selenium, would be great but this is important enough we'd pay for the right tool. Any suggestions?
回答1:
We ended up with Win32:GuiTest for Perl. It doesn't record but it does play nicely.
回答2:
THere are a large number of automated testing tools that can be used to drive windows interfaces: Microsoft Test Manager, Quick Test Pro from HP as well as open source solutions such as White from Codeplex
回答3:
You can write your own custom code. I would suggest you look at below article for WCF, WPF, Web Services Testing
http://msdn.microsoft.com/en-us/site/cc301096
Alternatively code plex has few tools Guia - Graphical User Interface Automation http://guia.codeplex.com/
Please check.
来源:https://stackoverflow.com/questions/5251989/looking-for-windows-gui-test-tool-like-selenium-for-web-testing