robotframework-imagehorizonlibrary
robotframework-imagehorizonlibrary copied to clipboard
Ability to have multiple versions of an reference image
It would be handy if IHL could automatically check screenshot against multiple versions of same reference image. One idea could be to have the reference image name to be either a .png file or a folder -- in latter case, all images from under that folder could be tried.
For example, given:
reference_images/
├── button_cancel.png
├── button_save.png
├── popup_notification/
│ ├── linux.png
│ ├── osx.png
│ └── windows.png
└── window_title_main.png
If one would do:
Wait for popup notification
then IHL would try each picture from that folder.
Main motivation is that right now, you would need to do this handling inside Robot Framework or force you to make a library yourself.
:+1:
Do notice, that the spec is meant to be working on all recognize-related keyword.
In other words, given the example above, also these should work:
Wait for popup notification
Locate popup notification
Click Image popup notification
and so on
Fixed in 604f7202bcb76f3105302afda68463d7c580b0ca
Not yet documented
What documentation still missing?
From reading the documentation is seems this has been implemented and documented already? is something missing? or should this issue be closed?