This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

The csv file created in TestplanEnter() is triggered by each script in the tesplan

Hi ,

-> I have a TestPlan, as shown below, to execute all testcases (developed in multiple .t files)

[-] PM
[ ] script:PM.t
[ ] testcase:main
[ ] ignore:no
[ ]
[-] // //8. CASEADMIN
[-] CASEADMIN
[ ] script:CASEADMIN.t
[ ] testcase:main
[ ] ignore:no

->I have a TestplanEnter() , as shown below, which creates a csvfile (test cases results of pass/fail are recorded using TestCaseExit) 

string csvResultFile = "{projectHome}\csvResults{getDateAndTime()}.csv"

OutputFileHandle = FileOpen('{csvResultFile}', FM_WRITE, FS_DENY_NONE)

-> My question is, I expected the Silk to create one csv file for the entire execution of TestPlan as it was created in TestPlanEnter(), but 2 csv files got created (one for each script file).

Could someone please help to create one csv file per Tesplan, and all the .t files of the TestPlan uses the same csv file to update the results.