Dear all,

I installed the current WebTest build 1823. After installation it turned out 
that there is a problem with generateDefinitions.groovy: When I execute my 
tests the script overwrites my definitions.xml file and replaces the correct 
line
<!DOCTYPE project SYSTEM "dtd/Project.dtd"
by (incorrect)
<!DOCTYPE project

Consequently subsequent test executions fail. This is caused by these erroneous 
lines in generateDefinitions.groovy:

def dtdDir = new File("dtd")
def projectDtd = dtdDir.exists() ? 'SYSTEM "dtd/Project.dtd"' : ''

The check if dtdDir exists will always fail as it points to '<webtest 
installation dir>/tools/dtd'. 'dtdDir' is just used in these two lines.

The issue can easily be fixed by replacing the lines with just
def projectDtd = 'SYSTEM "dtd/Project.dtd"'

QESTIONS:

1.       If my analysis is correct, the issue should have popped up elsewhere, 
too. Has anyone else observed the same issue? (Has anybody else installed 1823, 
too?)

2.       Is someone able to fix the groovy script?

Any comments etc. are highly appreciated, best regards
Michael

Reply via email to