tk
unread,Dec 17, 2008, 12:45:40 PM12/17/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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));
}
}