ContributionsMost RecentMost LikesSolutionsGetting error about port COM11 Recently a portion of my code which uses port COM11 to simulate a scanning barcode feature has stopped working, giving me an error as follows: System.UnauthorizedAccessException: Access to the port 'COM11' is denied This is the code in question, it has always worked for years before I even got the project and now suddenly it doesn't. I have tried rebooting the machine, changing the com port, trying different ports, all giving the same error as above. Dim SerialPort, Port, BaudRate, Parity, DataBits, StopBits Port = "COM11" BaudRate = 9600 Parity = None DataBits = 8 StopBits = 1 Call Delay(1000) Set SerialPort = dotNet.System_IO_Ports.SerialPort.zctor(Port, BaudRate, Parity, DataBits, StopBits) SerialPort.Open SerialPort.Write PLU & Chr(13) SerialPort.Close Re: Testcomplete Stuck On "Initializing" Screen Splitting up the script into two smaller ones and splitting the references between them seemed to have worked at first but it must have just been some good luck as it didn't take long for the issue to occur, so I am out of ideas. Any help would be appreciated. Testcomplete Stuck On "Initializing" Screen Having an issue where when running a project with a remote pc, it can get stuck on the Initializing screen as shown in the screenshot below. It does not get stuck every time I run the project, I would say its about 50/50 whether it runs or not. If it gets stuck, it will not move past it, I have left it for hours and still no progress. I have at least a hundred other scripts in this project that work fine, it is only this one where it gets stuck, the only difference between this script and any other is it has quite a few references to other scripts ('USEUNIT x), more than any other script I have, which I can verify by splitting the script up but I can't get to that until later, but I would be surprised if that was the issue. SolvedTestcomplete running test on windows 7 machine far slower than it used to via distributed testing I have a series of tests which I split across two machines, 50% run overnight on one machine and the rest on the other. Some of these tests are longer than others but overall it would take maybe 4-5 hours to run through them all. However recently I would start looking at the results in the morning and notice the tests had not finished, even after 8+ hours. On inspection it seems that one of the machines (1 is windows 7 the other is windows 10) is going through the tests slower than it used to, as if there is a 10 second delay or something similar between every action when there isnt. I have tried running the tests which typically run on the win7 machine on the win10 to see if maybe it was an issue with the tests but they run at normal speed on that machine. I checked the sdd/hdd of the win7 machine and rebooted it to see if that helped and it didnt. The tests also are not failing or giving any errors in the results log, they still run and pass as expected, just almost 3 times as slow as it used to be, a once hour and a half test now takes roughly 4 hours!! Any ideas/fixes are greatly appreciated. Edit: Issue has been solved, the tests write to a csv file in a shared network folder but the troublesome machine had been disconnected from the network and every time it would try and write to this file it seemed to slow down more and more, once I connected back to the server it ran at normal speed. Re: Same application on different OS giving different object spy results Ok, I am about to finish for the day so I will let you know tomorrow how I got on. Out of curiosity, is this issue with finding the exact same button on two different OS a fault of TC or the 64 version of the application? Re: Same application on different OS giving different object spy results Yes that seems to be the main issue, if i use the object spy on that button on 32 bit it is recognised as a button and gives me the .clickButton option but that doesnt not appear on 64 bit for the exact same button. I am also curious as to is it possible this issue with TC identifying the same button on two different OS occuring again? There are alot of buttons in this exe and I didnt not get a chance to test every single one yet. I would very much like to avoid having to rewrite my many tests which were made for 32 bit when they should in theory all work on 64 bit. Re: Same application on different OS giving different object spy results Button10 is the Cash button on 32bit and Control is the Cash button on 64bit Re: Same application on different OS giving different object spy results Apologies for not being very clear earlier, I struggle with coding terminology at times. With that being said I am still not entirely sure what exactly I need to rename. Is it the NativeClrObject.Name, is it the Aliases , is it the mapped name item. This is the error I get when I try to rename the button10 Re: Same application on different OS giving different object spy results So these are my two buttons, both from the same exe ,one 32 bit one 64 bit, same button on both pcs. If I try and change the name of the NativeClrObject.Name to something like Cash* it gives me an error and says it cannot find the button10. Re: Same application on different OS giving different object spy results Both screenshots I have seen from you and another use have ObjectType in the name mapping property whereas mine is called NativeClrObject. Searching for ObjectType or ObjectIdentifier or IdStr as has been recommended dont show any results.