Error in Junit whennI amn testing My Application in Selenium Server

2009-12-01 Thread Ronyk45
com.thoughtworks.selenium.SeleniumException: ERROR: Element USERNAME not found at com.thoughtworks.selenium.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97) at com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.jav

Custom Task using Groovy

2009-12-01 Thread Murray, Mike
I've created a groovy class that (indirectly) extends Task, and I'm calling it from my build script, but the property setters are not getting called. I've even explicitly coded the setters, to make sure they are visible to the Ant code. Is there some trick I am missing, or am have I just overl

Re: ForTask throwing exception for same value for begin and end

2009-12-01 Thread Harry_
Thanks a ton for your reply Peter. I did the following in the ForTask code to fix it: if (step == 0) { throw new BuildException("step cannot be 0"); } else if (iEnd > begin && step < 0) { throw new BuildException("end > begin, step needs to

Dereferencing property files

2009-12-01 Thread Dalton, Tom
Hi, I have a property file with an entries like: atk-1.26.0.exported.base.dir=/path/to/atk/1.26.0 atk-1.27.0.exported.base.dir=/path/to/atk/1.27.0 In my build file I want to be able to refer to this property with a version-independent name like "atk.base.dir" I load the property file, to get th

Could not find xml-commons-apis Java extension for this JVM Error on running ant on CentOS

2009-12-01 Thread Harry_
Hi, I have to run some jmeter scripts on ant. But I am getting the following error on running the scripts. /usr/bin/build-classpath: error: Could not find xml-commons-apis Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found If I simply type ant on com

RE: Certification in ANT.

2009-12-01 Thread Rebhan, Gilbert
-Original Message- From: Amit [mailto:as...@qasource.com] Sent: Tuesday, December 01, 2009 5:47 AM To: user@ant.apache.org Subject: Certification in ANT. /* Hi , I am interested in Apache ant tool. Is there certification course in apache ant. If yes please guide me on this. What are