简体   繁体   中英

Unit testing with UI automation

... for .NET with VS Team System Test Ed? Yes I know I should make my UI thinner, but I'm working with old code and I'd like to unit test the current state before I make major refactorings.

I've tried NUnitForms and White , but they seem to have a non-obvious dependence on NUnit. I get thread locking/managed code execution errors whenever I try to do use either to do an automatic UI operation.

What framework would you suggest I use?

You can also check - Guia - Graphical User Interface Automation - http://guia.codeplex.com/wikipage?title=Tutorial&referringTitle=Documentation

Bunch of useful articles focussed on .NET apps based automation - http://msdn.microsoft.com/en-us/site/cc301096

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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