It uses a given application card and a given Ui element in order to check if its colors match the expected image's colors and it returns the match result as a Boolean.
How to use ImageColorMatching Activity
ApplicationPath: String containing the application path for web or desktop.
ApplicationSelector: String containing the application selector for web or desktop.
ExpectedImageFilePath: String containing the expected result image path that needs to match (make sure that the image has exactly the same format/dimension as the one of the Ui element’s - you can use take screenshot activity of the expected result).
UIElement: UiElement containing the element that will be compared with the image to match.
MatchResult: Boolean containing the match result between images.
For Web and Desktop applications: give ApplicationSelector and ApplicationPath as input.
The Match output will be the result of the matching between the UiElement's image and the expected image of the ResultFilePath input.
ImageColorMatching has one main component at the moment: a module designed to help with the matching between 2 images.