Forum Discussion
iraklymenko
11 years agoNew Contributor
Hi Alex, actually I don't use any ExcelCompare.tcx script extension, I just use standart object in TestComplete Sys.OleObject("Excel.Application"):
so I do the next:
var app = Sys.OleObject("Excel.Application");
book = app.Workbooks.Open(fileName);
sheet = book.Sheets(sheetName);
.....
book.Save();
book.Close();
app.Quit();
but after "app.Quit();" EXCEL.EXE is still in process. And after I run a lot of tests in one time it is crashed.
so I do the next:
var app = Sys.OleObject("Excel.Application");
book = app.Workbooks.Open(fileName);
sheet = book.Sheets(sheetName);
.....
book.Save();
book.Close();
app.Quit();
but after "app.Quit();" EXCEL.EXE is still in process. And after I run a lot of tests in one time it is crashed.