Lester's WPF\SL Blog

Simple, Easy & Beautiful


January, 2009

Blog - Post Feedback Form(CAPTCHA)
  • Lester's WPF\Silverlight Blog

    TestAPI Library Usage

    TestAPI . Heard of it? Tried it?... huh So here is the gist of it. It’s a collection of helper functions that will make testing your applications easier. Now this is an alpha release and is in the first iteration – so we still have a feature backlog J Currently we support the following 5 scenarios: Visual Verification Sample Usage: // Capture the actual pixels from the bounds of the screen rectangle Snapshot actual = Snapshot .FromRectangle(windowRect); // Load the reference/master data from a previously saved file Snapshot master = Snapshot .FromFile( Path .Combine( TestContext .TestDeploymentDir, "Master0.png" )); // Compare the actual image with the master image Snapshot difference = actual.CompareTo...
Page 1 of 1 (1 items)