[Webtest] Not working simple test

Mircea Cocosila Mircea Cocosila" <mircea@neodonis.com
Wed, 30 Jul 2008 16:29:20 -0400


------=_Part_41951_3496891.1217449760250
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi,

I created a simple webtest test as follows:

<?xml version="1.0"?>
<!DOCTYPE project SYSTEM "../dtd/Project.dtd">

<project default="test">
      <target name="test">
            <webtest name="BCSports Storefront Test" >
                  <invoke url="http://www.bcsports.com/" description="go to
Home Page" />
                  <verifyTitle text="BC Sports Collectibles Autographs
Memorabilia NFL MLB NBA ncaa nhl " description="we should see the home page
title" />
            </webtest>
      </target>
</project>

Please note that http://www.bcsports.com/ is a publicly available site so
anybody could reproduce the problem.

Thanks,
Mircea

------=_Part_41951_3496891.1217449760250
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div dir="ltr"><div class="Section1">


<p class="MsoNormal"><font color="gray" face="Courier New" size="2"><span style="font-size: 10pt; color: gray; font-family: &#39;Courier New&#39;;">Hi,</span></font></p>

<p class="MsoNormal"><font color="gray" face="Courier New" size="2"><span style="font-size: 10pt; color: gray; font-family: &#39;Courier New&#39;;">I created a 
simple webtest test as follows:&nbsp;<br></span></font></p>













<p class="MsoNormal"><font color="gray" face="Courier New" size="2"><span style="font-size: 10pt; color: gray; font-family: &#39;Courier New&#39;;">&lt;?xml 
version=&quot;1.0&quot;?&gt;</span></font><font color="maroon" face="Courier New" size="2"><span style="font-size: 10pt; color: maroon; font-family: &#39;Courier New&#39;;"><br>&lt;!DOCTYPE 
project SYSTEM &quot;../dtd/Project.dtd&quot;&gt;</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;"><br>&nbsp;<br>&lt;project</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"> 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">default=</span></font><font color="green" face="Courier New" size="2"><span style="font-size: 10pt; color: green; font-family: &#39;Courier New&#39;;">&quot;test&quot;</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">&gt;</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">&lt;target</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"> 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">name=</span></font><font color="green" face="Courier New" size="2"><span style="font-size: 10pt; color: green; font-family: &#39;Courier New&#39;;">&quot;test&quot;</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">&gt;</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">&lt;webtest</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"> 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">name=</span></font><font color="green" face="Courier New" size="2"><span style="font-size: 10pt; color: green; font-family: &#39;Courier New&#39;;">&quot;BCSports 
Storefront Test&quot;</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"> 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">&gt;</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">&lt;invoke</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"> 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">url=</span></font><font color="green" face="Courier New" size="2"><span style="font-size: 10pt; color: green; font-family: &#39;Courier New&#39;;">&quot;<a href="http://www.bcsports.com/">http://www.bcsports.com/</a>&quot;</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"> 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">description=</span></font><font color="green" face="Courier New" size="2"><span style="font-size: 10pt; color: green; font-family: &#39;Courier New&#39;;">&quot;go to Home 
Page&quot;</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"> 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">/&gt;</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">&lt;verifyTitle</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"> 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">text=</span></font><font color="green" face="Courier New" size="2"><span style="font-size: 10pt; color: green; font-family: &#39;Courier New&#39;;">&quot;BC Sports 
Collectibles Autographs Memorabilia NFL MLB NBA ncaa nhl &quot;</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"> 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">description=</span></font><font color="green" face="Courier New" size="2"><span style="font-size: 10pt; color: green; font-family: &#39;Courier New&#39;;">&quot;we should see 
the home page title&quot;</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"> 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">/&gt;</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">&lt;/webtest&gt;</span></font><font color="black" face="Courier New" size="2"><span style="font-size: 10pt; color: black; font-family: &#39;Courier New&#39;;"><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">&lt;/target&gt;</span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;"><br>
&lt;/project&gt;<br>&nbsp;<br>Please note 
that </span></font><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;"><a title="blocked::http://www.bcsports.com/" href="http://www.bcsports.com/">http://www.bcsports.com/</a> is a publicly 
available site so anybody could reproduce the 
problem.&nbsp;<br></span></font></p>
<p class="MsoNormal"><font color="navy" face="Courier New" size="2"><span style="font-size: 10pt; color: navy; font-family: &#39;Courier New&#39;;">Thanks,<br>Mircea</span></font><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"></span></font></p>
</div></div>

------=_Part_41951_3496891.1217449760250--