Workflow TV - Lab Introduction to WF4: Exercise 5 - Testing Activities

Download this episode

Download Video



In this exercise you will enhance your program and the SayHello activity to meet some new requirements.

  1. Generate a personalized greeting
  2. Provide unit tests to verify the personalized greeting

Intro To WF4 Hands On Lab (Visual Studio Gallery)
Intro To WF4 Hands On Lab (MSDN Code Gallery)

Lab Exercises

  • Exercise 1 - Hello Workflow (video)
  • Exercise 2 - Refactoring Workflow (video)
  • Exercise 3 - The CodeActivity (video)
  • Exercise 4 - Dynamic Workflows with XAML (video)
  • Exercise 5 – Testing Activities (video)
  • Exercise 6 – WorkflowApplication (video)
  • Exercise 7 – If/Else Logic (video)





Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image
      Steve Scott

      How do we go about testing Bookmarks?

    • User profile image

      To test bookmarks you have to use WorkflowApplication and then when the activity goes idle your OnIdle delegate will be invoked.  When this happens you can resume the bookmark.  I have some sample code I'll publish soon so you can see how this is done.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.