Compare logos on pages
We have 40 institutions websites that must display 1 of the 3 approved logos. Additionally, they have 2 pages on their website to place the logo. So what that means is we have to check both known locations for the 1 of the 3 different possible logos and mark them in-compliant only if a logo doesn't display on one of the 2 pages.
To begin with, not sure how to compare the images. We have the 3 logo images on our website. Can 3 separate checkpoints be used to compare and still only log 1 error message if none exist on either page?
Can 3 different IF Objects be utilized in a loop to check for the 3 logos?
Not sure of the best way to proceed.
Is there a way to compare images from 1 website to another or can the images from our website be stored in the keyword test and then compared to the institution websites for 1 o exist?
I am still an intermediate level TestComplete user and I have not been successful in setting up this keyword test.
Any help will be appreciated!
I had a similar problem a few years ago looking for certain icons in a map that could not be spied..
We stored the icons as images in the images store.
Took a bitmap snap shot of the page object/map.
Did an image find within the snaps shot.
If it was found then record certain info about it like top-left, bottom-right coordinates etc. This allowed us to click it and do stuff.
It was slow though..
Cant remember the exact coding but that was the general idea.