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
```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
```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.2.dev10.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 572c7a7963047f910a9a7271d8d4afc01d6fa160ffc216c1e838223fed19830b |
|
MD5 | f374f10e95acb1720bd2dcc6b90c05c9 |
|
BLAKE2b-256 | 7f8b3343ac35e962a2b352f1d81616d3e15f978cad50d912016e1418a96d56ff |
Close
Hashes for robotframework_aircvlibrary-1.0.2.dev10-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c9fbbf92883d3dba8e4a8fbefa1324332b9fff87e166b3a35e895ad22a85865 |
|
MD5 | 884c079460602bc79824f0849ce03f5f |
|
BLAKE2b-256 | d39ea496a8139f74ef870391a720593353592cc9223e21f84e06739285e2b00a |