Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 1.7 KB

README.md

File metadata and controls

41 lines (29 loc) · 1.7 KB

robotframework aircvlibrary

Documentation Status Build Status Latest Version
Base on aircv and opencv library,wrap for RobotFramework.
Click target screen area base on OpenCV algorithm.

discuss

Gitter

install opencv

windows:

#For Win32

pip install http://o8oookdsx.qnssl.com/opencv_python-2.4.12-cp27-none-win32.whl

#For AMD64

pip install http://o8oookdsx.qnssl.com/opencv_python-2.4.12-cp27-none-win_amd64.whl

mac:

brew install python pillow opencv

install

pip install robotframework-aircvlibrary

keywords

  • mobile_click_image(target, index=1)

ckick target area which match phone screen.

  • mobile_click_in(parent_image, sub_image)

click sub_area in special parent_area.

  • mobile_get_images_location(target, index=1)

return the target img coordinate (x, y)

Todo

  1. Add Web support.
  2. Separate match and click method.
    due to diff platform depend on diff driver(appium/selenium2library).
  3. This lib may just return (x,y), call click method by yourself.