CaptureWebPage no working

2 views
Skip to first unread message

tk

unread,
Dec 17, 2008, 12:45:40 PM12/17/08
to gallio-dev
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));
}
}
Reply all
Reply to author
Forward
0 new messages