kandi background

Airtest | UI Automation Framework for Games and Apps | Automation library

Download this library from

kandi X-RAY | Airtest Summary

Airtest is a HTML library typically used in Telecommunications, Media, Media, Entertainment, Automation, Selenium applications. Airtest has a Permissive License and it has medium support. However Airtest has 25 bugs and it has 4 vulnerabilities. You can download it from GitHub.
UI Automation Framework for Games and Apps

kandi-support Support

  • Airtest has a medium active ecosystem.
  • It has 6009 star(s) with 968 fork(s). There are 213 watchers for this library.
  • There were 1 major release(s) in the last 6 months.
  • There are 291 open issues and 627 have been closed. On average issues are closed in 87 days. There are 6 open pull requests and 0 closed requests.
  • It has a neutral sentiment in the developer community.
  • The latest version of Airtest is v1.2.4

quality kandi Quality

  • Airtest has 25 bugs (9 blocker, 0 critical, 4 major, 12 minor) and 249 code smells.

securitySecurity

  • Airtest has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • Airtest code analysis shows 4 unresolved vulnerabilities (4 blocker, 0 critical, 0 major, 0 minor).
  • There are 11 security hotspots that need review.

license License

  • Airtest is licensed under the Apache-2.0 License. This license is Permissive.
  • Permissive licenses have the least restrictions, and you can use them in most projects.

buildReuse

  • Airtest releases are available to install and integrate.
  • Installation instructions, examples and code snippets are available.
  • Airtest saves you 4503 person hours of effort in developing the same functionality from scratch.
  • It has 9525 lines of code, 1023 functions and 111 files.
  • It has medium code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA

kandi has reviewed Airtest and discovered the below as its top functions. This is intended to give you an instant insight into Airtest implemented functionality, and help decide if they suit your requirements.

  • Calls the call .
  • Plots memory key points .
  • Plots all images in the histogram .
  • Translate a Poco step .
  • Generate log .
  • Get the key points for the specified method name .
  • profile matching methods
  • Plots the compare table
  • Takes a screenshot .
  • Plots compare curves

Airtest Key Features

Write Once, Run Anywhere: Airtest provides cross-platform APIs, including app installation, simulated input, assertion and so forth. Airtest uses image recognition technology to locate UI elements so that you can automate games and apps without injecting any code.

Fully Scalable: Airtest cases can be easily run on large device farms, using commandline or python API. HTML reports with detailed info and screen recording allow you to quickly locate failure points. NetEase builds Airlab on top of the Airtest Project.

AirtestIDE: AirtestIDE is an out of the box GUI tool that helps to create and run cases in a user-friendly way. AirtestIDE supports a complete automation workflow: create -> run -> report.

Poco: Poco adds the ability to directly access object(UI widget) hierarchy across the major platforms and game engines. It allows writing instructions in Python, to achieve more advanced automation.

Airtest Examples and Code Snippets

  • Installation
  • Examples
  • Running

Installation

pip install -U airtest

Community Discussions

Trending Discussions on Airtest
  • How to access external files in a custom library with virtual environment?
  • Joining tables with ` `
Trending Discussions on Airtest

QUESTION

How to access external files in a custom library with virtual environment?

Asked 2020-Dec-21 at 05:56

I finished installing the custom library in the virtual environment with setup.py, I got an error,How to access external tools: '/Users/xmly/PycharmProjects/aiautotest/airtest/core/android/static/adb/mac/adb'

File "/Users/xmly/venv/aiautotest/lib/python3.7/site-packages/aiautotest-1.0-py3.7.egg/airtest/core/android/adb.py", line 189, in cmd
    proc = self.start_cmd(cmds, device)
  File "/Users/xmly/venv/aiautotest/lib/python3.7/site-packages/aiautotest-1.0-py3.7.egg/airtest/core/android/adb.py", line 168, in start_cmd
    stderr=subprocess.PIPE
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 775, in __init__
    restore_signals, start_new_session)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 1522, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
PermissionError: [Errno 13] Permission denied: '/Users/xmly/PycharmProjects/aiautotest/airtest/core/android/static/adb/mac'

this is my setup.py:

from setuptools import find_packages, setup
setup(
    name='aiautotest',
    version='1.0',
    packages=find_packages(),
    package_data={
        'aiautotest': ["config/*"],
        'airtest': ["report/*", "core/android/static/*"]
    },
    entry_points="""
    [console_scripts]
    aiautotest = aiautotest.__main__:main
    """,
)

Packaging and installation are successful

python setup.py bdist_egg
python setup.py install

Is there a way to access external files?

ANSWER

Answered 2020-Dec-21 at 05:56

’./mac' is a folder, not a file, which causes such an error.

Source https://stackoverflow.com/questions/65371052

Community Discussions, Code Snippets contain sources that include Stack Exchange Network

Vulnerabilities

No vulnerabilities reported

Install Airtest

Use pip to install the Airtest python library. On MacOS/Linux platform, you need to grant adb execute permission. Download AirtestIDE from our homepage if you need to use the GUI tool.

Support

You can find the complete Airtest documentation on readthedocs.

Build your Application

Share this kandi XRay Report