File dialog automation using White framework
Today TeamCity was showing me one functional test failure on my WPF application.
I already discussed about this problem here: White’s tip for your automated WPF functional tests
Today TeamCity was showing me one functional test failure on my WPF application.
I already discussed about this problem here: White’s tip for your automated WPF functional tests
I am in the train back home and wanted to try out quickly to migrate our WPF functional tests written has Unit Tests to BDD Specifications.
Here is the code I started from, pure Unit Test using NUnit and White
When you build automated WPF functional test using White in which you need to open a file through a Windows open file dialog, you will be confronted with the following issue. Windows open file dialog remember the last path with which you opened a file.
So you might have some unit tests that are green for a while which starts to be red for no apparent reasons.
I’d like to introduce a tool that I have added for a month or two in my toolset. This tool is White from ThoughtWorks. Here is the description of White:
White: Automate windows applications