Skip to main content

UI Automation Framework

PyPI version Downloads

In order to uniformly use the webdriver of one startup class, an extension library encapsulates a class in two libraries, namely selenium and appium-python-client. After configuring the corresponding parameters, webdriver can be started Selenium 3.0 draft Mobile JSON Wire Protocol Specification draft Appium. selenium

#version history

```shell
version 0.1.1
新增装饰器check_error

version 0.1.2
优化appium 启动Android相关代码

version 0.1.4
新增appium 启动iOS配置相关代码
提供获取设备udid _apis

v0.1.5
优化代码结构,支持iOS自动化测试

v0.1.6
更新README.md文档
```

Getting the UI Automation Framework

There are three ways to install and use the UI Automation Framework.

  1. Install from PyPi, as 'UI-Automation-Framework'.

    pip install Appium-Python-Client
    pip install selenium
    pip install UIAutomationFramework
    

    You can see the history from here

  2. Install from source, via PyPi. From 'UI-Automation-Framework', download and unarchive the source tarball (UI-Automation-Framework-X.X.tar.gz).

    tar -xvf UI-Automation-Framework-X.X.tar.gz
    cd UI-Automation-Framework-X.X
    python setup.py install
    
  3. mac Environment configuration

    第一步:配置 .bash_profile文件
    vim ~/.bash_profile
    JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home
    CLASSPAHT=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
    ANDROID_HOME=/Users/zhenghong/Library/Android/sdk
    export PATH=${PATH}:${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/emulator:${ANDROID_HOME}/tools:${ANDROID_HOME}/build-tools/29.0.3
    PATH=${JAVA_HOME}/bin:$PATH:
    export JAVA_HOME
    export CLASSPATH
    export PATH
    source ~/.bash_profile
    
    第二步:
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
    brew install node
    npm install -g  appium
    npm install -g  appium-doctor
    brew install libimobiledevice --HEAD
    brew install carthage
    npm install -g ios-deploy
    gem install xcpretty
    
    第三步:
    appium-doctor --ios 查询iOS环境
    appium-doctor --Android 查询Android环境
    
  4. Window Environment configuration

    待更新
    

Release files for UI-Automation-Framework 0.1.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for UI-Automation-Framework 0.1.6.1
File Size Uploaded
UI-Automation-Framework-0.1.6.1.tar.gz 8.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for UI-Automation-Framework 0.1.6.1
File Interpreter ABI Platform
UI_Automation_Framework-0.1.6.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.2 kB

Release files / UI-Automation-Framework-0.1.6.1.tar.gz

Download URL UI-Automation-Framework-0.1.6.1.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7f7d451b114209b5c4a271cb7ca7774b7f9ccaf35836e57a044147aa5229a370
BLAKE2b-256 checksum
How to use checksums
9d37e99e30524c9cb4c75be33e3daa7c9970b695bec87d1581ceb392f12d8d37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0

Release files / UI_Automation_Framework-0.1.6.1-py3-none-any.whl

Download URL UI_Automation_Framework-0.1.6.1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cfd40722fdafc9500d96c4e89e86a74af1a1530be33670ddb9645fc6710d59e
BLAKE2b-256 checksum
How to use checksums
ae10b90c0dca056bcfa54c28d0b7c9b4bf299c0b149d5b6f63962576dc39dd1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.0

Release history Release notifications | RSS feed

This release

0.1.6.1 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page