Some more info would be helpful, like what is the error.  I ran your test and 
got your error.  WebTest is being redirected to a "Where is my page" page on 
the invoke and the error in the report is HTTP error 404.  I do not know how to 
fix your error but hopefully this information will help someone else on the 
list.  I test with build 1713 that has htmlunit2.1.  This is the error on the 
command line:
   [invoke] Jul 31, 2008 7:11:02 AM 
com.gargoylesoftware.htmlunit.javascript.StrictErrorRe
porter runtimeError
   [invoke] SEVERE: runtimeError: message=[ActiveXObject Error: no value for 
ShockwaveFlas
h.ShockwaveFlash.7.] sourceName=[https://ssl.google-analytics.com/urchin.js] 
line=[442] li
neSource=[null] lineOffset=[0]
   [invoke] Jul 31, 2008 7:11:02 AM 
com.gargoylesoftware.htmlunit.javascript.StrictErrorRe
porter runtimeError
   [invoke] SEVERE: runtimeError: message=[ActiveXObject Error: no value for 
ShockwaveFlas
h.ShockwaveFlash.6.] sourceName=[https://ssl.google-analytics.com/urchin.js] 
line=[447] li
neSource=[null] lineOffset=[0]
   [invoke] Jul 31, 2008 7:11:02 AM 
com.gargoylesoftware.htmlunit.javascript.StrictErrorRe
porter runtimeError
   [invoke] SEVERE: runtimeError: message=[ActiveXObject Error: no value for 
ShockwaveFlas
h.ShockwaveFlash.] sourceName=[https://ssl.google-analytics.com/urchin.js] 
line=[455] line
Source=[null] lineOffset=[0]
   [invoke] Jul 31, 2008 7:11:02 AM 
com.gargoylesoftware.htmlunit.javascript.host.Document
 jsxSet_cookie
   [invoke] INFO: Added cookie: 
__utmz=244228758.1217506262.1.1.utmccn=(direct)|utmcsr=(di
rect)|utmcmd=(none)
   [invoke] Jul 31, 2008 7:11:03 AM com.gargoylesoftware.htmlunit.WebClient 
printContentIf
Necessary

________________________________
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mircea Cocosila
Sent: Wednesday, July 30, 2008 3:29 PM
To: [email protected]
Subject: [Webtest] Not working simple test

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

Reply via email to