aircv wrapper or 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.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ca3158d8e179e31b1fd952909fd30f8c2b536f187efa8c3b0fadf693a5ac506 |
|
MD5 | caefe75dbf03d698c5c7ea47a7751666 |
|
BLAKE2b-256 | cad688d1b07898a59257995ee0528a298751fdf855f951285eb0496f5bf6815c |
Close
Hashes for robotframework_aircvlibrary-1.0.2.dev1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98e8cffa4bea14fea7f4404b080b385c9b548fb268efe5f2df24157b6f213749 |
|
MD5 | aabce3eb90ba9539f406ce6bdf090fbd |
|
BLAKE2b-256 | 45007e2718eabdaea4d98d54c883911319fadd62d7f2649f38823e4c0f119e79 |