ContributionsMost RecentMost LikesSolutionsRe: OnLogError Sender Returning Null Value, Updated to X64 for TestComplete and Office 2016 Ok So I may have found the solution. First I uninstalled the latest version of testcomplete and did a complete uninstall of office 2016. I then installed office 16, followed by Access Database 2010 followed by an older version of testcomplete. I then upgraded to the latest version. I also removed the excel code within the onLogError code. This excel code was there so it can write to the excel sheet the problem that occurred during the run. By removing it I won't be able to see why the run failed but I will still see that it failed. I will have to find a new solution for this but this is better than not having my tests work at all when doing a regression run. One last note. I installed only 32 bit version of office and access database. I am also using the 32bit version of TestComplete instead of the 64 bit. Thanks to everyone who replied to this post. I will continue to update if needed with any new findings. I hope this helps anyone running into a similar issue. Re: OnLogError Sender Returning Null Value, Updated to X64 for TestComplete and Office 2016 Yes I used the link to contact them. I even contacted my representative but he is also not contacting me as well. I may have to request a supervisor because this has happened in the past where my support request went unanswered Re: OnLogError Sender Returning Null Value, Updated to X64 for TestComplete and Office 2016 Ok so I kind of figures out what's going on. I think the issue may have to do with Office 2016 or that the OnLogError is not triggering. I am not getting any help from smartbear support as they are not replying to my emails at all(So much for my paid subscription), so it looks like i'm going to have to figure this thing out myself. Thanks to everyone who replied to this thread I will continue to update it as I go. Re: OnLogError Sender Returning Null Value, Updated to X64 for TestComplete and Office 2016 That seems to be the case as I just used the 32 bit version and it's still giving me the same issue. I'll wait for Support to get in touch with me. Thanks for all your help. I'll leave the post open in case someone with a similar issue can comment. Re: OnLogError Sender Returning Null Value, Updated to X64 for TestComplete and Office 2016 Thank you that response actually made me realize that it could be an issue with the 64bit version. Let me try the 32bit and i'll update the post. Re: OnLogError Sender Returning Null Value, Updated to X64 for TestComplete and Office 2016 That code that I use is the same code I'm using in the non Updated Version and it works fine. When I debug the code I see that Sender has values in the other machine that has the 32bit Software while the computer with the 64bit sends null. Im uploading some code from the Excel_library which is on a different script page. function readData(filePath,sheetname,rowNum){ getData(filePath); var sheet = wb.Worksheets(sheetname); var colCount = sheet.usedrange.columns.count; dataArray=[]; for (i=2;i<=colCount;i++) { dataArray.push(sheet.cells(rowNum,i).value); } wb.close(); xl.Application.Quit(); return dataArray; } As for RunSheet that is just a globalVariable at the top. Re: OnLogError Sender Returning Null Value, Updated to X64 for TestComplete and Office 2016 Thanks for the info about accessing the 32bit version. I am already fully invested in the 64 bit version and if I can't find a solution I will uninstall everything and reinstall it with the 32bit version Here is the code that I am using. It works fine with the 32 bit version that I haven't updated but like mentioned in the main post the 64 bit doesn't send the Sender value. function GeneralEvents_OnLogError(Sender, LogParams){ // Log.Message(Sender); if (driver == true){ Log.Message(typeof runSheet); var type = typeof runSheet; if(String(runSheet.cells(loopCounter,2)).search("AD_") == 0) { excel_library.quitExcel(); // eval("excel_library.quitExcel()"); } handlingRecursiveCallPopup(); Re: OnLogError Sender Returning Null Value, Updated to X64 for TestComplete and Office 2016 Thanks marsha, I'll go ahead and contact support. In the meantime if anyone else has a solution please post. :) OnLogError Sender Returning Null Value, Updated to X64 for TestComplete and Office 2016 Hello Community, I recently upgraded to the new TestComplete 12.42 which has x64 bit support. Because TC automatically installs x64 support, I installed Office 2016 with AccessDatabase 2016 both which are x64. Now every time I have an error when the GeneralEvents_OnLogError(Sender, LogParams) is called, it returns a null value. I tried testing it with the 32bit versions in other machines and they return the value with no problems. I tried Installing AccessDatabase for 2016, 2010, 2013 and it's still giving me the same issue. I also changed the calls from Microsoft.ACE.OLEDB.12.0 toMicrosoft.ACE.OLEDB.16,Microsoft.ACE.OLEDB.15,Microsoft.ACE.OLEDB.14, etc. The tests run fine, it's only when I get an error with the OnLogError where I'm having issues. Does anyone know if I have to change something somewhere in the settings, I tried looking and still no luck. I even looked into the GeneralEvents and looked at the OnLogError but still cannot find the issue. Any help is appreciated. Regards SolvedRe: Getting the Index of Object with 4 processes running Nice this works. I agree JScript isn't the best because I am limited to trying to convert Javascript to Jscript when I need to find a sample of something. But the environment was already setup as JScript and changing it now after all the work I've put in will set me back several months.