Downloads:

86

Downloads of v 1.2.7.20210207:

22

Last Update:

18 Feb 2021

Package Maintainer(s):

Software Author(s):

  • NetEase Inc

Tags:

airtest-ide airtest ide poco pocoui poco-ui selenium automatisation test python

Airtest IDE (Portable)

  • 1
  • 2
  • 3

1.2.7.20210207 | Updated: 18 Feb 2021

Downloads:

86

Downloads of v 1.2.7.20210207:

22

Maintainer(s):

Software Author(s):

  • NetEase Inc

  • 1
  • 2
  • 3
Airtest IDE (Portable) 1.2.7.20210207

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details

To install Airtest IDE (Portable), run the following command from the command line or from PowerShell:

>

To upgrade Airtest IDE (Portable), run the following command from the command line or from PowerShell:

>

To uninstall Airtest IDE (Portable), run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://community.chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade airtest-ide -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade airtest-ide -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure airtest-ide installed
  win_chocolatey:
    name: airtest-ide
    state: present
    version: 1.2.7.20210207
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'airtest-ide' do
  action    :install
  version  '1.2.7.20210207'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: airtest-ide,
    Version: 1.2.7.20210207,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller airtest-ide
{
   Name     = 'airtest-ide'
   Ensure   = 'Present'
   Version  = '1.2.7.20210207'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'airtest-ide':
  provider => 'chocolatey',
  ensure   => '1.2.7.20210207',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install airtest-ide version="1.2.7.20210207" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator TheCakeIsNaOH on 08 Mar 2021.

Description

Airtest IDE (Portable)

About

  • Airtest - is an Cross-Platform UI Automation Framework for Games and Apps.
  • 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.

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.
  • 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.

Game Test

With image recognition and UI hierarchy, our automation framework support game testing.

  • Supports all game engines and apps
  • Multiplatform
  • Easy to use

Android native apps

In Android native apps testing process, Airtest can play a siginificant role - plug-and-play.

Windows applications

Support for Windows applications, write one code and run the it across the platforms.

iOS Support

With poco, Airtest can access iOS native element and find out their location and attributes, which make iOS testing process easy and convenient.

Selenium Plugin

Base on Chrome Devtools Protocol, record and generate selenium scripts, accurately access web element.

Documentation

You can find the complete Airtest documentation on readthedocs.


tools\chocolateybeforemodify.ps1
################################################################################
# Content paths
################################################################################
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$ErrorActionPreference = 'Stop';
$packageName= 'airtest-ide'
 
$folderName =  Join-Path $toolsDir 'AirtestIDE'

$ProgramsPath = [environment]::GetFolderPath([environment+specialfolder]::Programs)
$DesktopPath = [System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::Desktop)

$testProcessAdminRights = Test-ProcessAdminRights
Write-Host "ProcessAdminRights:" $testProcessAdminRights

################################################################################
# Trying to remove shortcuts
################################################################################
# From Programs menu
try {
    $shortcutFilePathProgramsPath = Join-Path $ProgramsPath 'AirtestIDE.lnk'
    Remove-Item -Path $shortcutFilePathProgramsPath -Force
    Write-Host 'Shortcut AirtestIDE.lnk successfully removed from Start Menu.'
}
catch {
    Write-Host 'Shortcut AirtestIDE.lnk not found in Start Menu. Nothing to remove. Skipping.'
}

# From Desktop
try {
    $shortcutFilePathDesktopPath = Join-Path $DesktopPath 'AirtestIDE.lnk'
    Remove-Item -Path $shortcutFilePathDesktopPath -Force
    Write-Host 'Shortcut AirtestIDE.lnk successfully removed from Desktop.'
}
catch {
    Write-Host 'Shortcut AirtestIDE.lnk not found in Desktop. Nothing to remove. Skipping.'
}

# AirtestIDE folder
try {
    remove-item -path $folderName\* -Force -Recurse -ErrorAction SilentlyContinue
    Write-Host 'AirtestIDE folder successfully cleared.'
}
catch {
    Write-Host 'AirtestIDE folder not cleared. Something went wrong. Skipping.'
}

tools\chocolateyinstall.ps1
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$chocoRootBin = Join-Path $($env:ChocolateyInstall) 'bin'
$ErrorActionPreference = 'Stop';

$packageName= 'airtest-ide'
$folderName =  Join-Path $toolsDir 'AirtestIDE'

$packageArgs = @{
  packageName   = $packageName
  unzipLocation = $folderName
  url           = 'https://airtestproject.s3.netease.com/downloads/AirtestIDE/win32/AirtestIDE-win-1.2.7.zip' # download url, HTTPS preferred
  url64bit      = 'https://airtestproject.s3.netease.com/downloads/AirtestIDE/win64/AirtestIDE-win-1.2.7.zip' # 64bit URL here (HTTPS preferred) or remove - if installer contains both (very rare), use $url
  #file         = $fileLocation
  #fileFullPath = $fileLocation
  #destination   = Join-Path $toolsDir $folderName

  checksum      = '52BFDFE5034930DF7F0099F3D4C786601E49C0C8D4D4F31F5EBEA5AD5A494C78'
  checksumType  = 'sha256' #default is md5, can also be sha1, sha256 or sha512

  checksum64    = '6F42B03BB86E9655F296BF78EA5952BE4E08938944F3A9327B4216174B2436F0'
  checksumType64= 'sha256'
}

$testProcessAdminRights = Test-ProcessAdminRights
Write-Host "ProcessAdminRights:" $testProcessAdminRights

################################################################################
# https://chocolatey.org/docs/helpers-install-chocolatey-zip-package
################################################################################
Install-ChocolateyZipPackage @packageArgs 

################################################################################
# Install  shortcuts
################################################################################
$airtestShimm = Join-Path $chocoRootBin 'AirtestIDE.exe'
Write-Host "airtestShimm: $airtestShimm"

$ProgramsPath = [environment]::GetFolderPath([environment+specialfolder]::Programs)
$DesktopPath = [System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::Desktop)

$shortcutFilePathProgramsPath = Join-Path $ProgramsPath "AirtestIDE.lnk"
$shortcutFilePathDesktopPath = Join-Path $DesktopPath "AirtestIDE.lnk"

Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePathProgramsPath -targetPath $airtestShimm
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePathDesktopPath -targetPath $airtestShimm

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Airtest IDE (Portable) 0.1.3.20180629 7 Thursday, February 18, 2021 Approved
Airtest IDE (Portable) 0.1.2.20180626 5 Thursday, February 18, 2021 Approved
Airtest IDE (Portable) 0.1.1.20180619 7 Thursday, February 18, 2021 Approved
Airtest IDE (Portable) 0.1.0.20180615 7 Thursday, February 18, 2021 Approved
Airtest IDE (Portable) 0.0.18.20180522 38 Wednesday, January 13, 2021 Approved

V1.2.7.20210207

Release Date: 2021-02-07

New Features

  • Fully iterated the iOS module, currently supports the use of Appium/WebDriverAgent to connect to iOS phones, and supports new versions of xcode and iOS versions
  • Support iOS pop-up window click, some new interfaces have been added, please check the documentation for interface updates: Airtest#1.1.8
  • If you want to connect to an iOS phone in a local python environment, please use pip install -U airtest and pip install -U pocoui to update the local version
    • Please be careful not to use Python2, the new version is for all changes in iOS and only supports Python3 users
  • Comprehensively improve the stability of iOS connection, it is not easy to disconnect or terminate abnormally when operating and running scripts
  • Fixed the problem that when connecting to iPad in AirtestIDE, if it is not in a vertical screen, there may be a wrong click position and wrong Poco control box selection
  • Fixed the issue that iOS-Poco may not find the node when some devices are not in portrait mode
  • If you see this, welcome to click star for us on github :) Airtest and Poco

Bug Fixes

  • Fixed some problems of the device connection module, we apologize for the inconvenience caused by the previous versions

This package has no dependencies.

Discussion for the Airtest IDE (Portable) Package

Ground Rules:

  • This discussion is only about Airtest IDE (Portable) and the Airtest IDE (Portable) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Airtest IDE (Portable), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus