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)
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/Netease-AutoTest/robotframework-aircvlibrary.svg?branch=master)](https://travis-ci.org/Netease-AutoTest/robotframework-aircvlibrary)
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.dev4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d8c1e445f70ad769baba1c6b8328997a8db7be929e43af2249b20b94da755f4 |
|
MD5 | 54856a07ea4a052ae8b8521dc20cd464 |
|
BLAKE2b-256 | 81b1dcbd74867d26f29d5c3ff38bcad5fc3966464a5a6dd1f9246ea777e537a3 |
Close
Hashes for robotframework_aircvlibrary-1.0.2.dev4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9e6b02aa5d124192085261d012ef8011e4a58d3744d72eeee3d7ec3494b3c9a |
|
MD5 | ecc9b26fd04a4aeae9d8008142c5e946 |
|
BLAKE2b-256 | 1f44e34cc44d06865421893f30228e1703b0e0304fa42b4e07187f819073f7d4 |