Forum Discussion

yabing_yang's avatar
yabing_yang
Occasional Contributor
13 years ago

How can I Auto Export Regression Run Test Result

Hi Friends,



I am new for TC. I want to auto export a test result after regression run. I know we can use Log.SaveResultsAs method to export a result file for individual test run. How about for regression run.



Thanks,

Yabing

6 Replies

  • yabing_yang's avatar
    yabing_yang
    Occasional Contributor
    Hi Margaret,



    Thank you for your reply. I mean I want to run my tests at night and after that it will auto general mhtml/xml result and email to co-worker. I put my tests (200 tests) in 'test items' page, and use "C:\Program Files (x86)\Automated QA\TestComplete 8\Bin\TestComplete.exe" "C:\Users\ybyang\YYB-Work\YabingTestCompleteApp\NxR2SCS_MarketData\NxR2SCS_MarketData.pjs" /run /exit



    Thank you,

    Yabing
  • yabing_yang's avatar
    yabing_yang
    Occasional Contributor
    By the way, these hundred tests are keyword tests.



    Thanks,

    Yabing
  • Hi,


    Use the SaveResultsAs method at the end of the last test - the log will be exported once and contain the whole project execution log.

  • Hi,


    Why do you think that exporting results to xml files does not work? As I can see from the attached files, the results are exported correctly. The MyFinalResults.xml file and the RootLogData.dat files contain the exported results.