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/lucyking/robotframework-aircvlibrary.svg?branch=master)](https://travis-ci.org/lucyking/robotframework-aircvlibrary) [![PyPI](https://img.shields.io/pypi/dm/robotframework-aircvlibrary.svg?maxAge=2592000)]()
Base on **aircv** and **opencv** library,wrap for **RobotFramework**.
Click target screen area base on OpenCV algorithm.
## 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/ios 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/lucyking/robotframework-aircvlibrary.svg?branch=master)](https://travis-ci.org/lucyking/robotframework-aircvlibrary) [![PyPI](https://img.shields.io/pypi/dm/robotframework-aircvlibrary.svg?maxAge=2592000)]()
Base on **aircv** and **opencv** library,wrap for **RobotFramework**.
Click target screen area base on OpenCV algorithm.
## 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/ios 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.2.dev3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6456ec9cad6ed3bbe473c2486271e0c6c24b5396c482cd44be069167e17b193f |
|
MD5 | bfaca73ee72a1e0a5c814bbac0100f47 |
|
BLAKE2b-256 | 4785ac680a2ead3fbbbeab9b97b6de4be93282778d7e22c4cc8cdede2cd3264b |
Close
Hashes for robotframework_aircvlibrary-1.0.2.dev3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a2ba340bd1211ba1a62e4e36d5b10e80a72adda7d76ae8df0e66fb374acdaa3 |
|
MD5 | 681e087e48af35b72d3319941483c76c |
|
BLAKE2b-256 | 10f6c0c95296d063d9eca5ed294599b58dc2b9bb3a78279daed67b0c7626a532 |