RE: TestComplete - importing test results

Ed Helbrough, modified 8 Years ago.

TestComplete - importing test results

Youngling Posts: 4 Join Date: 1/28/15 Recent Posts
Hi, 

Do you have any documentation on importing the TestComplete result file XML? I am currently doing an evaluation of TC version 11 and need to demonstrate that we can import our auto test run results into Klaros TM. 

I have attempted importing various TC result xml (as described here: https://support.smartbear.com/viewarticle/73133/ ) via the Import feature in Klaros, but have not had any success as yet. I receive Klaros log errrors such as the one below when trying each of the TC exported xml:

The uploaded file contains no test results or does not match any of the specified formats.

I have attached examples on the TC xml that I am attempting to upload. 

Any guidance on which TC file should be uploaded would be greatly appreciated.

Many Thanks

Ed Helbrough




thumbnail
Torsten Stolpmann, modified 8 Years ago.

RE: TestComplete - importing test results (Answer)

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
Hi Ed,

we are expecting a zipped Result-Archive here.

It may be the case, that the result format has changed since our initial implementation which dates back quite a while.

So if this does not work for you, please send us a sample to support@verit.de for analysis and fixes.

Regards,

Torsten
Ed Helbrough, modified 8 Years ago.

RE: TestComplete - importing test results

Youngling Posts: 4 Join Date: 1/28/15 Recent Posts
Hi Torsten,

The 2 options that TestComplete provide for exporting results are:

1. unpacked - (see Sandpit_FullRun.zip) 
2. .mht file - (see MailOrder_TestRun_20151105.zip)

I have attempted importing both manually zipped files, these also error as noted in last post. Perhaps I just need to zip all xml files from the unpacked result set?

Thanks

Ed 
thumbnail
Torsten Stolpmann, modified 8 Years ago.

RE: TestComplete - importing test results (Answer)

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
Hi Ed,

format #1 is the way to go, yet the internal format has changed quite a bit so we need to take care of this.

I created the enhancement KLAROS-2755 to track this, expect support for this in the 4.3.9 release.

Have a nice weekend,

Torsten
Peter Sammer, modified 7 Years ago.

RE: TestComplete - importing test results

Youngling Posts: 5 Join Date: 1/29/16 Recent Posts
Hi Torsten,
KLAROS-2755 is solved, but I am using TestComplete 11 and Klaros 4.5.0 - Build 3101 and get this error message when trying to import the Testcomplete report ZIP file:
"Die hochgeladene Datei enthält keine Ergebnisse oder entspricht keinem der angegebenen Formate." (see screen shot attached).

Does KLAROS support the report format of TestComplete version 11 or is the ZIP not OK? (also attached)

Regards,
Peter
thumbnail
Torsten Stolpmann, modified 7 Years ago.

RE: TestComplete - importing test results (Answer)

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
Hi Peter,

the zip result file format is not supported as it does not contain useful parsable information.

Can you please try importing the .mht file produced by TestComplete?

Regards,

Torsten
Peter Sammer, modified 7 Years ago.

RE: TestComplete - importing test results

Youngling Posts: 5 Join Date: 1/29/16 Recent Posts
Didn't work either, Torsten. Same error message.

Peter
thumbnail
Torsten Stolpmann, modified 7 Years ago.

RE: TestComplete - importing test results (Answer)

Jedi Council Member Posts: 755 Join Date: 2/12/09 Recent Posts
Both files you added are missing the parsable xml result files (we are especially looking for a file called root.xml here).

I think you are missing the /exportLogToXML command-line argument when running TestComplete. See also: https://support.smartbear.com/viewarticle/73133/

Hope this helps,

Torsten

Peter Sammer, modified 7 Years ago.

RE: TestComplete - importing test results

Youngling Posts: 5 Join Date: 1/29/16 Recent Posts
Oh, I missed that. Now it works.
Thank you, Torsten.

Peter