Forum Discussion
2 Replies
Sort By
- jusbatOccasional Contributor
I'm not sure if this will help you, maybe you're already doing this, but this is the script I use to create an excel file and save my results.
See this link - http://support.microsoft.com/kb/234774
//Start Excel and get Application object.
var oXL = new ActiveXObject("Excel.Application");
oXL.Visible = true;
//Get a new workbook.
var oWB = oXL.Workbooks.Add();
var oSheet = oWB.ActiveSheet;
//Save values to a cell
oSheet.Cells(1, 1).Value = "Something";
//Save excel file and close
oWB.SaveAs("C:\MyExcel.xlsx");
oXL.Quit(); - TanyaYatskovskaSmartBear Alumni (Retired)
Hi Mansoor,
We have a suggestion to implement the possibility of exporting a TestComplete log to the Excel format in our DB - I've increased its rating based on your request.
At the moment, you can use your approach or export the test result to the XML format and create an Excel file based on it.
Related Content
- 8 months agoEgg
Recent Discussions
- 3 hours agoSubhraDas
- 22 hours agotramuntana