Forum Discussion

StevenN's avatar
StevenN
Contributor
6 years ago
Solved

Error: Object not a collection

When using the FindAll method I am getting the runtime error - Object not a collection. This only occurs on certain Windows 10 machines and only when using specific scripting languages.

 

 

Out of the four machines I've tried it on, two will get the error when using C++Script, C#Script, JScript or VBScript. If using Python or JavaScript it will work. On the other two machines FindAll works correctly for all languages.

 

This is done using a new project and using the FindAll example from the help file. Does anyone have an idea what could be causing this?

 

All PC's are running:
TestComplete 12.1
Windows 10 Pro, Version 1903, Build 18362.592