top of page

Install library for compare image on Robotframework

install selenium2screenshots library ใช้สำหรับ Crop Image เพราะจะ Compare Image by Element

install ผ่าน command line ด้วยคำสั่ง

pip install robotframework-selenium2screenshots

Install image magic on windows https://imagemagick.org/script/download.php

Install image magic on Mac

open terminal -> brew update open terminal -> brew install imagemagick

Set the MAGICK_HOME environment variable to the path

Open .bash_profile

export MAGICK_HOME="/usr/local/Cellar/imagemagick/7.0.8-14" path ตามที่ install ไป

export PATH="$MAGICK_HOME/bin:$PATH"

Recent Posts
Archive
Search By Tags
Follow Us
  • Facebook Basic Square
  • Twitter Basic Square
  • Google+ Basic Square
bottom of page