<?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>lastAlert — Sahi Pro Community</title>
        <link>https://community.sahipro.com/forums/</link>
        <pubDate>Fri, 13 Nov 2026 13:17:10 +0000</pubDate>
        <language>en</language>
            <description>lastAlert — Sahi Pro Community</description>
    <atom:link href="https://community.sahipro.com/forums/discussions/tagged/lastAlert/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>How to pass the value of _lastAlert() in the HTML</title>
        <link>https://community.sahipro.com/forums/discussion/1115/how-to-pass-the-value-of-lastalert-in-the-html</link>
        <pubDate>Sat, 01 Aug 2009 03:32:00 +0000</pubDate>
        <category>Sahi - Open Source</category>
        <dc:creator>Admirer</dc:creator>
        <guid isPermaLink="false">1115@/forums/discussions</guid>
        <description><![CDATA[Hi,<br />
<br />
In my application, i have to validate the PopUps so, for that i have written code as follows:<br />
<br />
var $actualValue =_lastAlert();<br />
<br />
var $expectedValue = &quot;User LoginID is Required&quot;;<br />
<br />
var $htmlReport = &quot;&lt;html&gt;&lt;body&gt;&lt;table border='1' colspan='2'&gt;&lt;th&gt;Check Point&lt;/th&gt;&lt;th&gt;Actual Value&lt;/th&gt;&lt;th&gt;Expected Value&lt;/th&gt;&lt;th&gt;Status&lt;/th&gt;&quot;;<br />
<br />
if(_condition(_lastAlert() == $expectedValue)){<br />
$htmlReport += &quot;&lt;tr&gt;&lt;td&gt;PopUp&lt;/td&gt;&lt;td&gt;&quot;+$actualValue+&quot;&lt;/td&gt;&lt;td&gt;&quot;+$expectedValue+&quot;&lt;/td&gt;&lt;td&gt;&lt;b&gt;&lt;font color='green'&gt;&quot;+&quot;Pass&quot;+&quot;&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&quot;;<br />
}<br />
<br />
-&gt; In the html page, it's shown as &quot;_sahi._lastAlert()&quot;  insteadof  &quot;User LoginID is Required&quot;.<br />
<br />
<br />
<br />
Thanks in Advance.<br />
<br />
Thanks &amp; Regards,<br />
Tulasi]]>
        </description>
    </item>
   </channel>
</rss>
