appium python-client代码分析(一)

https://github.com/appium/python-client/tree/master/appium


先看看代码的结构:

webdriverAdd method for getting current package3 months ago
__init__.pyFix handling of sauce test case so ImportError is suppressed3 years ago
saucetestcase.pyFix saucetestcase to run under Python3.


common目录:

exceptions.py
——主要是一些初始化



webdriver目录:

commonadd class chain3 months ago
connectiontype.pyRemove dependency on enum2 years ago
errorhandler.pyNumerous fixes3 years ago
mobilecommand.pyAdd method for getting current package3 months ago
switch_to.pyNumerous fixes3 years ago
webdriver.pyAdd method for getting current package3 months ago
webelement.pyadd tests for ios class chain and rename methods a bit

——是appium工作最重要的基础,里面包含我们编程需要的所有API,需要我们非常熟悉才能写出完美的测试代码


接下来我会对appium的python-client实现代码进行分析,敬请期待!



版权声明:本文为qq_30975321原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。