<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>debug — Sahi Pro Community</title>
        <link>https://community.sahipro.com/forums/</link>
        <pubDate>Fri, 13 Nov 2026 00:36:47 +0000</pubDate>
        <language>en</language>
            <description>debug — Sahi Pro Community</description>
    <atom:link href="https://community.sahipro.com/forums/discussions/tagged/debug/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Log html page after a fail</title>
        <link>https://community.sahipro.com/forums/discussion/1077/log-html-page-after-a-fail</link>
        <pubDate>Tue, 14 Jul 2009 05:26:15 +0000</pubDate>
        <category>Sahi - Open Source</category>
        <dc:creator>robyrobot</dc:creator>
        <guid isPermaLink="false">1077@/forums/discussions</guid>
        <description><![CDATA[Hi all,<br />
<br />
it is possible to write down the content of a page after a fail occours ?<br />
<br />
I tried with this<br />
<br />
_writetoFile(document.getElementByTagName(&quot;html&quot;)[0].innerHTML, &quot;myfile.html&quot;);<br />
<br />
...<br />
<br />
but I've obtained as a content of the file myfile.html this ..<br />
<br />
document.getElementByTagName(&quot;html&quot;)[0].innerHTML;document.getElementByTagName(&quot;html&quot;)[0].innerHTML<br />
<br />
Cheers<br />
<br />
Roby<br />
<br />
P.S: this is important for debug purposes, and hope to be possibile in future release, because in the log file it will no log the html of the page that make the test to fails. As an example it is possible to look at the log that the canoo web test will produce, where it is possible to access at the html page where the fails occours.<br />
<br />
P.P.S: nevertheless it is a wonderfull testing tool ;-)]]>
        </description>
    </item>
   </channel>
</rss>
