q: *Is there any way I can get the complete report to be save in a different
path?*
Hi everybody,
I have recently changed the resultpath attribute of a
test to save the results in a specific directory but the index file is not
being created.
This is what I am trying to do:
The team is going to be running test cases on a server, and I what to
persist the results according to the user/environment/execution. So I would
like to have the following file structure:
- executions
- results
- hernan
- dev
- 090912
- qa
- live
- pepe
- dev
- Monday
- Tuesday
- qa
- 0
- 1
- 2
- live
- dalily (cron that runs some tests)
- dev
- qa
- live
- weekly (cron that runs some other tests)
- dev
- qa
- live
once I run:
mvn test -Dtester=daily -Denvironment=dev -Dexecution=$(date
'+%y/%m/%d')
it runs:
public void testCountryLevel() {
.
.
.
webtest("Homepage Follow/NoFollow - Country:$country.id") {
homepageA = new WebTestOlxHomepageActions(ant, homepageV)
config(haltonerror: "false", haltonfailure: "false", browser: 'ff3',
resultpath:Settings.getResultsPath()) {
option name: "ThrowExceptionOnScriptError", value: "false"
}
.
.
.
}
and then on /daily/dev/09/12/09/ it's saving:
the folders of each webTest with the following files
- the invokes
- webtestReport.html
- webtestSummary.xml
- webtestReport.xml
but I am not getting the *index* file (summary of all test cases). *Is there
any way I can get the complete report to be save in a different path?*
thanks in advance,
Hernan