<?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>assert — Sahi Pro Community</title>
        <link>https://community.sahipro.com/forums/</link>
        <pubDate>Tue, 14 Jul 2026 05:42:42 +0000</pubDate>
        <language>en</language>
            <description>assert — Sahi Pro Community</description>
    <atom:link href="https://community.sahipro.com/forums/discussions/tagged/assert/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Failing assert without marking test as fail?</title>
        <link>https://community.sahipro.com/forums/discussion/1191/failing-assert-without-marking-test-as-fail</link>
        <pubDate>Fri, 25 Sep 2009 04:56:12 +0000</pubDate>
        <category>Sahi - Open Source</category>
        <dc:creator>NEWUSER</dc:creator>
        <guid isPermaLink="false">1191@/forums/discussions</guid>
        <description><![CDATA[Is it possible?<br />
all i want is to check for a button and if not present then navigate to the page where button is present.<br />
For which i dont want logs to be red.<br />
I am using<br />
if(_condition(_assertExists(_button(&quot;Click Me&quot;))))]]>
        </description>
    </item>
    <item>
        <title>Hidden elements value is invisible to _assertContainsText</title>
        <link>https://community.sahipro.com/forums/discussion/1012/hidden-elements-value-is-invisible-to-assertcontainstext</link>
        <pubDate>Thu, 04 Jun 2009 20:20:07 +0000</pubDate>
        <category>Customer Stories and Testimonials</category>
        <dc:creator>voleynik</dc:creator>
        <guid isPermaLink="false">1012@/forums/discussions</guid>
        <description><![CDATA[We are using Sahi to test UI in our web app which deals with HTTPS, certificates, multiple re-directs, accessing multiple domains, a lot of tokens and HEADER values, etc.<br />
For example -  as a result of one user click HTTPS traffic goes back and forth to 4 different sites all over the world.<br />
<br />
We tried to use Selenium, but it gets confused and CAN NOT play its own recorded script.<br />
<br />
Sahi on the other hand, after installing all needed certificates, works fine.<br />
<br />
We also actually trying to use Sahi as load/performance testing tool.<br />
The batch invocation works ok, but if we run 10000 test cases in 10 threads on a single machine, the number of open TCP/IP sockets grows very fast and Sahi gets confused. We probably need to learn how to tune it.<br />
<br />
Looks like we will definitely use Sahi for functional UI test.<br />
<br />
But, on the other hand, we will watch as it evolves to adjust it for load/performance tests.<br />
<br />
One thing that we noticed is that we can not use assert for the text inside hidden elements:<br />
<br />
Example:<br />
<br />
for this element<br />
<br />
&lt;input type=&quot;hidden&quot; name=&quot;act&quot; value=&quot;[9999010000000082]&quot;&gt;<br />
<br />
the code _assertContainsText(&quot;0082&quot;, document.body);<br />
<br />
can not find it.<br />
<br />
Any suggestions would be greatly appreciated.<br />
Regards,<br />
Vladimir.<br />
San Jose, California.]]>
        </description>
    </item>
   </channel>
</rss>
