My tests run successfully when run through NUNIT. When I run through
CC.NETthey failed. It runs some of the tests and in the middle of
execution Kill
the process. Also when I check my Nunit results, Some of the passed tests
are shown fail and showing all tests results as TestFixtureSetUp failed in
MyITRTest.

I am running it as a desktop service as my tests involved lot of alerts and
popups. I have atteched with email config file as well as server log file.
Kindly guide as I have to deploy my project tomoroo.

Kind Regards
Saba

Attachment: ccnet.config
Description: XML document

<cruisecontrol project="MyITRTestProject">
  <request source="Dashboard" buildCondition="ForceBuild">Dashboard triggered a build (ForceBuild)</request>
  <modifications />
  <build date="2009-01-28 10:29:48" buildtime="00:10:03" error="true" buildcondition="ForceBuild">

<msbuild startTime="01/28/2009 10:29:50" elapsedTime="00:00:01" success="true">
  <project name="Build" file="C:\source\TestReports\ITRTests\MyITRTestProject\MyITRTestProject.sln" success="true">
    <target name="ValidateSolutionConfiguration" success="true">
      <message level="normal"><![CDATA[Building solution configuration "Debug|Any CPU".]]></message>
    </target>
    <target name="Build" success="true">
      <project file="C:\source\TestReports\ITRTests\MyITRTestProject\MyITRTestProject\MyITRTestProject.vbproj" success="true">
        <target name="CoreResGen" success="true">
          <message level="normal"><![CDATA[No resources are out of date with respect to their source files. Skipping resource generation.]]></message>
        </target>
        <target name="CoreCompile" success="true">
          <message level="normal"><![CDATA[Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files.]]></message>
        </target>
        <target name="_CopyAppConfigFile" success="true">
          <message level="normal"><![CDATA[Skipping target "_CopyAppConfigFile" because all output files are up-to-date with respect to the input files.]]></message>
        </target>
        <target name="CopyFilesToOutputDirectory" success="true">
          <message level="high"><![CDATA[MyITRTestProject -> C:\source\TestReports\ITRTests\MyITRTestProject\MyITRTestProject\bin\Debug\MyITRTestProject.dll]]></message>
        </target>
      </project>
    </target>
  </project>
</msbuild>Build started 28/01/2009 10:29:50.
Project "C:\source\TestReports\ITRTests\MyITRTestProject\MyITRTestProject.sln" on node 0 (Build target(s)).
  Building solution configuration "Debug|Any CPU".
Project "C:\source\TestReports\ITRTests\MyITRTestProject\MyITRTestProject.sln" (1) is building "C:\source\TestReports\ITRTests\MyITRTestProject\MyITRTestProject\MyITRTestProject.vbproj" (2) on node 0 (default targets).
  No resources are out of date with respect to their source files. Skipping resource generation.
CoreCompile:
Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files.
_CopyAppConfigFile:
Skipping target "_CopyAppConfigFile" because all output files are up-to-date with respect to the input files.
CopyFilesToOutputDirectory:
  MyITRTestProject -&gt; C:\source\TestReports\ITRTests\MyITRTestProject\MyITRTestProject\bin\Debug\MyITRTestProject.dll
Done Building Project "C:\source\TestReports\ITRTests\MyITRTestProject\MyITRTestProject\MyITRTestProject.vbproj" (default targets).
Done Building Project "C:\source\TestReports\ITRTests\MyITRTestProject\MyITRTestProject.sln" (Build target(s)).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:00.64


<!--This file represents the results of running a test suite-->

<test-results name="C:\source\TestReports\ITRTests\MyITRTestProject\MyITRTestProject\bin\Debug\MyITRTestProject.dll" total="6" failures="6" not-run="0" date="2009-01-28" time="09:34:26">
  <environment nunit-version="2.4.8.0" clr-version="2.0.50727.1433" os-version="Microsoft Windows NT 5.1.2600 Service Pack 3" platform="Win32NT" cwd="C:\Program Files\CruiseControl.NET\server\MyITRTestProject\WorkingDirectory" machine-name="CALROM-DEV05" user="SYSTEM" user-domain="KALROM" />
  <culture-info current-culture="en-GB" current-uiculture="en-US" />
  <test-suite name="C:\source\TestReports\ITRTests\MyITRTestProject\MyITRTestProject\bin\Debug\MyITRTestProject.dll" success="False" time="33.719" asserts="0">
    <results>
      <test-suite name="MyITRTestProject" success="False" time="33.719" asserts="0">
        <results>
          <test-suite name="MyITRTest" success="False" time="33.703" asserts="0">
            <failure>
              <message><![CDATA[WatiN.Core.Exceptions.ElementNotFoundException : Could not find INPUT (text password textarea hidden) or TEXTAREA element tag matching criteria: Attribute 'id' with value 'txtuserName']]></message>
              <stack-trace><![CDATA[at WatiN.Core.Element.get_HTMLElement()
at WatiN.Core.Element.get_htmlElement()
at WatiN.Core.Element.get_Title()
at WatiN.Core.TextField.ToString()
at WatiN.Core.TextField.TypeText(String value)
at MyITRTestProject.MyITRTest.Setup() in C:\source\TestReports\ITRTests\MyITRTestProject\MyITRTestProject\MyITRTest.vb:line 27
]]></stack-trace>
            </failure>
            <results>
              <test-case name="MyITRTestProject.MyITRTest.aLoginUserWelcomeMessage" executed="True" success="False" time="0.000" asserts="0">
                <failure>
                  <message><![CDATA[TestFixtureSetUp failed in MyITRTest]]></message>
                  <stack-trace />
                </failure>
              </test-case>
              <test-case name="MyITRTestProject.MyITRTest.bCreateBookingTests" executed="True" success="False" time="0.000" asserts="0">
                <failure>
                  <message><![CDATA[TestFixtureSetUp failed in MyITRTest]]></message>
                  <stack-trace />
                </failure>
              </test-case>
              <test-case name="MyITRTestProject.MyITRTest.cSearchBookingTests" executed="True" success="False" time="0.000" asserts="0">
                <failure>
                  <message><![CDATA[TestFixtureSetUp failed in MyITRTest]]></message>
                  <stack-trace />
                </failure>
              </test-case>
              <test-case name="MyITRTestProject.MyITRTest.dAmendBooking" executed="True" success="False" time="0.000" asserts="0">
                <failure>
                  <message><![CDATA[TestFixtureSetUp failed in MyITRTest]]></message>
                  <stack-trace />
                </failure>
              </test-case>
              <test-case name="MyITRTestProject.MyITRTest.eSplitBooking" executed="True" success="False" time="0.000" asserts="0">
                <failure>
                  <message><![CDATA[TestFixtureSetUp failed in MyITRTest]]></message>
                  <stack-trace />
                </failure>
              </test-case>
              <test-case name="MyITRTestProject.MyITRTest.fTicketBookingTests" executed="True" success="False" time="0.000" asserts="0">
                <failure>
                  <message><![CDATA[TestFixtureSetUp failed in MyITRTest]]></message>
                  <stack-trace />
                </failure>
              </test-case>
            </results>
          </test-suite>
        </results>
      </test-suite>
    </results>
  </test-suite>
</test-results>

<!--This file represents the results of running a test suite-->

<test-results name="C:\source\TestReports\ITRTests\MyITRTestProject\MyITRTestProject\bin\Debug\MyITRTestProject.dll" total="1" failures="0" not-run="0" date="2009-01-27" time="13:35:49">
  <environment nunit-version="2.4.8.0" clr-version="2.0.50727.1433" os-version="Microsoft Windows NT 5.1.2600 Service Pack 3" platform="Win32NT" cwd="C:\source\TestReports\ITRTests\MyITRTestProject\MyITRTestProject\bin\Debug" machine-name="CALROM-DEV05" user="sakhtar" user-domain="KALROM" />
  <culture-info current-culture="en-GB" current-uiculture="en-US" />
  <test-suite name="C:\source\TestReports\ITRTests\MyITRTestProject\MyITRTestProject\bin\Debug\MyITRTestProject.dll" success="True" time="105.047" asserts="0">
    <results>
      <test-suite name="MyITRTestProject" success="True" time="105.047" asserts="0">
        <results>
          <test-suite name="MyITRTest" success="True" time="105.031" asserts="0">
            <results>
              <test-case name="MyITRTestProject.MyITRTest.cSearchBookingTests" executed="True" success="True" time="91.281" asserts="40" />
            </results>
          </test-suite>
        </results>
      </test-suite>
    </results>
  </test-suite>
</test-results></build>
</cruisecontrol>

Reply via email to