A Simplified UI automation package
Project description
Introduction
autoinsight is a UI automation library for window. It is aim to provide simplified workflow to the automation developers to help them create a easy to maintain and robust test scripts.
It is focus on Windows in the recent releases. It will be migrate to Linux in the future.
Contribute to this project
- Donate
- Contribute code
- Documentation
Requirements
-
OS Window
-
Python 3.6+ 32/64 bit
-
Install Google Tesseract 32/64 bit tesseract wiki
-
Install pywin32 pywin32 release
Installation
- Install with pip
$ pip install autoinsight
Quick demo
from autoinsight import Button, WindowOS
def demo():
camera = WindowOS().launchApp("camera")
camera.setCurrent()
Button("take photo").click()
camera.close()
if __name__ == '__main__':
demo()
Configuration
Development
Setup environment
- Setup
$ pip install -r requirements-dev.txt
-
Install Goolge Tesseract ORC
-
run all test
$ nose2
- validate code syntax before commit
$ flake8
Build
- Install all the develop and build dependency
$ python -m pip install --upgrade pip
$ python -m pip install -r requirements.txt
$ python -m build
Test
- Run unit test on local machine before push to the repository
$ nose2
- Create a new test module with add the init.py to a new folder under the ./tests
- Name the test file with test_*.py
- Make sure each test case inherit from the unittest.TestCase
- Test
Document and Help
- Follow syntax of the Sphinx project
Roadmap
-
0.0.1 [Current]
- Init the project
-
1.0.0
-
Basic windows UI automation features
-
Basic image based identification features
-
Keyboard mouse handling etc.
-
In the first version it will be built like a glue to the existing automation libraries like pywinauto, pyautogui etc.
-
Action logging
-
Snapshot
-
Screen recording
-
Support Google Chrome and Microsoft Edge interoperation
-
OS interoperation
-
Driver interoperation
-
Integrate with image identification and computer vision
-
-
2.0.0
- Integrate with machine learning identification
- Integrate other browsers
- Add mobile support
- Integrate with cloud ML APIs
-
3.0.0
- Support NLP script
- Add GUI
-
4.0.0
- Support record and replay
-
5.0.0
- Support game automation
Copyrights
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
Hashes for autoinsight-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4e4a681572f7bfa1eb1c4ac835dc74f0366950628e7efb4c0dfaf749f865159 |
|
MD5 | c3789a15960a774a27a918a65e54d914 |
|
BLAKE2b-256 | b44dd96bf5865557c4bd857ef2ef315ae80988391f87ea4d2b1c7062d2cf823b |