Hi Sachin Thakkar,
Please have a look at:
http://build.canoo.com/htmlunit/
as I see it, the standard configuration of cruisecontrol doesn't show the
webtest-results.
In our project (using an older version of cruisecontrol of course) we added some lines of code to
the main.jsp page of cruisecontrol so we get a new tab for the webtest-results.
like:
main.jsp:
----------
<cruisecontrol:tabsheet>
<tr>
<td bgcolor="white" >
<cruisecontrol:tab name="buildResults" label="Build Results" >
<%@ include file="buildresults.jsp" %>
</cruisecontrol:tab>
<cruisecontrol:tab name="testResults" label="Test Results" >
<%@ include file="testdetails.jsp" %>
</cruisecontrol:tab>
<cruisecontrol:tab name="webtest" label="Webtests" >
<%@ include file="webtestdetails.jsp" %>
</cruisecontrol:tab>
<cruisecontrol:tab name="miscReports" label="Miscellaneous Reports"
>
<%@ include file="miscReports.jsp" %>
</cruisecontrol:tab>
<cruisecontrol:tab name="xmlLogFile" label="XML Log File" >
<%@ include file="xmllog.jsp" %>
</cruisecontrol:tab>
<cruisecontrol:tab name="metrics" label="Metrics" >
<%@ include file="metrics.jsp" %>
</cruisecontrol:tab>
<cruisecontrol:tab name="controlPanel" label="Control Panel" >
<%@ include file="controlpanel.jsp" %>
</cruisecontrol:tab>
</td>
</tr>
</cruisecontrol:tabsheet>
----------------
That's how we include the webtest-result-html-page ;-)
Michael Habbert
Thakkar, Sachin wrote:
Forwarding to mailing list thread rather than personal response....
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, September 17, 2007 7:53 AM
To: Thakkar, Sachin
Subject: WebTest Result not display in Build Results....
Hi,
I am having problems getting my test results to show up on the cruise
control web interface. I have read the docs, the faq, searched all over
the web and I must be missing something, because I cannot seem to get it
to work.
I am looking for them on the Build Results page the main page has a
Tests Result section which reports that Unit Tests: (0) No Tests Run
This project doesn't have any tests
I am also looking at the dashboard interface, Tests Result tab but it is
showing blank page.
I have a "test" target within the build.xml file for my test project,
the portion
<target name="target" depends="deploy">
<ant antfile="build.xml" dir="D:/Canoo/workcruise" target="wt.full"/>
<xslt in="${resultsPath}/webtestResults.xml"
out="${resultsPath}/webtestResults.html"
style="D:/Canoo/resources/WebTestReport.xsl"/>
</target>
Currently the ${resultsPath}=D:/Canoo/workcruise/results (web test
xml/html file generated location)
When Cruisecontrol runs the build, I can see that the tests pass
sucessfully and it is generated webtestResults.xml and html files in
(D:/Canoo/workcruise/results) location . Even I can open the
webtestResults.html file in the Internet Explorer..
After that
I have merge for the config.xml - see below).
<log dir="${projectlogs}"> = D:\cruisecontrol-bin-2.7\logs\workcruise
<merge dir="${resultsPath}"/> = D:\Canoo\workcruise\results <merge
file="${resultsPath}/webtestResults.xml" pattern="*.xml"/> =
D:\Canoo\workcruise\results\webtestResults.xml
</log>
I could not see the "webtestResults" in the Build Results (Test Results)
on CC Web Interface..
I would like to see the test results in my cruisecontrol web interface
reporting on the results of my build.
I have also tried merging just a single file (single output w/o
junitreport), but that didn?t help either.
I dont quite get what I am missing. I believe the results are xml
formatted and I have added the unit test results in the merge. But I
dont get how the unit test results get identified via the test results
link on either the dashboard or buildresults page.
I am using cc 2.7 with ant 1.7.0, apache tomcat 6.0.14.
Please help me to see the "test-resuts" in CC dashboard - TestResult
page..
Thanks,
uday Kulkarni
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest
--
Mit freundlichen Grüßen
Michael Habbert
_______________________________________________
WebTest mailing list
[email protected]
http://lists.canoo.com/mailman/listinfo/webtest