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)
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)
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.dev2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef8d84cdcd9f10306c961722f6d0fed75608c708f3422546637c8c7a5a21248b |
|
MD5 | a21011fa86be033127b22a4f2789ff41 |
|
BLAKE2b-256 | f461ed292407379ef5ef50bd266d451682e4581b98122a4890517e6567a1e591 |
Close
Hashes for robotframework_aircvlibrary-1.0.2.dev2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fedb28fe8811bb769d25f0a2bb2a888c393cd924516b7a6e0ae616116d5934e9 |
|
MD5 | a2dd01be5357fd631341dc49e5187fa6 |
|
BLAKE2b-256 | 3fed203bd048cee9a9a5a27f6fbc20e29b28e0f2590b6196187e446b44f5630e |