TestComplete test results in TeamCity
Hello!:)
I wanted to ask if its posibble - and maybe some tip ^^ how to make my test results looks better in build results page in TeamCity.
If its not that easy then i will just use artifact /new tab and gonna check it everytime i will see "Exit code 1"
But that info massage looks silly so i decided to ask you guys :)
My .proj file for msbuild looks like:
<Project DefaultTargets="Build"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Declares the task type, ExecuteSolution, that will be used to run TestComplete projects (TC11 is a namespace). -->
<UsingTask TaskName="TC11.ExecuteSolution" AssemblyName= "MSBuildTC11Task, Version=1.1.0.0,
Culture=neutral, PublicKeyToken=e33f56e68d0f845e"/>
<!-- Target -->
<Target Name="Build">
<!-- Executes the task. Note that the tag name, ExecuteSolution, coincides with the registered task name. -->
<ExecuteSolution
SolutionFile="D:\TC_Projects\Wpius1_12_2\Wpius1_12_2\Wpius1_12_2.pjs"
StopIfFail="true"
AdditionalOptions="/p:Wpius1_12_2"
GUIInteractive="true"
LogFile="D:\TestCompleteTests\MyResults_build_$(buildnumber).mht"
/>
</Target>Above screenshots, hope there is easy way to fix it.
Before i created that topic i have readed both ur links like 3 times :)
But thanks anyway.
Ok i unchecked all common "Failure Conditions" and created my own like
if build log contains "The test failed".
and it works.
Well, my tests generate mht file i will add is as artifact and convert it with extractmht10 to html then ill try add a TAB in TeamCity.
Thanks for all.
/Seb