Usually, people write test case scripts like this:
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject
I GUESS, the “Tools>Test Objects>Show unused Test Objects” scans the scripts and find the calls to
findTestObject(name) method to mark “used Test Objects”.
@mgrandillo, you wrote, your scripts call the constructors
new TestObject(xxx). Then, I GUESS, the tool will not be able to recognise your scripts using the test objects’ constructors.
The combination of “Object Repository” and “findTestObject()” is the basic method of managing TestObjects in Katalon Studio. For some reason, you avoided the basic method and preferred calling the constructor
new TestObjet(xxxx). Then you can not expect much support for managing TestObject instances by tools. I would suggest to you; it would be an idea to rewrite your scripts so that they use that basic “Object Repository” and “findTestObject()” method.