<br>I&#39;m not sure if I&#39;m doing this right. <br><br>How do I, with WebTester, test that &lt;div class=&quot;foo&quot;&gt; is present? This is boggling me, and testing something like that seemed pretty obvious with SeasideTesting. I ended up doing this, but yikes...<br>

<br>    self assert: ( self webTester processCommand: &#39;isElementPresent&#39; withParams: ( Array with: &#39;//div[@class=&#39;&#39;foo&#39;&#39;]&#39; )) = &#39;true&#39;<br><br>Am I trying to do something that WebTester is not suited for?<br>

<br><br><br><br><br><div class="gmail_quote">On Wed, Aug 25, 2010 at 8:56 AM, Joel Turnbull <span dir="ltr">&lt;<a href="mailto:joelbywan@gmail.com">joelbywan@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Very helpful, thank you. It occurred to me last night as I was playing some more with WebTester that it isn&#39;t necessarily a mutually exclusive decision. Like Johan stated, each  can be utilized for different kinds of testing.<div>

<div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Wed, Aug 25, 2010 at 7:16 AM, C. David Shaffer <span dir="ltr">&lt;<a href="mailto:cdshaffer@acm.org" target="_blank">cdshaffer@acm.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<div> On 08/25/10 06:49, Bart Gauquie wrote:<br>
&gt; WebTester opens a browser by sending a http request to Selenium Remote<br>
&gt; Control (<a href="http://seleniumhq.org/projects/remote-control/" target="_blank">http://seleniumhq.org/projects/remote-control/</a>). And then<br>
&gt; this remote control starts the browser. Selenium Remote Control is a<br>
&gt; java process you have to start before starting the selenium tests in<br>
&gt; Smalltalk.<br>
&gt;<br>
<br>
</div>I see.  I&#39;m sure that makes sense for Selenium but for SeasideTesting<br>
the best option is raising a browser window from Smalltalk (you could<br>
ask the user to do it for you if you are really allergic to FFI).  This<br>
is especially true on build servers where ST is running inside a VNC<br>
session, for example.<br>
<div><div></div><div><br>
David<br>
<br>
_______________________________________________<br>
seaside mailing list<br>
<a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>