Re: [Webtest] Is there a trick to the config tag?

2008-01-16 Thread Marc Guillemot
Hi, can you run the same with the -debug option and provide the stacktrace? Cheers, Marc. -- Blog: http://mguillem.wordpress.com Gary Fay wrote: It looks from the documenation that the use of the config tag is changing. _ _ _c::\public\webtest\webtest.xml:172: The following error

Re: [Webtest] Is there a trick to the config tag?

2008-01-16 Thread Marc Guillemot
Hi, can you run the same with the -debug option and provide the stacktrace? Cheers, Marc. -- Blog: http://mguillem.wordpress.com Gary Fay wrote: It looks from the documenation that the use of the config tag is changing. _ _ _c::\public\webtest\webtest.xml:172: The following error

Re: [Webtest] DataDriven ScriptStep

2008-01-16 Thread Marc Guillemot
Hi, dataDriven is a general Ant task but scriptStep is a WebTest step, therefore only intended to work within webtest/webtest. In your case, I don't think that ${...} properties are expanded within the body of scriptStep. You can access project properties through

AW: AW: AW: [Webtest] SetInputField doesnt work after htmlunit upgrade

2008-01-16 Thread dennis.winter
I think my problem was just copying a project from build[1551] to build[1649]. After importing my Project into build 1649 it worked Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Marc Guillemot Gesendet: Freitag, 11. Januar 2008 13:41 An: [EMAIL PROTECTED] Betreff: Re: AW: AW:

AW: AW: AW: [Webtest] SetInputField doesnt work after htmlunit upgrade

2008-01-16 Thread dennis.winter
I have to correct my self: Each test which uses SetInputField doesn't work in build 1649 which I cannot understand. Dennis Winter --- I think my problem was just copying a project from build[1551] to build[1649]. After importing my Project into build 1649 it worked Von:

Re: AW: AW: AW: [Webtest] SetInputField doesnt work after htmlunit upgrade

2008-01-16 Thread Andrew Sickorsky
Hello! d'you use forLabel attribute for setInputField step? As for me forLabel attribute seems not working for such steps in current builds Regards, Andrew I have to correct my self: Each test which uses SetInputField doesn't work in build 1649 which I cannot understand. Dennis Winter

AW: AW: AW: AW: [Webtest] SetInputField doesnt work after htmlunit upgrade

2008-01-16 Thread dennis.winter
I am using a macro containing 2 attributes: attribute name=user/ attribute name=password/ and using name as fieldidentifier: setInputField name=username value=@{user}/ setInputField name=password value=@{password}/ I didn't try forLabel, XPath is the last hope that works every-time. But this

Re: [Webtest] Problem setting radio button (incl. Javascript)

2008-01-16 Thread Christian Kölle
Marc Guillemot wrote: can you provide the full stack trace? Hi There is no stack trace. The step silently fails. Here's the corresponding part of the console log: [storeXPath] INFO (com.canoo.webtest.steps.Step) - Start Step: storeXPath (22/33) [setRadioButton] INFO

Re: AW: AW: AW: [Webtest] SetInputField doesnt work after htmlunit upgrade

2008-01-16 Thread Marc Guillemot
Andrew, Dennis, could you provide an example of html page on which setInputField per name or label doesn't work whereas it should? Cheers, Marc. -- Blog: http://mguillem.wordpress.com Andrew Sickorsky wrote: Hello! d'you use forLabel attribute for setInputField step? As for me forLabel

Re: [Webtest] Problem setting radio button (incl. Javascript)

2008-01-16 Thread Marc Guillemot
Hmmm, can you configure lib/log4j.properties to debug to get more information? Cheers, Marc. -- Blog: http://mguillem.wordpress.com Christian Kölle wrote: Marc Guillemot wrote: can you provide the full stack trace? Hi There is no stack trace. The step silently fails. Here's the

[Webtest] Sending reports automatically by mail

2008-01-16 Thread Uhlig Alexander
Hi, I want to run the test automatically once in a week. Every new report should be append to the previous one. Then I want to watch the hole report without going to the directory. Is there a possibilty to get the hole report by mail (e.g. via an ant-task) ? Thanks for help. Alex

Re: [Webtest] Building Webtest fails

2008-01-16 Thread Marc Guillemot
Hi, WebTest build process is (surely too) complex as it checks a lot of things (I hate it! ;-)). Seems that the selftest failed. Have a look at the end of build/log/webtest.console.log.xml to understand why. Cheers, Marc. -- Blog: http://mguillem.wordpress.com Tomi Mäkinen wrote: Hi, I'm

[Webtest] Building Webtest fails

2008-01-16 Thread Tomi Mäkinen
Hi, I'm trying to build Webtest with ant just like advised ( http://webtest.canoo.com/webtest/manual/building.html), but building fails. Here is end of building. Trying to override old definition of task groovy assembleRuntime: [mkdir] Created dir: E:\webtest\webtest\build\runtime\lib

[Webtest] Manual or tutorial for Unix

2008-01-16 Thread Uhlig Alexander
Hi, does anybody know a manual or tutorial for Unix-users ? The given manual is almost usable for Windows user. Imporatant is the installation and first running with unix. Thanks for help. Alex ___ WebTest mailing list WebTest@lists.canoo.com

[Webtest] Alternative data container

2008-01-16 Thread Uhlig Alexander
Hi, is there another alternative for a data container (with the ant task dataDriven) instead of Excel ? I need this for Unix. Or is it possible to convert this into another format under unix ? Thanks. Alex ___ WebTest mailing list

RE: [Webtest] DataDriven ScriptStep

2008-01-16 Thread Soula, William
project.getProperties().get('Location') was exactly what I needed, thank you. William Soula QA Analyst Pointserve, Inc. 110 Wild Basin Road Suite 300 Austin, Texas 78746 O: 512.617.5311 F: 512.617.0466 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

Re: [Webtest] Manual or tutorial for Unix

2008-01-16 Thread rune
Hi, I'm running WebTest on linux (Ubuntu 7.10). I followed the instructions provided on http://webtest.canoo.com/webtest/manual/install.html by performing some adaptations: - Extracted webtest (build.zip) to $HOME/opt/webtest in order to have full access to everything residing in the

Re: AW: AW: AW: [Webtest] SetInputField doesnt work after htmlunit upgrade

2008-01-16 Thread Andrew Sickorsky
Hello, Mark! As for me 'forLabel' parameter doesn't work with the following code: div class=categoryHblock div class=additionalstrongKey indicators/strong/div /div ul

Re: AW: AW: AW: [Webtest] SetInputField doesnt work after htmlunit upgrade

2008-01-16 Thread Marc Guillemot
Hi Andrew, can you provide the code of a complete html page? In Dennis case the problem is due to malformed html code. Cheers, Marc. -- Blog: http://mguillem.wordpress.com Andrew Sickorsky wrote: Hello, Mark! As for me 'forLabel' parameter doesn't work with the following code: div

Re: [Webtest] Alternative data container

2008-01-16 Thread Marc Guillemot
the old documentation of propertyTable (the previous name of dataDriven) provides explanation on how to use a *.properties files in a directory as data container. http://webtest-community.canoo.com/jira/browse/WT-342 contains a patch to use text files as data container. I haven't had time to

[Webtest] Problem handling invalid login

2008-01-16 Thread Douglas Beattie
I properly detect and verify (via verifyXPath) a successful login where the response contains a statusCode=200, but when I run a test which provides an invalid username and password to the login API the check for a statusCode=401 never gets executed. I see the 401 in the response but my test is

[Webtest] Update HTMLUnit 1.13 to 1.14 - invoke dont work anymore

2008-01-16 Thread Willi Kuhnis
Hi, I updated to the newest Webtest Snapshot build and got HTMLUnit 1.14. before I worked with HTMLUnit 1.13. Now all my invoke (which worked before) dont work anymore. I get the following error-message: [invoke] INFO (com.canoo.webtest.steps.Step) - Start Step: invoke invoke url Test FTP