Hi,
Thanks for the reply.
Actually we are using Jenkins to run TestComplete tests. In the end of execution, we consume the junitResult file generated by the TestComplete Test plugin and parse the results and publish that into the dashboard we maintain internally.
As you know, when we call the TestComplete Tests from Jenkins, it executes the test items associated either with the project suite or project. [Based on the selection Entire Suite or Project in TestComplete Test plugin in Jenkins]
Assume my Test Item in one of the project is organized as below
Regression |___ UserStory1 |___ TestCase1 TestCase2
Assume TestCase2 got failed on first run. In junitResult file generated, the entry will be as below:
<case> <duration>68.552</duration> <className>Regression</className> <testName>Regression/UserStory1/TestCase1</testName> <skipped>false</skipped> <errorStackTrace/> <errorDetails>Error message</errorDetails> <failedSince>2</failedSince> </case>
Our dashboard service parse the information based on testName tag and displays the execution result in the dashboard.
We are highly dependent on junitResult file and the testName tag.
I know we can rerun the failed test item, using Script Test option in TestComplete Test plugin, where we need to provide the specifiec project, unit and routine name. But I was wondering post the execution, will the junitResult testName tag contains the same value as it was not part of test item in this case. If so, we cant use the dashboard parser to replace the existing failed test with the new result.
So I was requesting for a feature, where TestComplete maintains some sort of xml files of all failed test items
Thanks,
Karthik K R
Related Content
- 12 years ago
- 2 years ago