WF is a set of sequential activities of the process, then we can use the WF process to implement automated testing, such as let WF automatically click on the page, the corresponding control input values, automatically do some artificial operation.
Simulation testing, and we just need to customize the test process.
Reference Source: http://www.cnblogs.com/zhuqil/archive/2010/04/20/TestflowFramework.html (from Kirin's Great God blog)
Framework implementation:
Startflow class for process start-up
The extensions class is an extended class in the core of the framework, with two methods GetForm and GetControl
The Settextvalueactivity class is used to set the value of a textbox
The Gettextvalueactivity class is used to get the value of a textbox
The Clickbuttonactivity class is used to simulate the click action of a button
Closeformactivity to close a form
Feeling can continue to expand under!
WF+WCF+WPF The third day-WF implement a software automated testing framework