This site is in read only mode. Please continue to browse, but replying, likes, and other actions are disabled for now.
6 / 10
Jun 2018

I need to do image comparison for iOS and Android both. Any way to do it?

  • created

    Jun '18
  • last reply

    Dec '18
  • 9

    replies

  • 786

    views

  • 6

    users

  • 4

    links

This is a pretty generic ask… have you done any research on this? Appium can take screenshots of both Android and IOS, so that should be enough to get you started.

I have done this but write now I am just getting result in string… Images are not same or images are same…need screenshot with difference highlighted In it

5 months later

Hi,
I have issues using appium/appium/blob/master/docs/en/writing-running-appium/image-comparison.md
Were you successful comparing images. Can you please assist me.
The error I see is below:
org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: opencv4nodejs module is required to use OpenCV features. Please install it first (npm i -g opencv4nodejs) and restart Appium. Read https://github.com/justadudewhohacks/opencv4nodejs#how-to-install2 for more details on this topic.