[Webtest] ReportSite step
Denis N. Antonioli
webtest@lists.canoo.com
Tue, 10 Jan 2006 16:00:24 +0100
Hi Jon
On 10 janv. 06, at 11:53, Jon Poulton [kinomi] wrote:
> [In Canoo development home]
>> ant clean
ant clean shouldn't be necessary.
>> webtest clean develop
>
> This seemed to get a little further in the build/test cycle,
> although I
> still got an error message associated with one of the pdf steps.
> The failure
> message inside selftTestReport.xml was as follows:
>
> <failure message="com.canoo.webtest.engine.StepFailedException:
> <unknown>:
> **** The current response and the expected result file
> 'expected\expectedPdfBookmarks.txt' differ. , Step:
> CompareToExpected at
> C:\Java\eclipse\workspace\canoo\webtest\selftests\tests
> \pdfBookmarks.xml:33:
> with (toFile="expected\expectedPdfBookmarks.txt",
> description="<unknown>",
> saveFiltered="true", readFiltered="false",
> stepType="compareToExpected")
> com.canoo.webtest.extension.CompareToExpected(d
> escription="<unknown>", wrappedSteps=[<PdfToBookmarksFilter at
> C:\Java\eclipse\workspace\canoo\webtest\selftests\tests
> \pdfBookmarks.xml:34:
> with (description="extract PDF bookmarks",
> stepType="pdf:toBookmarksFilter")> <LineSeparatorFilter at
> C:\Java\eclipse\workspace\canoo\webtest\selftests\tests
> \pdfBookmarks.xml:35:
> with (description="normalise line separators",
> stepType="lineSeparatorFilter")> ])" />
>
> This isn't much help as the files it asks me to compare (and their
> parent
> directories) do not exist. I do not know if they were temporary
> files that
> were erased, or if the output generated for the test report is
> incorrect or
> out of date. Any ideas?
Only the basic recommendation:
set the log level to debug in log4j.properties, and run the test with:
bin/webtest functionalTest -Dskip.clover true -DtestScript pdfBookmarks
Best
dna
--
You can sometimes write faster code in C, but
you can always write code faster in Perl.
-- Moral from perlembed