Base on aircv and opencv library,wrap for RobotFramework.
Click target screen area base on OpenCV algorithm.
windows:
pip install http://o8oookdsx.qnssl.com/opencv_python-2.4.12-cp27-none-win32.whl
pip install http://o8oookdsx.qnssl.com/opencv_python-2.4.12-cp27-none-win_amd64.whl
mac:
brew install python pillow opencv
pip install robotframework-aircvlibrary
- 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)
- Add Web support.
- Separate match and click method.
due to diff platform depend on diff driver(appium/selenium2library). - This lib may just return (x,y), call click method by yourself.