I am trying to test each components of my WPF application by using NUnit. But how to test the graphical components like button, grid, textblock, richtextbox etc?
Asked
Active
Viewed 816 times
1 Answers
1
Take a look at Teststack.White . Pretty easy to use:
- Start application.
- Attach app process.
- Find Window by (SearchCriteria).
- Get element you want to test by Window.Get(SearchCriteria)
- Test whatever you want
Cheers

unickq
- 11
- 1
-
Its OK. But I want to do it in NUnit. – itzmebibin Mar 04 '15 at 11:34
-
What do you mean by do it in nUnit? nUnit is framework that just allow assertions. – unickq Mar 05 '15 at 13:59