Is there a way to override findTestObject method

OK. Don’t mind. I just wanted to show you an alternative approach.

By the way, I also developed a custom keyword com.kazurayam.ks.CrossBorderObjectRepository
which enables me to lookup TestObects from the “Object Repository” directory in other Katalon Projects.

The following JUnit4 test demonstrate how to use that class

It just works.

Thank you @kazurayam for actively following up with and help @koushik.kannan.


Hi there @koushik.kannan, :wave:

If there are any comment here in this thread that you think may provide the solution to your original question, then don’t forget to mark helpful it as a solution :white_check_mark: so that others who may be asking similar questions / running into similar problems can find the solution as well!

Thanks,
Albert

the ObjectRepository shouldn’t have been implemented as a class, it should be an interface. Its a poor design decision to implement it as a class.