Forum Discussion

TestQA1's avatar
TestQA1
Frequent Contributor
20 days ago

Storing JUnit XML while the testing is running

Hi,

I recently needed to store JUnit XML files alongside the MHT files we generate at the end of each test. While the MHT files save correctly, I encountered issues with the JUnit XML. For BDD tests, the XML is created successfully; however, for tests written in plain JavaScript, the file is only generated after TestExecute has fully exited. I tried adding delays, but I could only successfully capture the file by using a batch command after the TestExecute process stopped.

Thanks

1 Reply

  • rraghvani's avatar
    rraghvani
    Icon for Champion Level 3 rankChampion Level 3

    I'm assuming this is relating to Exporting Test Results? Take note of the following,

    After each test run, TestComplete generates a test log and stores it to the Log subfolder of your project or project suite folder

    The file is generated after it's fully completed.