Unable to recognize ImageRepository
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unable to recognize ImageRepository
Hello,
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(): ImageRepository.ImageSet2.GenericImage.Click()
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
