Ask a Question

Excel file comparison script extension

SOLVED
DavidMcAuley
New Contributor

Excel file comparison script extension

Hi we have installed test complete 14 on a new machine and we looking for the ExcelCompare Script Extension.

Can anyone provide a link to it?

 

We need for the following js code that uses the ExcelCompare Script Extension to compare excel files.

 

//Compare Excel Files
compareExcelFiles : function Main(path1, path2, path3){
xlfile1 = path1;
xlfile2 = path2;
resfile = path3;
var check = objectExcel.ExcelCompare(xlfile1, xlfile2, resfile);
if(aqString.Find(check, "No") != -1){
Log.Message(check);
return true;
}
Log.Error(check);
delay(500);
this.checkExcelProcess();
return false;
},

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
mattb
Staff

Re: Excel file comparison script extension

Hi,

Would the native file compare method suffice here: https://support.smartbear.com/testcomplete/docs/reference/project-objects/items/stores/files/compare... 

If not we could always just import an external library that has the compare methods included. 

View solution in original post

1 REPLY 1
mattb
Staff

Re: Excel file comparison script extension

Hi,

Would the native file compare method suffice here: https://support.smartbear.com/testcomplete/docs/reference/project-objects/items/stores/files/compare... 

If not we could always just import an external library that has the compare methods included. 

View solution in original post

cancel
Showing results for 
Search instead for 
Did you mean: