Hello, Subir!
in our company we used the following:
part of build.xml:
<target name="test-web">
<taskdef file="${test-web.dir}/properties/webtest-tasks.properties">
<classpath refid="compile.test.classpath"/>
</taskdef>
<ant antfile="${test-web.dir}/use-cases/web-tests.xml"/>
</target>
where web-test.xml is a common Canoo WebTest's file, and
compile.test.classpath is ANT path structure with reference to directory
with Webtest's library JARs (in our case they are:
activation-1.1.jar
classpath.xml
commons-httpclient-3.0.1.jar
commons-io-1.3.1.jar
dom4j-1.6.1.jar
fontbox-0.1.0-dev-patched-20060622.jar
groovy-all-1.0.jar
htmlunit-1.13.jar
jaxen-1.1.1.jar
js-1.6R5.jar
mail-1.4.jar
nekohtml-0.9.5.jar
oro-2.0.6.jar
pdfbox-0.7.3-dev-log4j-20060612.jar
poi-3.0.1-FINAL.jar
webtest.jar
2webtest_T.jar)
may be this helps.
Cheers,
Andrew
Hi,
I'm using Canoo WebTest tool for automated testing of our application.
I have already tested our application using this tool running the
script from command line.
Now, i want to run test writing java code using ant and canoo webtest
api taking the test script file as input.
Can anybody provide me sample code to start with for that or any
reference.
Help me Please......
Thanks && Regards...............
Subir
travel_rediff_signature_578x38.jpg
<http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-home.htm/[EMAIL PROTECTED]/1436607_1430041/1436150/1?PARTNER=3&OAS_QUERY=null%20target=new%20>
begin:vcard
fn:Andrew Sickorsky
n:Sickorsky;Andrew
org:texunatech
adr;dom:;;Magistralnaya street, 5 - 33;Moscow
email;internet:[EMAIL PROTECTED]
title:Tester
tel;work:+7 495 9809067
tel;cell:+7 909 9070328
x-mozilla-html:TRUE
url:www.texunatech.com
version:2.1
end:vcard