Forum Discussion

msalvador's avatar
msalvador
Frequent Contributor
4 years ago

Compare images printed in web page with the same stored in a file

Hi guys,

I have gif images that are printed in my web page, and I want to compare them with the same stored in a Windows folder. Is it possible?

2 Replies

  • Marsha_R's avatar
    Marsha_R
    Champion Level 3

    This should help you out

    https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/checkpoints/compare-pictures.html

     

    Picture1 and Picture2

    If the operation works in comparison mode, these parameters should specify the names of the images to be compared. To specify each of these parameters, you can use the following values:
    • The name of the Regions collection’s item (if the image is stored in this collection of your project).

    • The name of a Window or Onscreen object.

    • An expression that returns the RegionInfo object or a value that holds a reference to this object.

    • An expression that returns the Picture object or the value that holds a reference to this object.

    • The fully-qualified name of the image file on the hard drive.

    • msalvador's avatar
      msalvador
      Frequent Contributor

      Thanks Marsha,

      at the moment, I moved to another topic, and I could try your response.

      When I go back I'll try.

      Thanks so much.