RobotFramework + UiAutomator多设备协作自动化实现

安装环境

使用环境ubuntu14.04

请参考:https://github.com/huaping/StabilityKPI

安装基础库:
sudo apt-get install python-pip mplayer2 libudev-dev
sudo pip install robotframework
sudo pip install uiautomator

安装RobotFramework IDE

sudo apt-get install python-wxgtk2.8
sudo pip install robotframework-ride

具体架构:

RobotFramework + UiAutomator多设备协作自动化实现_第1张图片


编写测试用例要点:

熟悉 uiautomator python wrapper, 使用Common UI Lib编写你自己的关键字(在UI Driver中), 这些关键字会被RobotFramework使用。

怎么写uiautomator的UI操作,将会在其他章节中详细谈到。

你可能感兴趣的:(自动化测试工具,Android)