ChartApplyTemplate() function not working in Strategy Tester.

 

I have tried the following statement and got error of file not found:   

Print(ChartApplyTemplate(chart_id[i],"test1.tpl")," ", _LastError);

I got the following output:

false   5019

Kindly, let me know what I have missed. Why Strategy Tester s failing to run this command whereas normally it worked in the chart window real time?