Ask a Question

Testlink integration with TC/TE junit results format and Jenkins

IFERNANDEZ
Occasional Contributor

Testlink integration with TC/TE junit results format and Jenkins

Hi all.

I'm currently facing the necessity of publishing my TC/TE results in Testlink using Jenkins.

In doing so, Testlink must read a results report in next formats: Junit, TestNG or TAP.

 

If you use the API provided by Jenkins you find in an url **/api/xml a Junit-style report, WHICH is a PSEUDO-JUNIT, but is not Junit.

This makes the Testlink plugin to read your tests, but not the results of them, becasue, as mentioned above, it is not Junit 100%.

 

Besides, this can be check when you try to use the plugin Publish Junit test result report. It cannot identify your results, because is not Junit 100%.

  • Has anyone got the chance of solving this?

 

The workaround is using Process xUnit test result report to parse to Junit. Then you can choose the TestComplete 11x-12x or 9x-10x.

In doing so, you need the *.mht result doc file. But my Jenkins job is removing it after finishing the execution...

  • Has anyone been able to get the mht result after executing in Jenkins?

Many thanks in adavnce

2 REPLIES 2
Marsha_R
Community Hero

Re: Testlink integration with TC/TE junit results format and Jenkins

You could put a line at the bottom of your test that sends a copy of the log to a directory that Jenkins doesn't touch and then fetch it out of there for whatever other processing you want to do.

 

https://support.smartbear.com/testcomplete/docs/reference/project-objects/test-log/log/saveresultsas...

 

 

IFERNANDEZ
Occasional Contributor

Re: Testlink integration with TC/TE junit results format and Jenkins

Sorry TE does not accept SaveResulsAs.

And apart from that the xml you get is not junit/testng/tap style.

 

BR

cancel
Showing results for 
Search instead for 
Did you mean: