4 messages in com.canoo.lists.webtest[Webtest] Webtest Sample Probs| From | Sent On | Attachments |
|---|---|---|
| Mike Lecza | 04 Apr 2002 05:31 | |
| Mike Lecza | 04 Apr 2002 06:41 | |
| Dierk König | 04 Apr 2002 08:03 | |
| Mike Lecza | 04 Apr 2002 08:10 |
| Subject: | [Webtest] Webtest Sample Probs![]() |
|---|---|
| From: | Mike Lecza (mle...@newnetco.com) |
| Date: | 04/04/2002 05:31:15 AM |
| List: | com.canoo.lists.webtest |
I noticed that the selfTest.xml sample looks for the server.properties file in ../../server.properties. This file is not included with the distribution. I created on but perhaps you should include a sample. Took me a while to figure it out.
Also, the simpleTest uses ../../ in the classpath defs (definitions.xml). It should use ../ instead otherwise it ends up searching too low (in my case the root of my drive). selfTest has a similar problem. This took me a while to figure out as well it was hanging while searching my entire drive.
The last problem I have is that when I run the selfTest I get the error below. Any insight on how I can fix it?
Buildfile: selfTest.xml Overriding previous definition of reference to test Overriding previous definition of reference to test
prepareResultDir:
sampleUse:
testTitle:
testNot:
testElements:
testText:
testRegEx:
testElementText:
testClickLink:
testLinkCheck: [testSpec] line 8 column 31 - Warning: unescaped & or unknown entity "&field1" [testSpec] line 11 column 31 - Warning: unescaped & or unknown entity "&forms" [testSpec] line 8 column 31 - Warning: unescaped & or unknown entity "&field1" [testSpec] line 11 column 31 - Warning: unescaped & or unknown entity "&forms"
testClickButton:
testLocatorOnTable: Overriding previous definition of reference to test Overriding previous definition of reference to unknown Overriding previous definition of reference to test Overriding previous definition of reference to test
testRepeat:
testVerifyCheckbox:
testSetCheckbox:
testPostMultipleAndBack:
testCacheBug:
testNoHaltOnFailure:
testWarningsForBadHtml:
troubleSample:
testNoHaltOnError:
main:
CreateSummaryReport: [copy] Copying 1 file to C:\canoo-196\samples\log [copy] Copying 1 file to C:\canoo-196\samples\log [copy] Copying 1 file to C:\canoo-196\samples
onPath:
failIfBadPath:
applySingle: [style] Processing C:\canoo-196\samples\WebTestReport.xml to C:\canoo-196\sa mples\TestResultOverview.html [style] Loading stylesheet C:\canoo-196\samples\WebTestReport.xsl [style] Failed to read stylesheet C:\canoo-196\samples\WebTestReport.xsl [style] Failed to process C:\canoo-196\samples\WebTestReport.xml
BUILD FAILED
C:\canoo-196\samples\ApplyXSL.xml:47: javax.xml.transform.TransformerConfigurati onException: javax.xml.transform.TransformerException: javax.xml.transform.Trans formerException: xsl:import is not allowed in this position in the stylesheet!
Total time: 40 seconds




