![]() Note: Discrepancy can be slow to use and can result in false positive matches. The percentage of pixels (with a percent sign) or number of pixels (with no percent sign) by which the image and a match in the Viewer window can differ. This tolerance value works just like the Tolerant search tolerance, but by default is set to a much lower value, and so requires a very small variation in pixel color to be considered a match.ĭefault value: 1 or as set by the Precise Image Tolerance in the Eggplant Functional Run Preferences.ĭiscrepancy: Lets you adjust the percent or number of pixels that can be ignored when finding a match to the image. The way Adaptive to Image search uses tolerance has a similar effect to the Tolerant of Background image search tolerance, but is functionally different, as this search type not only analyzes individual pixels, but the similarity of an image match overall.ĭefault value: 30 or as set by the Adaptive Image Tolerance in the Eggplant Functional Run Preferences. When used with the Tolerant search type, the tolerance value represents the maximum difference between an original pixel’s RGB value and the RGB value of a presumed match on the SUT screen.ĭefault value: 45, or as set by the Standard Image Tolerance in the Eggplant Functional Run Preferences. The exact meaning of Tolerance depends on the search type selected: Smooth and Pulsing: Allows for both changing pixel colors and text anti-aliasing, such as on older Mac platforms where pulsing blue buttons with text can be seen.One application for this is on older Mac platforms where blue pulsing buttons are used. Pulsing to Element: Allows for pixel colors that can change.This setting is useful for low-contrast images or images with subtle color differences. ![]() Precise to Pixel: Requires a very high degree of precision to consider an image matched with the SUT display.This setting can be changed in the Eggplant Functional General Preferences under Other Options. ![]() These search types are not visible by default. If Eggplant Functional sometimes fails to locate an image that contains text, try changing the search type to Smooth. Smoothed for Text: Allows for dynamic font smoothing (text anti-aliasing) in images that contain text. Tolerant searches are more forgiving than precise searches, so they reduce the chance of a script failing because of a minor variation in rendering.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |