aircv wrapper for RobotFramework
Project description
# robotframework aircvlibrary
[![Documentation Status](https://readthedocs.org/projects/robotframework-aircvlibrary/badge/?version=latest)](http://robotframework-aircvlibrary.readthedocs.io/en/latest/?badge=latest) [![Build Status](https://travis-ci.org/Netease-AutoTest/robotframework-aircvlibrary.svg?branch=master)](https://travis-ci.org/Netease-AutoTest/robotframework-aircvlibrary) [![Latest Version](https://img.shields.io/pypi/v/robotframework-aircvlibrary.svg)](https://pypi.python.org/pypi/robotframework-aircvlibrary)
Base on **aircv** and **opencv** library,wrap for **RobotFramework**.
Click target screen area base on OpenCV algorithm.
## discuss
[![Gitter](https://img.shields.io/gitter/room/Netease-AutoTest/nw.js.svg?maxAge=2592000)](https://gitter.im/Netease-AutoTest?source=orgpage)
## 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_)
- [More tricks](http://robotframework-aircvlibrary.readthedocs.io/en/latest/usage.html)
## Todo
1. Add Web support.
2. Separate _match_ and _click_ method.<br>
due to diff platform depend on diff driver(appium/selenium2library).<br>
3. This lib may just return (_x,y_), call click method by yourself.
[![Documentation Status](https://readthedocs.org/projects/robotframework-aircvlibrary/badge/?version=latest)](http://robotframework-aircvlibrary.readthedocs.io/en/latest/?badge=latest) [![Build Status](https://travis-ci.org/Netease-AutoTest/robotframework-aircvlibrary.svg?branch=master)](https://travis-ci.org/Netease-AutoTest/robotframework-aircvlibrary) [![Latest Version](https://img.shields.io/pypi/v/robotframework-aircvlibrary.svg)](https://pypi.python.org/pypi/robotframework-aircvlibrary)
Base on **aircv** and **opencv** library,wrap for **RobotFramework**.
Click target screen area base on OpenCV algorithm.
## discuss
[![Gitter](https://img.shields.io/gitter/room/Netease-AutoTest/nw.js.svg?maxAge=2592000)](https://gitter.im/Netease-AutoTest?source=orgpage)
## 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_)
- [More tricks](http://robotframework-aircvlibrary.readthedocs.io/en/latest/usage.html)
## Todo
1. Add Web support.
2. Separate _match_ and _click_ method.<br>
due to diff platform depend on diff driver(appium/selenium2library).<br>
3. This lib may just return (_x,y_), call click method by yourself.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for robotframework-aircvlibrary-1.0.3.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c28a689db567678f7b854277ef85cc1cf0d9cab672129a74379aca693eedb2b7 |
|
MD5 | 9dc4cdfc83da5097f84c491b40ad4c29 |
|
BLAKE2b-256 | b95a01ebc372842548e9113b1741ffbbc3fca93fdf26e0f3be2051e7b5e52761 |
Close
Hashes for robotframework_aircvlibrary-1.0.3.dev2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 983c554607fd319b4a80288614df2c5972b70c2990663ee7399c925b259d6b69 |
|
MD5 | e67e8de6a602a86fea6c4bfbefb44412 |
|
BLAKE2b-256 | 42f74c87be71384c029bb929186f02fc0028d2aec000277356bdc74b249eea21 |