Contributions
TestComplete Can no longer see wItemList and wSelectedItems after Update to V14
TestComplete Can no longer see wItemList and wSelectedItems after Update to V14, breaking many of our tests written in V12. This is in multiple object types (everything I can see where wItemList and wSelectedItems are availible). The test run picked it up but the Object spy gives an error as well. The error message is very general: Error: Error An error occurred. Possible reasons: 1. The application stopped responding. 2. The application was compiled incorrectly (see the Open Applications topic in the help system). 3. An error occurred in TestComplete/TestExecute. Technical information: 537 0x80070057 (The parameter is incorrect.) The objects can still be clicked if the item in indexed, it just can't read the value. The software being tested has not changed since the last test run on V12655Views0likes1CommentJavaScript Runtime Error Exit Code in Test Execute
I have quite a large testing set of tests running overnight during our software cycle, these tests are set up to run one after the other with various exit codes as fail safes. Unfortuantly when we do have bugs in the software build we sometimes getJavaScript Runtime Errors. These stop the entire run of the automated tests and don't get caught by any of the usual TestExecute Exit Codes. They also don't get overwritten when using /timeout:. Hence an early JavaScript Runtime Error and we lose an entire night of testing.Is there a good way to get around this? Many of the newer tests are written to minimize this by checking for objects first, but it would be great to not have to go back through and rewrite many of the older testsSolved1.6KViews0likes1CommentRe: Object Not Found when Process is Closed and Reopened
I've realised and solved the problem, I was saving the objects back over the definitions in my Variables Unit (I started doing this to save the number of variables I needed to define when I first started making tests). Thanks for your help1.6KViews0likes1CommentObject Not Found when Process is Closed and Reopened
Hi, I've been having an issue when my application is closed and reopened in the same test (or test suite). A test will run successfully the first time but if the exact same test is run again the objects cannot be found. The objects have the exact same definition when viewed through the object explorer. The only difference between the instances as far as I can tell is the process Id. I have done several different checks and the original instance is definitely fully closed before the other instance opens. The error is either object not found or JavaScript runtime error RPC Server is undefined. All my variables are defined in a separate unit and evaluated when needed, if I use the same definition but a different name for the variables it works fine. I'm thinking test complete is still storing the original definition somewhere.I've tried using RefreshMappingInfo to redefining the process, this does remove the processes definition but does not solve the issue when it is redefined. I'm still quite new to TestComplete so sorry if this is obvious. Thanks for your help, MattSolved1.6KViews0likes4Comments