UI自动化框架,集成APPIUM、selenium
Project description
UI Automation Framework
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
```
-
Window Environment configuration
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.
-
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
-
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
-
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环境
-
Window Environment configuration
待更新
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 UI-Automation-Framework-0.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38248f58f03c6cc765dd2163b55508e8b5c114889f52c389d9f89a6fe13a7c06 |
|
MD5 | 81430f478db6341c33647a9b598f2381 |
|
BLAKE2b-256 | 4dd72e321d449d1533124aa1c8a64d74530b1d97650bfe8f4d2f9d3c5bcefeca |
Hashes for UI_Automation_Framework-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf9657c658560dedf98357d6a236263efa8fd4f888afa3770067e14661c242c6 |
|
MD5 | b44b5da41803b56ef442f7228bf6b159 |
|
BLAKE2b-256 | 4792d06d2f60edaed309a7547c7121024b193d327bf55d1a670bdc7bf2633833 |