galen
galen copied to clipboard
Image comparison do not work at SpecValidationImage.java:107 when Element height turn out to be 0
Hi @ishubin
I seems to have come across an odd behavior.
I have below spec file
@objects bodyImage xpath //body = Comparing Image with current screen= bodyImage: image file ExpectedImage1\ExpectedImage.png
here the path mentioned for Expected Image is incorrect.
In my local system Windows 10 machine, I get Image not present error which is an expected one
but when I run the same code in Windows 2016 Server VM. It isn't failing. I see below report
Please note that in above code 2.png, 3.png and 4.png is not existent.
I even tried passing the right image path and it is not picking up the image for comparison. I get above report.
Could you please have a look? Let me know what additional details I need to provide.
Thanks PD
Hi @ishubin I think I found a bug. The height of the "bodyImage" turn out to be 0
looks like its an issue with Selenium.
Does any one have resolution? Meanwhile search in WebDriver project.