Hi,

point 3 was wrong. User variable WEBTEST_HOME makes for this purpose no
sense. What you need here is to add c:\apps\webTest\bin to your PATH
user variable.

Once this is done, point 4 should work.

Point (5) won't work as there is no installTest file in bin dir.

We should update the documentation to reflect current "best practice".
Try following in c:\apps:

webtest -f webtest\webtest.xml wt.createProject

Marc.

Biggs, Katy (ELS-CAM) wrote:
> Hi
>  
> I am new to Webtest and am having problems running the installTest.xml.
>  
> _Environment_
> I am running a WinXP base machine with a WinXP VMWare image (This will
> be the machine I am running WebTest on). The image has JDK 1.5, and JRE
> 1.5, I am also running eclipse 3.2 with Ant 1.6.5 (plug-in).
>  
> _The steps I followed to install_
> 1. I have downloaded the latest Webtest build (R_1590)
> 2. Extracted it to C:\apps\webTest
> 3. Added a user environment variable with name: WEBTEST_HOME and value:
> c:\apps\webTest\bin
> 4. in CMD prompt:
> 
>     */C:\apps\webTest\doc\samples>/webtest -buildfile installTest.xml*
>     /'webtest' is not recognized as an internal or external command
>     operable program or batch file./
> 
> 5. But  when I enter the following:
> 
>     */C:\apps\webTest\bin>/webtest -buildfile installTest.xml*
>     /"c:\apps\jdk1.5.11\bin\java.exe" -Xms64M -Xmx256M
>     
> -cp"C:\apps\webTest\bin\..\lib\ant-launcher.jar"-Dant.library.dir="C:\apps\webTest\bin\..\lib""Dlog4j.configuration=file:/C:\apps\webTest\bin\..\lib/log4j.properties"
>     org.apache.tools.ant.launch.Launcher -nouserlib
>     
> -lib"C:\apps\webTest\bin\..\lib\build;C:\apps\webTest\bin\..\lib\build\clover.jar"
>     -buildfile installTest.xml
>     Buildfile: installTest.xml does not exist!
>     Build failed/
>     // 
> 
> /I would very much appreciate anyones help as I would love to start
> scripting with Webtest./
> // 
> /Kind regards,/
> // 
> /Katy Biggs/
> /  Agile Tester/
> /  Elsevier/
> 
> 
> This email is from Elsevier Limited, a company registered in England and 
> Wales with company number 1982084,
> whose registered office is The Boulevard, Langford Lane, Kidlington, Oxford, 
> OX5 1GB, United Kingdom.
> 


-- 
Blog: http://mguillem.wordpress.com

_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest

Reply via email to