How to Compare Screenshots


How to compare a screenshot with another.

Example: I have a dashboard in azure which displays the CPU and Availability Tests of some servers. I need to capture the screenshots and add into a word scope. I have done this. But the issue begins that sometimes bot captures wrong screenshots and prepared the report. I want to check the screenshots with the actual one. All screenshots have some common strings. How to compare those screenshots. [Particular string matches then proceed otherwise shoot a mail or break the workflow].


use OCR SCRAPE for your screenshots. And check the output string contains your key words.
Then fine else throw error.