WebTestOverview.xml does not exist
"Pascal Probst (dplan GmbH)" <[email protected]>
| Newsgroups | gmane.comp.web.canoo.webtest |
|---|---|
| Message-ID | <22A6C19EE29E5E409079F325443EAD840217872C5A1E@mx001.centaury.local> |
Hy All
If i try to use code like this i always get this Error...
Does some one now with property is missing there?
def page = step.context.currentResponse
def pageAsXML = page.asXml()
def file = new File('./htmlunit.html')
file.write(pageAsXML)
There was 1 error:
1) testPSBNS(PSBNSWebtestTest)groovy.lang.MissingPropertyException: No such property: step for class: PSBNSWebtestTest
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:49)
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
.
.
.
.
FAILURES!!!
Tests run: 1, Failures: 0, Errors: 1
wt.parallel.waitForCompletion:
wt.htmlReports:
[echo] Waiting for completion of background generation of single reports
[echo] Generating WebTestOverview
wt.openResultFile.init:
wt.openResultFile:
[echo] Opening result file C:\myWebTestProject\results\index.html with cmd
wt.junitLikeReports:
BUILD FAILED
C:\Webtest\webtest.xml:446: input file C:\myWebTestProject\results\WebTestOverview.xml does not exist
Best regards
Pascal