Ask a Question

Unable to recognize ImageRepository

New Contributor

Unable to recognize ImageRepository



I'm looking to use the ImageRepository, but it looks like I keep having a runtime error just trying to invoke the thing.  It's probably a very simple problem, but I'm out of ideas.


We're using Python, and I've tried clicking on the image in a singular method.


def test():


Esteemed Contributor

It almost looks like you're trying to use ImageRepository from a project that doesn't have the ImageRepository file attached.  Keep in mind, everything in TestComplete is contained in projects.  So, if you have the ImageRepository in one project but ahve your script unit in a different project, they can't "see" each other.

Robert Martin
[Hall of Fame]
Please consider giving a Kudo if I write good stuff

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Vegas Thrill Rider
Extensions available

So I figured that might be the case, which is unfortunate.  I ripped out the image repository and rebuilt it in the main project.  It at least doesn't error out on me, so progress is progress!


Thank you.

Showing results for 
Search instead for 
Did you mean: