Ask a Question

Test Complete Report generation using Jenkins

Subbulakshmi
Frequent Contributor

Test Complete Report generation using Jenkins

Hi,

 

I have added TestComplete plugin for Jenkins(Localhost:8080) and am able to execute properly. But when I try to share mht file of that report using xunit plugin for Test complete, I am getting below error 

Processing TestComplete-11.x-12.x
15:47:41 [xUnit] [INFO] - [TestComplete-11.x-12.x] - No test report file(s) were found with the pattern '\*.mht' relative to 'C:\Program Files (x86)\Jenkins\workspace\Test Complete Trial' for the testing framework 'TestComplete-11.x-12.x'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'TestComplete-11.x-12.x'?
15:47:41 [xUnit] [ERROR] - No test reports found for the metric 'TestComplete' with the resolved pattern '\*.mht'. Configuration error?.

 

 

The mht file is there in project workspace. But when I give pattern as \*.mht, I am getting error. 

 

Could you please help me.  

Regards,
Subbulakshmi
6 REPLIES 6
Subbulakshmi
Frequent Contributor

Test Complete Report generation using Jenkins

Hi,

 

I have added TestComplete plugin for Jenkins(Localhost:8080) and am able to execute properly. But when I try to share mht file of that report using xunit plugin for Test complete, I am getting below error 

Processing TestComplete-11.x-12.x
15:47:41 [xUnit] [INFO] - [TestComplete-11.x-12.x] - No test report file(s) were found with the pattern '\*.mht' relative to 'C:\Program Files (x86)\Jenkins\workspace\Test Complete Trial' for the testing framework 'TestComplete-11.x-12.x'.  Did you enter a pattern relative to the correct directory?  Did you generate the result report(s) for 'TestComplete-11.x-12.x'?
15:47:41 [xUnit] [ERROR] - No test reports found for the metric 'TestComplete' with the resolved pattern '\*.mht'. Configuration error?.

The mht file is there in project workspace. But when I give pattern as \*.mht, I am getting error. 

 

Could you please help me.  

Regards,
Subbulakshmi
tristaanogre
Community Hero

Re: Test Complete Report generation using Jenkins

I'm not familiar with Jenkins... but how are you generating the mht file?  Are you including this in the command line?  Or is this a bit of script code that is executing at the end of the test?  The error message basically tells me that, in the indicated path, there's not an MHT file created... which means either no file is created OR it is created, but in some other external path.

 

So...

 

1) What is creating the MHT?

2) Where is it being put?

 

And this can be answered by understanding more about your test project and where the MHT file is being generated.


Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available
shankar_r
Community Hero

Re: Test Complete Report generation using Jenkins

The mht file is there in project workspace. But when I give pattern as \*.mht, I am getting error. 

 

Jenkins is a java environment, you have to give the your pattern like below.

/*.mht

 

 


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”

Extension Available

Subbulakshmi
Frequent Contributor

Re: Test Complete Report generation using Jenkins

Hi @shankar_r

 

I am not able to find mht file in project workspace. It is there in Jenkins/jobs/project/ folder. In that, for each build the number changes. Do you know how to take the latest build log file. 

Regards,
Subbulakshmi
shankar_r
Community Hero

Re: Test Complete Report generation using Jenkins

If you click on each build number you can view by clicking TestComplete Test Results

 

buildresults.PNG


Thanks
Shankar R

LinkedIn | CG-VAK Software | Bitbucket | shankarr.75@gmail.com

“You must expect great things from you, before you can do them”

Extension Available

Marsha_R
Community Hero
Moved:

Re: Test Complete Report generation using Jenkins

cancel
Showing results for 
Search instead for 
Did you mean: