Hi Jeff

I am using Visual Studio 2005 professional edition

the steps i do to run the sample code are:
1) build the solution.
2) open "Gallio Icarus 3.0.5 build 546"
3) in Gallio Icarus I click on Project> Add Assemblies and add the dll
"MbUnit.Samples.dll"
4) i Select only WatiN related test
5) then i Click on "Start"

the test runs successfully and when i look at the report in Gallio the
place where the picture is suppose to appear  the .PNG file generated
is completely black.
let me know if there is a way i can send a screen shot.
the sample application was found in "C:\Program Files\Gallio\samples
\MbUnit\MbUnit.Samples\"

Please let me know if you require any more information.
Thanks
Thirukumaran

On Dec 24 2008, 12:45 am, "Jeff Brown" <[email protected]> wrote:
> The screenshot should appear in the test report which is accessed in
> different ways depending on the test runner you are using.
>
> With TestDriven.Net:
>   Control-Click on the link at the end of the output window.
>
> With Visual Studio Test Tools:
>   Double-click on the test result in the Test Results view.
>
> With ReSharper:
>   Find the "Open Test Report" combo-button in the Unit Test Session view's
> toolbar.
>
> If that doesn't help, could you please describe the behavior you observe
> instead?
>
> Jeff.
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
>
> Behalf Of tk
> Sent: Wednesday, December 17, 2008 9:48 AM
> To: MbUnit.User
> Subject: MbUnit CaptureWebPage not working
>
> Hi
>
> I am new to Gallio and Mbunit. Not sure where to post this. i was going
> through sample 2005 soultion which with came with Gallio. I am planning to
> use it with Watin and the example provided by helped a lot.But
> CaptureWebPage does to seem to be working . I am using Windows XP and IE6.
> Is there any modification that needs to be done to the code?
>
> private void Snapshot(string caption, TestLogStreamWriter
> logStreamWriter)
>         {
>             using (logStreamWriter.BeginSection(caption))
>             {
>                 logStreamWriter.Write("Url: ");
>                 using (logStreamWriter.BeginMarker(Marker.Link
> (ie.Url)))
>                     logStreamWriter.Write(ie.Url);
>                 logStreamWriter.WriteLine();
>
>                 logStreamWriter.EmbedImage(caption + ".png", new
> CaptureWebPage(ie).CaptureWebPageImage(false, false, 100));
>             }
>         }
>
> Thanks
> TK
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MbUnit.User" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/MbUnitUser?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to